org.apache.xalan.xsltc.runtime
public final class StringValueHandler extends EmptySerializer
| Modifier and Type | Field and Description |
|---|---|
static int |
HTML_ATTREMPTY |
static int |
HTML_ATTRURL |
static int |
NO_BAD_CHARS |
| Constructor and Description |
|---|
StringValueHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int off,
int len) |
void |
characters(java.lang.String characters)
This method is used to notify of a character event, but passing the data
as a character String rather than the standard character array.
|
void |
endElement(java.lang.String qname)
This method is used to notify that an element has ended.
|
java.lang.String |
getValue() |
java.lang.String |
getValueOfPI()
The value of a PI must not contain the substring "?
|
boolean |
setEscaping(boolean bool)
Turns special character escaping on/off.
|
void |
startElement(java.lang.String qname)
This method is used to notify of the start of an element
|
addAttribute, addAttribute, addAttribute, addAttributes, addUniqueAttribute, addXSLAttribute, asContentHandler, asDOMSerializer, attributeDecl, characters, close, comment, comment, elementDecl, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, entityReference, error, externalEntityDecl, fatalError, flushPending, getDoctypePublic, getDoctypeSystem, getEncoding, getIndent, getIndentAmount, getMediaType, getNamespaceMappings, getNamespaceURI, getNamespaceURIFromPrefix, getOmitXMLDeclaration, getOutputFormat, 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, setOutputStream, setSourceLocator, setStandalone, setTransformer, setVersion, setWriter, skippedEntity, startCDATA, startDocument, startDTD, startElement, startElement, startEntity, startPrefixMapping, startPrefixMapping, unparsedEntityDecl, warningpublic static final int NO_BAD_CHARS
public static final int HTML_ATTREMPTY
public static final int HTML_ATTRURL
public void characters(char[] ch,
int off,
int len)
throws org.xml.sax.SAXException
characters in class EmptySerializerorg.xml.sax.SAXExceptionContentHandler.characters(char[], int, int)public java.lang.String getValue()
public void characters(java.lang.String characters)
throws org.xml.sax.SAXException
characters in class EmptySerializercharacters - the character dataorg.xml.sax.SAXExceptionExtendedContentHandler.characters(java.lang.String)public void startElement(java.lang.String qname)
throws org.xml.sax.SAXException
startElement in class EmptySerializerqname - the fully qualified name of the elementorg.xml.sax.SAXExceptionExtendedContentHandler.startElement(java.lang.String)public void endElement(java.lang.String qname)
throws org.xml.sax.SAXException
endElement(namespaceURI,localName,qName)only the last parameter is passed. If needed the serializer can derive the localName from the qualified name and derive the namespaceURI from its implementation.
endElement in class EmptySerializerqname - the fully qualified element name.org.xml.sax.SAXExceptionExtendedContentHandler.endElement(java.lang.String)public boolean setEscaping(boolean bool)
SerializationHandlersetEscaping in interface SerializationHandlersetEscaping in class EmptySerializerbool - true if escaping is to be set on.SerializationHandler.setEscaping(boolean)public java.lang.String getValueOfPI()
Copyright ? 2005 Apache XML Project. All Rights Reserved.