public final class StringValueHandler
extends org.apache.xml.serializer.EmptySerializer
Constructor and Description |
---|
StringValueHandler() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int off,
int len) |
void |
characters(String characters) |
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) |
addAttribute, addAttribute, addAttribute, addAttributes, addUniqueAttribute, addXSLAttribute, asContentHandler, asDOM3Serializer, asDOMSerializer, attributeDecl, characters, close, comment, comment, couldThrowException, couldThrowIOException, couldThrowSAXException, couldThrowSAXException, couldThrowSAXException, elementDecl, endCDATA, endDocument, endDTD, 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, setDoctype, setDoctypePublic, setDoctypeSystem, setDocumentLocator, setDTDEntityExpansion, setEncoding, setIndent, setIndentAmount, setMediaType, setNamespaceMappings, setOmitXMLDeclaration, setOutputFormat, setOutputProperty, setOutputPropertyDefault, setOutputStream, setSourceLocator, setStandalone, setTransformer, setVersion, setWriter, skippedEntity, startCDATA, startDocument, startDTD, startElement, startElement, startEntity, startPrefixMapping, startPrefixMapping, unparsedEntityDecl, warning
public void characters(char[] ch, int off, int len) throws SAXException
characters
in interface ContentHandler
characters
in class org.apache.xml.serializer.EmptySerializer
SAXException
public String getValue()
public void characters(String characters) throws SAXException
characters
in interface org.apache.xml.serializer.ExtendedContentHandler
characters
in class org.apache.xml.serializer.EmptySerializer
SAXException
public void startElement(String qname) throws SAXException
startElement
in interface org.apache.xml.serializer.ExtendedContentHandler
startElement
in class org.apache.xml.serializer.EmptySerializer
SAXException
public void endElement(String qname) throws SAXException
endElement
in interface org.apache.xml.serializer.ExtendedContentHandler
endElement
in class org.apache.xml.serializer.EmptySerializer
SAXException
public boolean setEscaping(boolean bool)
setEscaping
in interface org.apache.xml.serializer.SerializationHandler
setEscaping
in class org.apache.xml.serializer.EmptySerializer
public String getValueOfPI()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.