Class FXSSchemaResourceResolver

  • All Implemented Interfaces:
    org.w3c.dom.ls.LSResourceResolver

    public class FXSSchemaResourceResolver
    extends java.lang.Object
    implements org.w3c.dom.ls.LSResourceResolver
    LSResourceResolver Implementation für die Benutzung von FXSSchemaValidator. Benutzte Resourcen werden in einer internen Map gehalten.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.ls.LSInput resolveResource​(java.lang.String publicId, java.lang.String systemId, java.lang.String baseURI)
      Ruft resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)) mit type und namespaceURI sind null gesetzt.
      org.w3c.dom.ls.LSInput resolveResource​(java.lang.String type, java.lang.String namespaceURI, java.lang.String publicId, java.lang.String systemId, java.lang.String baseURI)
      Sucht die angegebene Resource anhand der lokal verfügbaren Resourcen.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FXSSchemaResourceResolver

        public FXSSchemaResourceResolver​(java.util.List<FXSSCHEMATYPE> fxsSchemaList)
        Default Konstruktor.
        Parameters:
        fxsSchemaList - Liste der Schemas
    • Method Detail

      • resolveResource

        public final org.w3c.dom.ls.LSInput resolveResource​(java.lang.String publicId,
                                                            java.lang.String systemId,
                                                            java.lang.String baseURI)
        Ruft resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)) mit type und namespaceURI sind null gesetzt.
        Parameters:
        publicId - PUBLIC id
        systemId - SYSTEM id
        baseURI - baseURI
        Returns:
        ressource
      • resolveResource

        public final org.w3c.dom.ls.LSInput resolveResource​(java.lang.String type,
                                                            java.lang.String namespaceURI,
                                                            java.lang.String publicId,
                                                            java.lang.String systemId,
                                                            java.lang.String baseURI)
        Sucht die angegebene Resource anhand der lokal verfügbaren Resourcen.
        Specified by:
        resolveResource in interface org.w3c.dom.ls.LSResourceResolver
        Parameters:
        type - - The type of the resource being resolved. For XML [XML 1.0] resources (i.e. entities), applications must use the value "http://www.w3.org/TR/REC-xml". For XML Schema [XML Schema Part 1] , applications must use the value "http://www.w3.org/2001/XMLSchema".
        namespaceURI - - The namespace of the resource being resolved, e.g. the target namespace of the XML Schema [XML Schema Part 1] when resolving XML Schema resources.
        publicId - - The public identifier of the external entity being referenced, or null if no public identifier was supplied or if the resource is not an entity.
        systemId - - The system identifier, a URI reference [IETF RFC 2396], of the external resource being referenced, or null if no system identifier was supplied.
        baseURI - - The absolute base URI of the resource being parsed, or null if there is no base URI.
        Returns:
        A ByteStream connected to the resource