Class GraphMLEntityResolver
java.lang.Object
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
Constructors Constructor Description GraphMLEntityResolver()Constructs a newGraphMLEntityResolver. -
Method Summary
Modifier and Type Method Description InputSourceresolveEntity(String publicId, String systemId)Redirects the external system identifiers pointing to graphML schema locations to the locally cached schemas.
-
Constructor Details
-
GraphMLEntityResolver
public GraphMLEntityResolver()Constructs a newGraphMLEntityResolver.
-
-
Method Details
-
resolveEntity
Redirects the external system identifiers pointing to graphML schema locations to the locally cached schemas.- Specified by:
resolveEntityin interfaceEntityResolver- Parameters:
publicId- the public identifier of the external entity being referenced,nullif none was supplied.systemId- the system identifier of the external entity being referenced.- Returns:
- the
InputSourceobject describing the alternative input source,nullto fall back to the default behavior.
-