public class DefaultTransformer extends java.lang.Object implements Transformer
Constructor and Description |
---|
DefaultTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ac,
int i,
int j) |
void |
dispose()
Dispose the transformer.
|
void |
endDocument() |
void |
endElement(java.lang.String s,
java.lang.String s1,
java.lang.String s2) |
void |
endPrefixMapping(java.lang.String s) |
void |
ignorableWhitespace(char[] ac,
int i,
int j) |
void |
init(ProcessingContext context,
ProcessingComponentConfiguration config)
Initialize this component.
|
void |
processingInstruction(java.lang.String s,
java.lang.String s1) |
void |
setContentHandler(org.xml.sax.ContentHandler handler)
Set the content handler the transformer should stream to.
|
void |
setDocumentLocator(org.xml.sax.Locator locator) |
void |
skippedEntity(java.lang.String s) |
void |
startDocument() |
void |
startElement(java.lang.String s,
java.lang.String s1,
java.lang.String s2,
org.xml.sax.Attributes attributes) |
void |
startPrefixMapping(java.lang.String s,
java.lang.String s1) |
public void characters(char[] ac, int i, int j) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void dispose()
Transformer
dispose
in interface Transformer
public void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void endElement(java.lang.String s, java.lang.String s1, java.lang.String s2) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void endPrefixMapping(java.lang.String s) throws org.xml.sax.SAXException
endPrefixMapping
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void ignorableWhitespace(char[] ac, int i, int j) throws org.xml.sax.SAXException
ignorableWhitespace
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void init(ProcessingContext context, ProcessingComponentConfiguration config) throws java.io.IOException
Transformer
init
in interface Transformer
context
- The invocation context.config
- The configuration for this component.java.io.IOException
public void processingInstruction(java.lang.String s, java.lang.String s1) throws org.xml.sax.SAXException
processingInstruction
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public final void setContentHandler(org.xml.sax.ContentHandler handler)
Transformer
setContentHandler
in interface Transformer
handler
- Another transformer or a serializer.public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
public void skippedEntity(java.lang.String s) throws org.xml.sax.SAXException
skippedEntity
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void startElement(java.lang.String s, java.lang.String s1, java.lang.String s2, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void startPrefixMapping(java.lang.String s, java.lang.String s1) throws org.xml.sax.SAXException
startPrefixMapping
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
Copyright © 2010 - 2020 Adobe. All Rights Reserved