org.graffiti.plugins.ios.importers.graphml.parser
Class GraphMLEntityResolver

java.lang.Object
  extended by org.graffiti.plugins.ios.importers.graphml.parser.GraphMLEntityResolver
All Implemented Interfaces:
EntityResolver

public class GraphMLEntityResolver
extends Object
implements EntityResolver

Class GraphMLEntityResolver implements the EntityResolver interface to resolve external entities. In particular, the XML schemas of graphML referred to in the schema location of a graphML file shall be resolved using the locally cached version.

Author:
ruediger

Constructor Summary
GraphMLEntityResolver()
          Constructs a new GraphMLEntityResolver.
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
          Redirects the external system identifiers pointing to graphML schema locations to the locally cached schemas.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphMLEntityResolver

public GraphMLEntityResolver()
Constructs a new GraphMLEntityResolver.

Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
Redirects the external system identifiers pointing to graphML schema locations to the locally cached schemas.

Specified by:
resolveEntity in interface EntityResolver
Parameters:
publicId - the public identifier of the external entity being referenced, null if none was supplied.
systemId - the system identifier of the external entity being referenced.
Returns:
the InputSource object describing the alternative input source, null to fall back to the default behavior.


Generated at 2012-05-30 11:01:25 PM CEST