Package org.xmlresolver.adapters
Class XmlStreamAdapter
- java.lang.Object
-
- org.xmlresolver.adapters.XmlStreamAdapter
-
- All Implemented Interfaces:
javax.xml.stream.XMLResolver
public class XmlStreamAdapter extends java.lang.Object implements javax.xml.stream.XMLResolver
This class implements theXMLResolver
API.It's a separate class in order to avoid a compile-time dependency on the StAX API for users of
XMLResolver
who don't use it.
-
-
Constructor Summary
Constructors Constructor Description XmlStreamAdapter(XMLResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
resolveEntity(java.lang.String publicID, java.lang.String systemID, java.lang.String baseURI, java.lang.String namespace)
-
-
-
Constructor Detail
-
XmlStreamAdapter
public XmlStreamAdapter(XMLResolver resolver)
-
-
Method Detail
-
resolveEntity
public java.lang.Object resolveEntity(java.lang.String publicID, java.lang.String systemID, java.lang.String baseURI, java.lang.String namespace) throws javax.xml.stream.XMLStreamException
- Specified by:
resolveEntity
in interfacejavax.xml.stream.XMLResolver
- Throws:
javax.xml.stream.XMLStreamException
-
-