Java™ Platform
Standard Ed. 6

Uses of Class
org.xml.sax.InputSource

Packages that use InputSource
javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities. 
javax.xml.bind.helpers JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces. 
javax.xml.parsers Provides classes allowing the processing of XML documents. 
javax.xml.transform.sax This package implements SAX2-specific transformation APIs. 
javax.xml.xpath This package provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment. 
org.xml.sax This package provides the core SAX APIs. 
org.xml.sax.ext This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support. 
org.xml.sax.helpers This package contains "helper" classes, including support for bootstrapping SAX-based applications. 
 

Uses of InputSource in javax.xml.bind
 

Methods in javax.xml.bind with parameters of type InputSource
 Object Unmarshaller.unmarshal(InputSource source)
          Unmarshal XML data from the specified SAX InputSource and return the resulting content tree.
 

Uses of InputSource in javax.xml.bind.helpers
 

Methods in javax.xml.bind.helpers with parameters of type InputSource
 Object AbstractUnmarshallerImpl.unmarshal(InputSource source)
           
protected abstract  Object AbstractUnmarshallerImpl.unmarshal(XMLReader reader, InputSource source)
          Unmarshals an object by using the specified XMLReader and the InputSource.
 

Uses of InputSource in javax.xml.parsers
 

Methods in javax.xml.parsers with parameters of type InputSource
abstract  Document DocumentBuilder.parse(InputSource is)
          Parse the content of the given input source as an XML document and return a new DOM Document object.
 void SAXParser.parse(InputSource is, DefaultHandler dh)
          Parse the content given InputSource as XML using the specified DefaultHandler.
 void SAXParser.parse(InputSource is, HandlerBase hb)
          Parse the content given InputSource as XML using the specified HandlerBase.
 

Uses of InputSource in javax.xml.transform.sax
 

Methods in javax.xml.transform.sax that return InputSource
 InputSource SAXSource.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.
 

Methods in javax.xml.transform.sax with parameters of type InputSource
 void SAXSource.setInputSource(InputSource inputSource)
          Set the SAX InputSource to be used for the Source.
 

Constructors in javax.xml.transform.sax with parameters of type InputSource
SAXSource(InputSource inputSource)
          Create a SAXSource, using a SAX InputSource.
SAXSource(XMLReader reader, InputSource inputSource)
          Create a SAXSource, using an XMLReader and a SAX InputSource.
 

Uses of InputSource in javax.xml.xpath
 

Methods in javax.xml.xpath with parameters of type InputSource
 String XPathExpression.evaluate(InputSource source)
          Evaluate the compiled XPath expression in the context of the specified InputSource and return the result as a String.
 Object XPathExpression.evaluate(InputSource source, QName returnType)
          Evaluate the compiled XPath expression in the context of the specified InputSource and return the result as the specified type.
 String XPath.evaluate(String expression, InputSource source)
          Evaluate an XPath expression in the context of the specified InputSource and return the result as a String.
 Object XPath.evaluate(String expression, InputSource source, QName returnType)
          Evaluate an XPath expression in the context of the specified InputSource and return the result as the specified type.
 

Uses of InputSource in org.xml.sax
 

Methods in org.xml.sax that return InputSource
 InputSource HandlerBase.resolveEntity(String publicId, String systemId)
          Deprecated. Resolve an external entity.
 InputSource EntityResolver.resolveEntity(String publicId, String systemId)
          Allow the application to resolve external entities.
 

Methods in org.xml.sax with parameters of type InputSource
 void XMLReader.parse(InputSource input)
          Parse an XML document.
 void Parser.parse(InputSource source)
          Deprecated. Parse an XML document.
 

Uses of InputSource in org.xml.sax.ext
 

Methods in org.xml.sax.ext that return InputSource
 InputSource EntityResolver2.getExternalSubset(String name, String baseURI)
          Allows applications to provide an external subset for documents that don't explicitly define one.
 InputSource DefaultHandler2.getExternalSubset(String name, String baseURI)
          Tells the parser that if no external subset has been declared in the document text, none should be used.
 InputSource DefaultHandler2.resolveEntity(String publicId, String systemId)
          Invokes EntityResolver2.resolveEntity() with null entity name and base URI.
 InputSource 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.
 InputSource 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.
 

Uses of InputSource in org.xml.sax.helpers
 

Methods in org.xml.sax.helpers that return InputSource
 InputSource XMLFilterImpl.resolveEntity(String publicId, String systemId)
          Filter an external entity resolution.
 InputSource DefaultHandler.resolveEntity(String publicId, String systemId)
          Resolve an external entity.
 

Methods in org.xml.sax.helpers with parameters of type InputSource
 void XMLReaderAdapter.parse(InputSource input)
          Parse the document.
 void ParserAdapter.parse(InputSource input)
          Parse an XML document.
 void XMLFilterImpl.parse(InputSource input)
          Parse a document.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.