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 InputSource
resolveEntity(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:
resolveEntity
in interfaceEntityResolver
- 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.
-