| 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Source | |
|---|---|
| javax.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. | 
| javax.xml.transform.dom | This package implements DOM-specific transformation APIs. | 
| javax.xml.transform.sax | This package implements SAX2-specific transformation APIs. | 
| javax.xml.transform.stream | This package implements stream- and URI- specific transformation APIs. | 
| javax.xml.validation | This package provides an API for validation of XML documents. | 
| Uses of Source in javax.xml.transform | 
|---|
| Methods in javax.xml.transform that return Source | |
|---|---|
abstract  Source | 
TransformerFactory.getAssociatedStylesheet(Source source,
                        String media,
                        String title,
                        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(String href,
        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 | |
|---|---|
abstract  Source | 
TransformerFactory.getAssociatedStylesheet(Source source,
                        String media,
                        String title,
                        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 | |
|---|---|
 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 | |
|---|---|
 class | 
SAXSource
Acts as an holder for SAX-style Source.  | 
| Methods in javax.xml.transform.sax with parameters of type Source | |
|---|---|
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 | |
|---|---|
 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 | |
|---|---|
 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.  | 
  | 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.