| Package | Description | 
|---|---|
| java.sql | Provides the API for accessing and processing data stored in a 
data source (usually a relational database) using the 
JavaTM programming language. | 
| javax.xml.bind | 
        Provides a runtime binding framework for client applications including
        unmarshalling, marshalling, and validation capabilities. | 
| javax.xml.bind.annotation | 
        Defines annotations for customizing Java program elements to XML Schema mapping. | 
| javax.xml.bind.helpers | 
        JAXB Provider Use Only: Provides partial default implementations for 
        some of the javax.xml.bind interfaces. | 
| javax.xml.bind.util | 
        Useful client utility classes. | 
| javax.xml.soap | Provides the API for creating and building SOAP messages. | 
| javax.xml.stream | |
| 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.stax | 
                        Provides for StAX-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. | 
| javax.xml.ws | This package contains the core JAX-WS APIs. | 
| javax.xml.ws.spi | This package defines SPIs for JAX-WS. | 
| javax.xml.ws.wsaddressing | This package defines APIs related to WS-Addressing. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T extends Source>  | SQLXML. getSource(Class<T> sourceClass)Returns a Source for reading the XML value designated by this SQLXML instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | Unmarshaller. unmarshal(Source source)Unmarshal XML data from the specified XML Source and return the
 resulting content tree. | 
| <T> JAXBElement<T> | Unmarshaller. unmarshal(Source source,
         Class<T> declaredType)Unmarshal XML data from the specified XML Source by declaredType and return the
 resulting content tree. | 
| static <T> T | JAXB. unmarshal(Source xml,
         Class<T> type)Reads in a Java object tree from the given XML input. | 
| Modifier and Type | Method and Description | 
|---|---|
| Source | DomHandler. marshal(ElementT n,
       ValidationEventHandler errorHandler)This method is called when a JAXB provider needs to marshal an element
 to XML. | 
| Source | W3CDomHandler. marshal(Element element,
       ValidationEventHandler errorHandler) | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | AbstractUnmarshallerImpl. unmarshal(Source source) | 
| <T> JAXBElement<T> | AbstractUnmarshallerImpl. unmarshal(Source source,
         Class<T> expectedType) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JAXBSourceJAXP  Sourceimplementation
 that marshals a JAXB-generated object. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Source | SOAPPart. getContent()Returns the content of the SOAPEnvelope as a JAXP  Sourceobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | SOAPPart. setContent(Source source)Sets the content of the  SOAPEnvelopeobject with the data
 from the givenSourceobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract XMLEventReader | XMLInputFactory. createXMLEventReader(Source source)Create a new XMLEventReader from a JAXP source. | 
| abstract XMLStreamReader | XMLInputFactory. createXMLStreamReader(Source source)Create a new XMLStreamReader from a JAXP source. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Source | TransformerFactory. getAssociatedStylesheet(Source source,
                       String media,
                       String title,
                       String charset)Get the stylesheet specification(s) associated with the
 XML  Sourcedocument 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Source | TransformerFactory. getAssociatedStylesheet(Source source,
                       String media,
                       String title,
                       String charset)Get the stylesheet specification(s) associated with the
 XML  Sourcedocument 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  Sourceinto aTransformerObject. | 
| abstract void | Transformer. transform(Source xmlSource,
         Result outputTarget)Transform the XML  Sourceto aResult. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DOMSourceActs as a holder for a transformation Source tree in the
 form of a Document Object Model (DOM) tree. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SAXSourceActs as an holder for SAX-style 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | StAXSourceActs as a holder for an XML  Sourcein the
 form of a StAX reader,i.e. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | StreamSourceActs as an holder for a transformation Source in the form
 of a stream of XML markup. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Source | LogicalMessage. getPayload()Gets the message payload as an XML source, may be called
  multiple times on the same LogicalMessage instance, always
  returns a new  Sourcethat may be used to retrieve the entire
  message payload. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract List<Source> | Endpoint. getMetadata()Returns a list of metadata documents for the service. | 
| Modifier and Type | Method and Description | 
|---|---|
| static EndpointReference | EndpointReference. readFrom(Source eprInfoset)Factory method to read an EndpointReference from the infoset contained in
  eprInfoset. | 
| void | LogicalMessage. setPayload(Source payload)Sets the message payload | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | Endpoint. setMetadata(List<Source> metadata)Sets the metadata for this endpoint. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract EndpointReference | Provider. readEndpointReference(Source eprInfoset)read an EndpointReference from the infoset contained in
  eprInfoset. | 
| Constructor and Description | 
|---|
| W3CEndpointReference(Source source)Creates an EPR from infoset representation | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2012, Oracle and/or its affiliates.  All rights reserved.