## Uses of Interface
javax.xml.transform.Source

Packages that use Source
Package | Description
--- | ---
javax.xml.transform |
javax.xml.transform.dom |
javax.xml.transform.sax |
javax.xml.transform.stream |
javax.xml.validation |
org.apache.xalan.processor | Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot (a TRaX Templates object).
org.apache.xalan.transformer | In charge of run-time transformations and the production of result trees.
org.apache.xalan.xsltc.dom |
org.apache.xalan.xsltc.trax |
org.apache.xml.dtm |
org.apache.xml.dtm.ref |
org.apache.xml.dtm.ref.sax2dtm |
org.apache.xml.utils | Implementation of Xalan utility classes.
org.apache.xpath | Implementation of XPath; for the most part, only classes meant for public use are found at this root level of the XPath packages.

### Uses of Source in javax.xml.transform

Methods in javax.xml.transform that return Source
Modifier and Type | Method and Description
--- | ---
`abstract Source` | TransformerFactory.`getAssociatedStylesheet(Source source, java.lang.String media, java.lang.String title, java.lang.String charset)` Get the stylesheet specification(s) associated with the XML `Source` document via the xml-stylesheet processing instruction that match the given criteria.
`Source` | URIResolver.`resolve(java.lang.String href, java.lang.String base)` Called by the processor when it encounters an xsl:include, xsl:import, or document() function.

Methods in javax.xml.transform with parameters of type Source
Modifier and Type | Method and Description
--- | ---
`abstract Source` | TransformerFactory.`getAssociatedStylesheet(Source source, java.lang.String media, java.lang.String title, java.lang.String charset)` Get the stylesheet specification(s) associated with the XML `Source` document via the xml-stylesheet processing instruction that match the given criteria.
`abstract Templates` | TransformerFactory.`newTemplates(Source source)` Process the Source into a Templates object, which is a a compiled representation of the source.
`abstract Transformer` | TransformerFactory.`newTransformer(Source source)` Process the `Source` into a `Transformer` `Object`.
`abstract void` | Transformer.`transform(Source xmlSource, Result outputTarget)` Transform the XML `Source` to a `Result`.

### Uses of Source in javax.xml.transform.dom

Classes in javax.xml.transform.dom that implement Source
Modifier and Type | Class and Description
--- | ---
`class` | `DOMSource` Acts as a holder for a transformation Source tree in the form of a Document Object Model (DOM) tree.

### Uses of Source in javax.xml.transform.sax

Classes in javax.xml.transform.sax that implement Source
Modifier and Type | Class and Description
--- | ---
`class` | `SAXSource` Acts as an holder for SAX-style Source.

Methods in javax.xml.transform.sax with parameters of type Source
Modifier and Type | Method and Description
--- | ---
`abstract TransformerHandler` | SAXTransformerFactory.`newTransformerHandler(Source src)` Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the transformation instructions specified by the argument.
`abstract XMLFilter` | SAXTransformerFactory.`newXMLFilter(Source src)` Create an XMLFilter that uses the given Source as the transformation instructions.
`static InputSource` | SAXSource.`sourceToInputSource(Source source)` Attempt to obtain a SAX InputSource object from a Source object.

### Uses of Source in javax.xml.transform.stream

Classes in javax.xml.transform.stream that implement Source
Modifier and Type | Class and Description
--- | ---
`class` | `StreamSource` Acts as an holder for a transformation Source in the form of a stream of XML markup.

### Uses of Source in javax.xml.validation

Methods in javax.xml.validation with parameters of type Source
Modifier and Type | Method and Description
--- | ---
`Schema` | SchemaFactory.`newSchema(Source schema)` Parses the specified source as a schema and returns it as a schema.
`abstract Schema` | SchemaFactory.`newSchema(Source[] schemas)` Parses the specified source(s) as a schema and returns it as a schema.
`void` | Validator.`validate(Source source)` Validates the specified input.
`abstract void` | Validator.`validate(Source source, Result result)` Validates the specified input and send the augmented validation result to the specified output.

### Uses of Source in org.apache.xalan.processor

Methods in org.apache.xalan.processor that return Source
Modifier and Type | Method and Description
--- | ---
`Source` | TransformerFactoryImpl.`getAssociatedStylesheet(Source source, java.lang.String media, java.lang.String title, java.lang.String charset)` Get InputSource specification(s) that are associated with the given document specified in the source param, via the xml-stylesheet processing instruction (see http://www.w3.org/TR/xml-stylesheet/), and that matches the given criteria.

Methods in org.apache.xalan.processor with parameters of type Source
Modifier and Type | Method and Description
--- | ---
`Source` | TransformerFactoryImpl.`getAssociatedStylesheet(Source source, java.lang.String media, java.lang.String title, java.lang.String charset)` Get InputSource specification(s) that are associated with the given document specified in the source param, via the xml-stylesheet processing instruction (see http://www.w3.org/TR/xml-stylesheet/), and that matches the given criteria.
`Templates` | TransformerFactoryImpl.`newTemplates(Source source)` Process the source into a Templates object, which is likely a compiled representation of the source.
`Transformer` | TransformerFactoryImpl.`newTransformer(Source source)` Process the source into a Transformer object.
`TransformerHandler` | TransformerFactoryImpl.`newTransformerHandler(Source src)` Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the transformation instructions specified by the argument.
`XMLFilter` | TransformerFactoryImpl.`newXMLFilter(Source src)` Create an XMLFilter that uses the given source as the transformation instructions.

### Uses of Source in org.apache.xalan.transformer

Methods in org.apache.xalan.transformer with parameters of type Source
Modifier and Type | Method and Description
--- | ---
`void` | TransformerImpl.`setXMLSource(Source source)` Set the input source for the source tree, which is needed if the parse thread is not the main thread, in order for the parse thread's run method to get to the input source.
`void` | TransformerImpl.`transform(Source source)` Process the source tree to SAX parse events.
`void` | TransformerImpl.`transform(Source source, boolean shouldRelease)` Process the source tree to SAX parse events.
`void` | TransformerImpl.`transform(Source xmlSource, Result outputTarget)` Process the source tree to the output result.
`void` | TransformerIdentityImpl.`transform(Source source, Result outputTarget)` Process the source tree to the output result.
`void` | TransformerImpl.`transform(Source xmlSource, Result outputTarget, boolean shouldRelease)` Process the source tree to the output result.

### Uses of Source in org.apache.xalan.xsltc.dom

Methods in org.apache.xalan.xsltc.dom with parameters of type Source
Modifier and Type | Method and Description
--- | ---
`DTM` | XSLTCDTMManager.`getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing)` Get an instance of a DTM, loaded with the content from the specified source.
`DTM` | XSLTCDTMManager.`getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing, boolean buildIdIndex)` Get an instance of a DTM, loaded with the content from the specified source.
`DTM` | XSLTCDTMManager.`getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing, boolean buildIdIndex, boolean newNameTable)` Get an instance of a DTM, loaded with the content from the specified source.
`DTM` | XSLTCDTMManager.`getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing, boolean hasUserReader, int size, boolean buildIdIndex)` Get an instance of a DTM, loaded with the content from the specified source.
`DTM` | XSLTCDTMManager.`getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing, boolean hasUserReader, int size, boolean buildIdIndex, boolean newNameTable)` Get an instance of a DTM, loaded with the content from the specified source.

Constructors in org.apache.xalan.xsltc.dom with parameters of type Source
Constructor and Description
`SAXImpl(XSLTCDTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, boolean buildIdIndex)` Construct a SAXImpl object using the default block size.
`SAXImpl(XSLTCDTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean buildIdIndex, boolean newNameTable)` Construct a SAXImpl object using the given block size.

### Uses of Source in org.apache.xalan.xsltc.trax

Classes in org.apache.xalan.xsltc.trax that implement Source
Modifier and Type | Class and Description
--- | ---
`class` | `XSLTCSource`

Methods in org.apache.xalan.xsltc.trax that return Source
Modifier and Type | Method and Description
--- | ---
`Source` | TransformerFactoryImpl.`getAssociatedStylesheet(Source source, java.lang.String media, java.lang.String title, java.lang.String charset)` javax.xml.transform.sax.TransformerFactory implementation.
`Source` | SmartTransformerFactoryImpl.`getAssociatedStylesheet(Source source, java.lang.String media, java.lang.String title, java.lang.String charset)`

Methods in org.apache.xalan.xsltc.trax with parameters of type Source
Modifier and Type | Method and Description
--- | ---
`Source` | TransformerFactoryImpl.`getAssociatedStylesheet(Source source, java.lang.String media, java.lang.String title, java.lang.String charset)` javax.xml.transform.sax.TransformerFactory implementation.
`Source` | SmartTransformerFactoryImpl.`getAssociatedStylesheet(Source source, java.lang.String media, java.lang.String title, java.lang.String charset)`
`static InputSource` | Util.`getInputSource(XSLTC xsltc, Source source)` Creates a SAX2 InputSource object from a TrAX Source object
`Templates` | TransformerFactoryImpl.`newTemplates(Source source)` javax.xml.transform.sax.TransformerFactory implementation.
`Templates` | SmartTransformerFactoryImpl.`newTemplates(Source source)` Create a Templates object that from the input stylesheet Uses the org.apache.xalan.xsltc.trax.TransformerFactory.
`Transformer` | TransformerFactoryImpl.`newTransformer(Source source)` javax.xml.transform.sax.TransformerFactory implementation.
`Transformer` | SmartTransformerFactoryImpl.`newTransformer(Source source)` Create a Transformer object that from the input stylesheet Uses the org.apache.xalan.processor.TransformerFactory.
`TransformerHandler` | TransformerFactoryImpl.`newTransformerHandler(Source src)` javax.xml.transform.sax.SAXTransformerFactory implementation.
`TransformerHandler` | SmartTransformerFactoryImpl.`newTransformerHandler(Source src)` Get a TransformerHandler object that can process SAX ContentHandler events based on a transformer specified by the stylesheet Source.
`XMLFilter` | TransformerFactoryImpl.`newXMLFilter(Source src)` javax.xml.transform.sax.SAXTransformerFactory implementation.
`XMLFilter` | SmartTransformerFactoryImpl.`newXMLFilter(Source src)` Create an XMLFilter that uses the given source as the transformation instructions.
`void` | TransformerImpl.`transform(Source source, Result result)` Implements JAXP's Transformer.transform()

Constructors in org.apache.xalan.xsltc.trax with parameters of type Source
Constructor and Description
`XSLTCSource(Source source)` Create a new XSLTC-specific source from a JAXP Source

### Uses of Source in org.apache.xml.dtm

Methods in org.apache.xml.dtm with parameters of type Source
Modifier and Type | Method and Description
--- | ---
`abstract DTM` | DTMManager.`getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing)` Get an instance of a DTM, loaded with the content from the specified source.

### Uses of Source in org.apache.xml.dtm.ref

Methods in org.apache.xml.dtm.ref with parameters of type Source
Modifier and Type | Method and Description
--- | ---
`DTM` | DTMManagerDefault.`getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing)` Get an instance of a DTM, loaded with the content from the specified source.
`XMLReader` | DTMManagerDefault.`getXMLReader(Source inputSource)` This method returns the SAX2 parser to use with the InputSource obtained from this URI.

Constructors in org.apache.xml.dtm.ref with parameters of type Source
Constructor and Description
`DTMDefaultBase(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing)` Construct a DTMDefaultBase object using the default block size.
`DTMDefaultBase(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean newNameTable)` Construct a DTMDefaultBase object from a DOM node.
`DTMDefaultBaseIterators(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing)` Construct a DTMDefaultBaseTraversers object from a DOM node.
`DTMDefaultBaseIterators(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean newNameTable)` Construct a DTMDefaultBaseTraversers object from a DOM node.
`DTMDefaultBaseTraversers(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing)` Construct a DTMDefaultBaseTraversers object from a DOM node.
`DTMDefaultBaseTraversers(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean newNameTable)` Construct a DTMDefaultBaseTraversers object from a DOM node.

### Uses of Source in org.apache.xml.dtm.ref.sax2dtm

Constructors in org.apache.xml.dtm.ref.sax2dtm with parameters of type Source
Constructor and Description
`SAX2DTM(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing)` Construct a SAX2DTM object using the default block size.
`SAX2DTM(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean newNameTable)` Construct a SAX2DTM object ready to be constructed from SAX2 ContentHandler events.
`SAX2DTM2(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing)` Construct a SAX2DTM2 object using the default block size.
`SAX2DTM2(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean buildIdIndex, boolean newNameTable)` Construct a SAX2DTM2 object using the given block size.
`SAX2RTFDTM(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing)`

### Uses of Source in org.apache.xml.utils

Methods in org.apache.xml.utils that return Source
Modifier and Type | Method and Description
--- | ---
`Source` | StylesheetPIHandler.`getAssociatedStylesheet()` Return the last stylesheet found that match the constraints.

### Uses of Source in org.apache.xpath

Methods in org.apache.xpath that return Source
Modifier and Type | Method and Description
--- | ---
`Source` | SourceTreeManager.`resolveURI(java.lang.String base, java.lang.String urlString, SourceLocator locator)` This will be called by the processor when it encounters an xsl:include, xsl:import, or document() function.

Methods in org.apache.xpath with parameters of type Source
Modifier and Type | Method and Description
--- | ---
`DTM` | XPathContext.`getDTM(Source source, boolean unique, DTMWSFilter wsfilter, boolean incremental, boolean doIndexing)` Get an instance of a DTM, loaded with the content from the specified source.
`int` | SourceTreeManager.`getNode(Source source)` Given a Source object, find the node associated with it.
`int` | SourceTreeManager.`getSourceTree(Source source, SourceLocator locator, XPathContext xctxt)` Get the source tree from the input source.
`static XMLReader` | SourceTreeManager.`getXMLReader(Source inputSource, SourceLocator locator)` This method returns the SAX2 parser to use with the InputSource obtained from this URI.
`int` | SourceTreeManager.`parseToNode(Source source, SourceLocator locator, XPathContext xctxt)` Try to create a DOM source tree from the input source.
`void` | SourceTreeManager.`putDocumentInCache(int n, Source source)` Put the source tree root node in the document cache.