org.apache.xalan.xsltc.runtime

Class StringValueHandler

Implemented Interfaces:
org.xml.sax.ContentHandler, DeclHandler, org.xml.sax.DTDHandler, ErrorHandler, DOMSerializer, ExtendedContentHandler, ExtendedLexicalHandler, org.xml.sax.ext.LexicalHandler, SerializationHandler, Serializer, org.apache.xml.serializer.XSLOutputAttributes

public final class StringValueHandler
extends EmptySerializer

Authors:
Jacek Ambroziak
Santiago Pericas-Geertsen
Morten Jorgensen

Fields inherited from interface org.apache.xml.serializer.ExtendedContentHandler

HTML_ATTREMPTY, HTML_ATTRURL, NO_BAD_CHARS

Method Summary

void
characters(String characters)
void
characters(char[] ch, int off, int len)
void
endElement(String qname)
String
getValue()
String
getValueOfPI()
The value of a PI must not contain the substring "?
boolean
setEscaping(boolean bool)
void
startElement(String qname)

Methods inherited from class org.apache.xml.serializer.EmptySerializer

addAttribute, addAttribute, addAttribute, addAttributes, addUniqueAttribute, addXSLAttribute, asContentHandler, asDOM3Serializer, asDOMSerializer, attributeDecl, characters, characters, characters, close, comment, comment, elementDecl, endCDATA, endDTD, endDocument, endElement, endElement, endEntity, endPrefixMapping, entityReference, error, externalEntityDecl, fatalError, flushPending, getDoctypePublic, getDoctypeSystem, getEncoding, getIndent, getIndentAmount, getMediaType, getNamespaceMappings, getNamespaceURI, getNamespaceURIFromPrefix, getOmitXMLDeclaration, getOutputFormat, getOutputProperty, getOutputPropertyDefault, getOutputStream, getPrefix, getStandalone, getTransformer, getVersion, getWriter, ignorableWhitespace, internalEntityDecl, namespaceAfterStartElement, notationDecl, processingInstruction, reset, serialize, setCdataSectionElements, setCdataSectionElements, setContentHandler, setDTDEntityExpansion, setDoctype, setDoctypePublic, setDoctypeSystem, setDocumentLocator, setEncoding, setEscaping, setIndent, setIndentAmount, setMediaType, setNamespaceMappings, setOmitXMLDeclaration, setOutputFormat, setOutputProperty, setOutputPropertyDefault, setOutputStream, setSourceLocator, setStandalone, setTransformer, setVersion, setWriter, skippedEntity, startCDATA, startDTD, startDocument, startElement, startElement, startElement, startEntity, startPrefixMapping, startPrefixMapping, unparsedEntityDecl, warning

Method Details

characters

public void characters(String characters)
            throws SAXException
Specified by:
characters in interface ExtendedContentHandler
Overrides:
characters in interface EmptySerializer
See Also:
ExtendedContentHandler.characters(java.lang.String)

characters

public void characters(char[] ch,
                       int off,
                       int len)
            throws SAXException
Overrides:
characters in interface EmptySerializer
See Also:
org.xml.sax.ContentHandler.characters(char[], int, int)

endElement

public void endElement(String qname)
            throws SAXException
Specified by:
endElement in interface ExtendedContentHandler
Overrides:
endElement in interface EmptySerializer
See Also:
ExtendedContentHandler.endElement(java.lang.String)

getValue

public String getValue()

getValueOfPI

public String getValueOfPI()
The value of a PI must not contain the substring "?>". Should that substring be present, replace it by "? >".

setEscaping

public boolean setEscaping(boolean bool)
Specified by:
setEscaping in interface SerializationHandler
Overrides:
setEscaping in interface EmptySerializer

startElement

public void startElement(String qname)
            throws SAXException
Specified by:
startElement in interface ExtendedContentHandler
Overrides:
startElement in interface EmptySerializer
See Also:
ExtendedContentHandler.startElement(java.lang.String)

Copyright B) 2006 Apache XML Project. All Rights Reserved.