Class MemoryResolver

    • Constructor Detail

      • MemoryResolver

        public MemoryResolver​(String id)
        Constructor.
        Parameters:
        id - ID
    • Method Detail

      • resolve

        public ISchemaResolver resolve​(String loc,
                                       String tns)
                                throws IOException
        Description copied from interface: ISchemaResolver
        Resolve a schema reference, which may be relative to this schema location. If a schema location is provided in the call that location should be used to identify the schema; the target namespace should only be used when the schema location is implicit.
        Specified by:
        resolve in interface ISchemaResolver
        Parameters:
        loc - target URL (null if none supplied)
        tns - target namespace URI (null if none supplied)
        Returns:
        resolver for target
        Throws:
        IOException - on resolve error