Purpose: An implementation of XMLTransformer using JAXP 1.3 APIs.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private boolean | |
| private boolean | |
| private static final String | |
| private Transformer | |
| private String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| encoding | back to summary |
|---|---|
| private String encoding | |
| formatted | back to summary |
|---|---|
| private boolean formatted | |
| fragment | back to summary |
|---|---|
| private boolean fragment | |
| NO | back to summary |
|---|---|
| private static final String NO | |
| transformer | back to summary |
|---|---|
| private Transformer transformer | |
| version | back to summary |
|---|---|
| private String version | |
| YES | back to summary |
|---|---|
| private static final String YES | |
| JAXPTransformer | back to summary |
|---|---|
| public JAXPTransformer() | |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() Implements org.
| |
| getTransformer | back to summary |
|---|---|
| public Transformer getTransformer() | |
| getVersion | back to summary |
|---|---|
| public String getVersion() Implements org.
| |
| isFormattedOutput | back to summary |
|---|---|
| public boolean isFormattedOutput() Implements org.
| |
| isFragment | back to summary |
|---|---|
| public boolean isFragment() Implements org.
| |
| setEncoding | back to summary |
|---|---|
| public void setEncoding(String encoding) Implements org.
| |
| setFormattedOutput | back to summary |
|---|---|
| public void setFormattedOutput(boolean shouldFormat) Implements org.
| |
| setFragment | back to summary |
|---|---|
| public void setFragment(boolean fragment) Implements org.
| |
| setVersion | back to summary |
|---|---|
| public void setVersion(String version) Implements org.
| |
| transform | back to summary |
|---|---|
| public void transform(Node sourceNode, OutputStream resultOutputStream) throws XMLPlatformException Implements org.
| |
| transform | back to summary |
|---|---|
| public void transform(Node sourceNode, ContentHandler resultContentHandler) throws XMLPlatformException Implements org.
| |
| transform | back to summary |
|---|---|
| public void transform(Node sourceNode, Result result) throws XMLPlatformException Implements org.
| |
| transform | back to summary |
|---|---|
| public void transform(Node sourceNode, Writer resultWriter) throws XMLPlatformException Implements org.
| |
| transform | back to summary |
|---|---|
| public void transform(Source source, Result result) throws XMLPlatformException Implements org.
| |
| transform | back to summary |
|---|---|
| public void transform(Document sourceDocument, Node resultParentNode, URL stylesheet) throws XMLPlatformException Implements org.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static TransformerFactory |
| TransformerFactoryHelper | back to summary |
|---|---|
| private TransformerFactoryHelper() | |
| getTransformerFactory | back to summary |
|---|---|
| pack-priv static TransformerFactory getTransformerFactory() | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | error(TransformerException
The error information encapsulated in a
transformer exception. exception)Implements javax. |
| public void | fatalError(TransformerException
The error information encapsulated in a
exception)TransformerException.Implements javax. Receive notification of a non-recoverable error. |
| public void | warning(TransformerException
The warning information encapsulated in a
transformer exception. exception)Implements javax. |
| TransformErrorListener | back to summary |
|---|---|
| private TransformErrorListener() | |
| error | back to summary |
|---|---|
| public void error(TransformerException exception) throws TransformerException Implements javax. Doc from javax. Receive notification of a recoverable error. The transformer must continue to try and provide normal transformation after invoking this method. It should still be possible for the application to process the document through to the end if no other errors are encountered.
| |
| fatalError | back to summary |
|---|---|
| public void fatalError(TransformerException exception) throws TransformerException Implements javax. Doc from javax. Receive notification of a non-recoverable error. The processor may choose to continue, but will not normally proceed to a successful completion. The method should throw an exception if it is unable to process the error, or if it wishes execution to terminate immediately. The processor will not necessarily honor this request.
| |
| warning | back to summary |
|---|---|
| public void warning(TransformerException exception) throws TransformerException Implements javax. Doc from javax. Receive notification of a warning.
After invoking this method, the Transformer must continue with the transformation. It should still be possible for the application to process the document through to the end.
| |