Uses of Class
org.xml.sax.InputSource
Package
Description
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides the classes for implementing
XML Catalogs OASIS Standard V1.1, 7 October 2005.
Provides the classes for processing XML documents with a SAX (Simple API for XML)
parser or a DOM (Document Object Model) Document builder.
Provides SAX specific transformation classes.
Provides an object-model neutral API for the
evaluation of XPath expressions and access to the evaluation
environment.
Provides the interfaces for the Simple API for XML (SAX).
Provides interfaces to SAX2 facilities that
conformant SAX drivers won't necessarily support.
Provides helper classes, including
support for bootstrapping SAX-based applications.
-
Uses of InputSource in java.beans
ModifierConstructorDescriptionCreates a new decoder to parse XML archives created by theXMLEncoder
class. -
Uses of InputSource in javax.xml.catalog
Modifier and TypeMethodDescriptionCatalogResolver.resolveEntity
(String publicId, String systemId) ImplementsEntityResolver
. -
Uses of InputSource in javax.xml.parsers
Modifier and TypeMethodDescriptionabstract Document
DocumentBuilder.parse
(InputSource is) Parse the content of the given input source as an XML document and return a new DOMDocument
object.void
SAXParser.parse
(InputSource is, HandlerBase hb) Parse the content givenInputSource
as XML using the specifiedHandlerBase
.void
SAXParser.parse
(InputSource is, DefaultHandler dh) Parse the content givenInputSource
as XML using the specifiedDefaultHandler
. -
Uses of InputSource in javax.xml.transform.sax
Modifier and TypeMethodDescriptionSAXSource.getInputSource()
Get the SAX InputSource to be used for the Source.static InputSource
SAXSource.sourceToInputSource
(Source source) Attempt to obtain a SAX InputSource object from a Source object.Modifier and TypeMethodDescriptionvoid
SAXSource.setInputSource
(InputSource inputSource) Set the SAX InputSource to be used for the Source.ModifierConstructorDescriptionSAXSource
(InputSource inputSource) Create aSAXSource
, using a SAXInputSource
.SAXSource
(XMLReader reader, InputSource inputSource) Create aSAXSource
, using anXMLReader
and a SAX InputSource. -
Uses of InputSource in javax.xml.xpath
Modifier and TypeMethodDescriptionXPath.evaluate
(String expression, InputSource source) Evaluate an XPath expression in the context of the specifiedInputSource
and return the result as aString
.XPath.evaluate
(String expression, InputSource source, QName returnType) Evaluate an XPath expression in the context of the specifiedInputSource
and return the result as the specified type.XPathExpression.evaluate
(InputSource source) Evaluate the compiled XPath expression in the context of the specifiedInputSource
and return the result as aString
.XPathExpression.evaluate
(InputSource source, QName returnType) Evaluate the compiled XPath expression in the context of the specifiedInputSource
and return the result as the specified type.default XPathEvaluationResult
<?> XPath.evaluateExpression
(String expression, InputSource source) Evaluate an XPath expression in the specified context.default <T> T
XPath.evaluateExpression
(String expression, InputSource source, Class<T> type) Evaluate an XPath expression in the context of the specifiedsource
and return the result as specified.default XPathEvaluationResult
<?> XPathExpression.evaluateExpression
(InputSource source) Evaluate the compiled XPath expression in the specified context.default <T> T
XPathExpression.evaluateExpression
(InputSource source, Class<T> type) Evaluate the compiled XPath expression in the specified context, and return the result with the type specified through theclass type
-
Uses of InputSource in org.xml.sax
Modifier and TypeMethodDescriptionEntityResolver.resolveEntity
(String publicId, String systemId) Allow the application to resolve external entities.HandlerBase.resolveEntity
(String publicId, String systemId) Deprecated.Resolve an external entity.Modifier and TypeMethodDescriptionvoid
Parser.parse
(InputSource source) Deprecated.Parse an XML document.void
XMLReader.parse
(InputSource input) Parse an XML document. -
Uses of InputSource in org.xml.sax.ext
Modifier and TypeMethodDescriptionDefaultHandler2.getExternalSubset
(String name, String baseURI) Tells the parser that if no external subset has been declared in the document text, none should be used.EntityResolver2.getExternalSubset
(String name, String baseURI) Allows applications to provide an external subset for documents that don't explicitly define one.DefaultHandler2.resolveEntity
(String publicId, String systemId) InvokesEntityResolver2.resolveEntity()
with null entity name and base URI.DefaultHandler2.resolveEntity
(String name, String publicId, String baseURI, String systemId) Tells the parser to resolve the systemId against the baseURI and read the entity text from that resulting absolute URI.EntityResolver2.resolveEntity
(String name, String publicId, String baseURI, String systemId) Allows applications to map references to external entities into input sources, or tell the parser it should use conventional URI resolution. -
Uses of InputSource in org.xml.sax.helpers
Modifier and TypeMethodDescriptionDefaultHandler.resolveEntity
(String publicId, String systemId) Resolve an external entity.XMLFilterImpl.resolveEntity
(String publicId, String systemId) Filter an external entity resolution.Modifier and TypeMethodDescriptionvoid
ParserAdapter.parse
(InputSource input) Parse an XML document.void
XMLFilterImpl.parse
(InputSource input) Parse a document.void
XMLReaderAdapter.parse
(InputSource input) Parse the document.