This class is an adapter class. Its only purpose is to be extended and
for that extended class to over-ride all methods that are to be used.
This class is not a public API, it is only public because it is used
across package boundaries.
addAttribute
public void addAttribute(String name,
String value)
- addAttribute in interface ExtendedContentHandler
ExtendedContentHandler.addAttribute(java.lang.String, java.lang.String)
addAttribute
public void addAttribute(String uri,
String localName,
String rawName,
String type,
String value)
throws SAXException
- addAttribute in interface ExtendedContentHandler
ExtendedContentHandler.addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
addAttribute
public void addAttribute(String uri,
String localName,
String rawName,
String type,
String value,
boolean XSLAttribute)
throws SAXException
- addAttribute in interface ExtendedContentHandler
ExtendedContentHandler.addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
addAttributes
public void addAttributes(Attributes atts)
throws SAXException
addUniqueAttribute
public void addUniqueAttribute(String name,
String value,
int flags)
throws SAXException
- addUniqueAttribute in interface ExtendedContentHandler
ExtendedContentHandler.addUniqueAttribute(java.lang.String, java.lang.String, int)
addXSLAttribute
public void addXSLAttribute(String qName,
String value,
String uri)
- addXSLAttribute in interface ExtendedContentHandler
ExtendedContentHandler.addXSLAttribute(java.lang.String, java.lang.String, java.lang.String)
asContentHandler
public ContentHandler asContentHandler()
throws IOException
- asContentHandler in interface Serializer
SerializationHandler.asContentHandler()
attributeDecl
public void attributeDecl(String arg0,
String arg1,
String arg2,
String arg3,
String arg4)
throws SAXException
org.xml.sax.ext.DeclHandler.attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
characters
public void characters(Node node)
throws SAXException
characters
public void characters(String chars)
throws SAXException
- characters in interface ExtendedContentHandler
ExtendedContentHandler.characters(java.lang.String)
characters
public void characters(char[] arg0,
int arg1,
int arg2)
throws SAXException
org.xml.sax.ContentHandler.characters(char[], int, int)
comment
public void comment(String comment)
throws SAXException
- comment in interface ExtendedLexicalHandler
ExtendedLexicalHandler.comment(java.lang.String)
comment
public void comment(char[] arg0,
int arg1,
int arg2)
throws SAXException
org.xml.sax.ext.LexicalHandler.comment(char[], int, int)
elementDecl
public void elementDecl(String arg0,
String arg1)
throws SAXException
org.xml.sax.ext.DeclHandler.elementDecl(java.lang.String, java.lang.String)
endCDATA
public void endCDATA()
throws SAXException
org.xml.sax.ext.LexicalHandler.endCDATA()
endDTD
public void endDTD()
throws SAXException
org.xml.sax.ext.LexicalHandler.endDTD()
endDocument
public void endDocument()
throws SAXException
org.xml.sax.ContentHandler.endDocument()
endElement
public void endElement(String elemName)
throws SAXException
- endElement in interface ExtendedContentHandler
ExtendedContentHandler.endElement(java.lang.String)
endElement
public void endElement(String arg0,
String arg1,
String arg2)
throws SAXException
org.xml.sax.ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
endEntity
public void endEntity(String arg0)
throws SAXException
org.xml.sax.ext.LexicalHandler.endEntity(java.lang.String)
endPrefixMapping
public void endPrefixMapping(String arg0)
throws SAXException
org.xml.sax.ContentHandler.endPrefixMapping(java.lang.String)
entityReference
public void entityReference(String entityName)
throws SAXException
- entityReference in interface ExtendedContentHandler
ExtendedContentHandler.entityReference(java.lang.String)
error
public void error(SAXParseException arg0)
throws SAXException
org.xml.sax.ErrorHandler.error(org.xml.sax.SAXParseException)
externalEntityDecl
public void externalEntityDecl(String arg0,
String arg1,
String arg2)
throws SAXException
org.xml.sax.ext.DeclHandler.externalEntityDecl(java.lang.String, java.lang.String, java.lang.String)
fatalError
public void fatalError(SAXParseException arg0)
throws SAXException
org.xml.sax.ErrorHandler.fatalError(org.xml.sax.SAXParseException)
getDoctypePublic
public String getDoctypePublic()
- getDoctypePublic in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.getDoctypePublic()
getDoctypeSystem
public String getDoctypeSystem()
- getDoctypeSystem in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.getDoctypeSystem()
getEncoding
public String getEncoding()
- getEncoding in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.getEncoding()
getIndent
public boolean getIndent()
- getIndent in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.getIndent()
getIndentAmount
public int getIndentAmount()
- getIndentAmount in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.getIndentAmount()
getMediaType
public String getMediaType()
- getMediaType in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.getMediaType()
getNamespaceURI
public String getNamespaceURI(String name,
boolean isElement)
- getNamespaceURI in interface ExtendedContentHandler
ExtendedContentHandler.getNamespaceURI(java.lang.String, boolean)
getOmitXMLDeclaration
public boolean getOmitXMLDeclaration()
- getOmitXMLDeclaration in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.getOmitXMLDeclaration()
getOutputFormat
public Properties getOutputFormat()
- getOutputFormat in interface Serializer
SerializationHandler.getOutputFormat()
getOutputProperty
public String getOutputProperty(String name)
Get the value for a property that affects seraialization,
if a property was set return that value, otherwise return
the default value, otherwise return null.
- getOutputProperty in interface org.apache.xml.serializer.XSLOutputAttributes
name
- The name of the property, which is just the local name
if it is in no namespace, but is the URI in curly braces followed by
the local name if it is in a namespace, for example:
- "encoding"
- "method"
- "{http://xml.apache.org/xalan}indent-amount"
- "{http://xml.apache.org/xalan}line-separator"
- The value of the parameter
getOutputPropertyDefault
public String getOutputPropertyDefault(String name)
Get the default value for a property that affects seraialization,
or null if there is none. It is possible that a non-default value
was set for the property, however the value returned by this method
is unaffected by any non-default settings.
- getOutputPropertyDefault in interface org.apache.xml.serializer.XSLOutputAttributes
name
- The name of the property.
- The default value of the parameter, or null if there is no default value.
getOutputStream
public OutputStream getOutputStream()
- getOutputStream in interface Serializer
SerializationHandler.getOutputStream()
getStandalone
public String getStandalone()
- getStandalone in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.getStandalone()
getVersion
public String getVersion()
- getVersion in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.getVersion()
getWriter
public Writer getWriter()
- getWriter in interface Serializer
SerializationHandler.getWriter()
ignorableWhitespace
public void ignorableWhitespace(char[] arg0,
int arg1,
int arg2)
throws SAXException
org.xml.sax.ContentHandler.ignorableWhitespace(char[], int, int)
internalEntityDecl
public void internalEntityDecl(String arg0,
String arg1)
throws SAXException
org.xml.sax.ext.DeclHandler.internalEntityDecl(java.lang.String, java.lang.String)
namespaceAfterStartElement
public void namespaceAfterStartElement(String uri,
String prefix)
throws SAXException
- namespaceAfterStartElement in interface ExtendedContentHandler
ExtendedContentHandler.namespaceAfterStartElement(java.lang.String, java.lang.String)
notationDecl
public void notationDecl(String arg0,
String arg1,
String arg2)
throws SAXException
org.xml.sax.DTDHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String)
processingInstruction
public void processingInstruction(String arg0,
String arg1)
throws SAXException
org.xml.sax.ContentHandler.processingInstruction(java.lang.String, java.lang.String)
reset
public boolean reset()
- reset in interface Serializer
SerializationHandler.reset()
setCdataSectionElements
public void setCdataSectionElements(Hashtable h)
throws Exception
XSLOutputAttributes.setCdataSectionElements
setCdataSectionElements
public void setCdataSectionElements(Vector URI_and_localNames)
- setCdataSectionElements in interface org.apache.xml.serializer.XSLOutputAttributes
SerializationHandler.setCdataSectionElements(java.util.Vector)
setDoctype
public void setDoctype(String system,
String pub)
- setDoctype in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.setDoctype(java.lang.String, java.lang.String)
setDoctypePublic
public void setDoctypePublic(String doctype)
- setDoctypePublic in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.setDoctypePublic(java.lang.String)
setDoctypeSystem
public void setDoctypeSystem(String doctype)
- setDoctypeSystem in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.setDoctypeSystem(java.lang.String)
setDocumentLocator
public void setDocumentLocator(Locator arg0)
org.xml.sax.ContentHandler.setDocumentLocator(org.xml.sax.Locator)
setEncoding
public void setEncoding(String encoding)
- setEncoding in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.setEncoding(java.lang.String)
setIndent
public void setIndent(boolean indent)
- setIndent in interface org.apache.xml.serializer.XSLOutputAttributes
SerializationHandler.setIndent(boolean)
setMediaType
public void setMediaType(String mediatype)
- setMediaType in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.setMediaType(java.lang.String)
setOmitXMLDeclaration
public void setOmitXMLDeclaration(boolean b)
- setOmitXMLDeclaration in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.setOmitXMLDeclaration(boolean)
setOutputFormat
public void setOutputFormat(Properties format)
- setOutputFormat in interface Serializer
SerializationHandler.setOutputFormat(java.util.Properties)
setOutputProperty
public void setOutputProperty(String name,
String val)
Set the non-default value for a property that affects seraialization.
- setOutputProperty in interface org.apache.xml.serializer.XSLOutputAttributes
name
- The name of the property, which is just the local name
if it is in no namespace, but is the URI in curly braces followed by
the local name if it is in a namespace, for example:
- "encoding"
- "method"
- "{http://xml.apache.org/xalan}indent-amount"
- "{http://xml.apache.org/xalan}line-separator"
setOutputPropertyDefault
public void setOutputPropertyDefault(String name,
String val)
Set the default value for a property that affects seraialization.
- setOutputPropertyDefault in interface org.apache.xml.serializer.XSLOutputAttributes
name
- The name of the property, which is just the local name
if it is in no namespace, but is the URI in curly braces followed by
the local name if it is in a namespace, for example:
- "encoding"
- "method"
- "{http://xml.apache.org/xalan}indent-amount"
- "{http://xml.apache.org/xalan}line-separator"
setOutputStream
public void setOutputStream(OutputStream output)
- setOutputStream in interface Serializer
SerializationHandler.setOutputStream(java.io.OutputStream)
setSourceLocator
public void setSourceLocator(SourceLocator locator)
- setSourceLocator in interface ExtendedContentHandler
ExtendedContentHandler.setSourceLocator(javax.xml.transform.SourceLocator)
setStandalone
public void setStandalone(String standalone)
- setStandalone in interface org.apache.xml.serializer.XSLOutputAttributes
XSLOutputAttributes.setStandalone(java.lang.String)
setTransformer
public void setTransformer(Transformer transformer)
- setTransformer in interface SerializationHandler
SerializationHandler.setTransformer(javax.xml.transform.Transformer)
setVersion
public void setVersion(String version)
- setVersion in interface org.apache.xml.serializer.XSLOutputAttributes
SerializationHandler.setVersion(java.lang.String)
setWriter
public void setWriter(Writer writer)
- setWriter in interface Serializer
SerializationHandler.setWriter(java.io.Writer)
skippedEntity
public void skippedEntity(String arg0)
throws SAXException
org.xml.sax.ContentHandler.skippedEntity(java.lang.String)
startCDATA
public void startCDATA()
throws SAXException
org.xml.sax.ext.LexicalHandler.startCDATA()
startDTD
public void startDTD(String arg0,
String arg1,
String arg2)
throws SAXException
org.xml.sax.ext.LexicalHandler.startDTD(java.lang.String, java.lang.String, java.lang.String)
startDocument
public void startDocument()
throws SAXException
ExtendedContentHandler.startDocument()
startElement
public void startElement(String qName)
throws SAXException
- startElement in interface ExtendedContentHandler
ExtendedContentHandler.startElement(java.lang.String)
startElement
public void startElement(String uri,
String localName,
String qName)
throws SAXException
- startElement in interface ExtendedContentHandler
ExtendedContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String)
startElement
public void startElement(String arg0,
String arg1,
String arg2,
Attributes arg3)
throws SAXException
org.xml.sax.ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
startEntity
public void startEntity(String arg0)
throws SAXException
org.xml.sax.ext.LexicalHandler.startEntity(java.lang.String)
startPrefixMapping
public void startPrefixMapping(String arg0,
String arg1)
throws SAXException
org.xml.sax.ContentHandler.startPrefixMapping(java.lang.String, java.lang.String)
startPrefixMapping
public boolean startPrefixMapping(String prefix,
String uri,
boolean shouldFlush)
throws SAXException
- startPrefixMapping in interface ExtendedContentHandler
ExtendedContentHandler.startPrefixMapping(java.lang.String, java.lang.String, boolean)
unparsedEntityDecl
public void unparsedEntityDecl(String arg0,
String arg1,
String arg2,
String arg3)
throws SAXException
org.xml.sax.DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
warning
public void warning(SAXParseException arg0)
throws SAXException
org.xml.sax.ErrorHandler.warning(org.xml.sax.SAXParseException)