public class SchemaResolver extends ArrayList<Element> implements EntityResolver, org.apache.ws.commons.schema.resolver.URIResolver, LSResourceResolver
Modifier and Type | Field and Description |
---|---|
String |
baseUri |
modCount
Constructor and Description |
---|
SchemaResolver(String baseUri) |
Modifier and Type | Method and Description |
---|---|
InputSource |
getInputSource(Element element) |
InputSource |
resolveEntity(String publicId,
String systemId) |
InputSource |
resolveEntity(String targetNamespace,
String schemaLocation,
String baseUri) |
LSInput |
resolveResource(String type,
String namespaceURI,
String publicId,
String systemId,
String baseURI) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public final String baseUri
public SchemaResolver(String baseUri)
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity
in interface EntityResolver
SAXException
IOException
public InputSource resolveEntity(String targetNamespace, String schemaLocation, String baseUri)
resolveEntity
in interface org.apache.ws.commons.schema.resolver.URIResolver
public InputSource getInputSource(Element element) throws IOException
IOException
public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)
resolveResource
in interface LSResourceResolver
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.