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 Details

    • GraphMLEntityResolver

      public GraphMLEntityResolver()
      Constructs a new GraphMLEntityResolver.
  • Method Details

    • 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.