|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.serializer.EmptySerializer
org.apache.xalan.xsltc.runtime.StringValueHandler
public final class StringValueHandler
| Field Summary | |
|---|---|
static int |
HTML_ATTREMPTY
|
static int |
HTML_ATTRURL
|
static int |
NO_BAD_CHARS
|
| Constructor Summary | |
|---|---|
StringValueHandler()
|
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int off,
int len)
|
void |
characters(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(String qname)
This method is used to notify that an element has ended. |
String |
getValue()
|
String |
getValueOfPI()
The value of a PI must not contain the substring "? |
boolean |
setEscaping(boolean bool)
Turns special character escaping on/off. |
void |
startElement(String qname)
This method is used to notify of the start of an element |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NO_BAD_CHARS
public static final int HTML_ATTREMPTY
public static final int HTML_ATTRURL
| Constructor Detail |
|---|
public StringValueHandler()
| Method Detail |
|---|
public void characters(char[] ch,
int off,
int len)
throws SAXException
characters in class EmptySerializerSAXExceptionContentHandler.characters(char[], int, int)public String getValue()
public void characters(String characters)
throws SAXException
characters in class EmptySerializercharacters - the character data
SAXExceptionExtendedContentHandler#characters(java.lang.String)
public void startElement(String qname)
throws SAXException
startElement in class EmptySerializerqname - the fully qualified name of the element
SAXExceptionExtendedContentHandler#startElement(java.lang.String)
public void endElement(String qname)
throws 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.
SAXExceptionExtendedContentHandler#endElement(java.lang.String)public boolean setEscaping(boolean bool)
SerializationHandler
setEscaping in interface SerializationHandlersetEscaping in class EmptySerializerbool - true if escaping is to be set on.SerializationHandler.setEscaping(boolean)public String getValueOfPI()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||