Package | Description |
---|---|
javax.xml.transform |
This package defines the generic APIs for processing transformation
instructions, and performing a transformation from source to result.
|
javax.xml.transform.sax |
This package implements SAX2-specific transformation APIs.
|
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
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.
|
Transformer |
Templates.newTransformer()
Create a new transformation context for this Templates object.
|
abstract Transformer |
TransformerFactory.newTransformer()
Create a new
Transformer that performs a copy
of the Source to the Result . |
abstract Transformer |
TransformerFactory.newTransformer(Source source)
Process the
Source into a Transformer
Object . |
abstract void |
TransformerFactory.setFeature(String name,
boolean value)
Set a feature for this
TransformerFactory and Transformer s
or Template s created by this factory. |
Modifier and Type | Method and Description |
---|---|
abstract TemplatesHandler |
SAXTransformerFactory.newTemplatesHandler()
Get a TemplatesHandler object that can process SAX
ContentHandler events into a Templates object.
|
abstract TransformerHandler |
SAXTransformerFactory.newTransformerHandler()
Get a TransformerHandler object that can process SAX
ContentHandler events into a Result.
|
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 TransformerHandler |
SAXTransformerFactory.newTransformerHandler(Templates templates)
Get a TransformerHandler object that can process SAX
ContentHandler events into a Result, based on the Templates argument.
|
abstract XMLFilter |
SAXTransformerFactory.newXMLFilter(Source src)
Create an XMLFilter that uses the given Source as the
transformation instructions.
|
abstract XMLFilter |
SAXTransformerFactory.newXMLFilter(Templates templates)
Create an XMLFilter, based on the Templates argument..
|
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, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.