|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.serializer.SerializerBase | +--org.apache.xml.serializer.ToStream | +--org.apache.xml.serializer.ToXMLStream
Constructor Summary | |
ToXMLStream()
Default constructor. |
Method Summary | |
void |
addAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
java.lang.String type,
java.lang.String value)
|
void |
addUniqueAttribute(java.lang.String name,
java.lang.String value,
int flags)
This method is used to add an attribute to the currently open element. |
void |
CopyFrom(ToXMLStream xmlListener)
Copy properties from another SerializerToXML. |
void |
endDocument()
Receive notification of the end of a document. |
void |
endElement(java.lang.String elemName)
|
void |
endPreserving()
Ends a whitespace preserving section. |
void |
entityReference(java.lang.String name)
Receive notivication of a entityReference. |
void |
namespaceAfterStartElement(java.lang.String prefix,
java.lang.String uri)
From XSLTC Related to startPrefixMapping ??? |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
boolean |
reset()
Try's to reset the super class and reset this class for re-use, so that you don't need to create a new serializer (mostly for performance reasons). |
void |
startDocumentInternal()
Receive notification of the beginning of a document. |
void |
startPreserving()
Starts a whitespace preserving section. |
Methods inherited from class org.apache.xml.serializer.SerializerBase |
addAttribute,
addAttributes,
asContentHandler,
asDOMSerializer,
characters,
close,
comment,
endEntity,
error,
fatalError,
fireEndEntity,
getDoctypePublic,
getDoctypeSystem,
getEncoding,
getIndent,
getMediaType,
getNamespaceMappings,
getNamespaceURI,
getNamespaceURIFromPrefix,
getOmitXMLDeclaration,
getPrefix,
getStandalone,
getTransformer,
getVersion,
setDoctype,
setDoctypePublic,
setDoctypeSystem,
setDocumentLocator,
setEncoding,
setIndent,
setMediaType,
setNamespaceMappings,
setOmitXMLDeclaration,
setSourceLocator,
setStandalone,
setVersion,
startDocument,
warning |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ToXMLStream()
Method Detail |
public void CopyFrom(ToXMLStream xmlListener)
xmlListener
- non-null reference to a SerializerToXML object.public void startDocumentInternal() throws SAXException
public void endDocument() throws SAXException
public void startPreserving() throws SAXException
The contents of the whitespace preserving section will be delivered through the regular characters event.
public void endPreserving() throws SAXException
startPreserving()
public void processingInstruction(java.lang.String target, java.lang.String data) throws SAXException
target
- The processing instruction target.data
- The processing instruction data, or null if
none was supplied.public void entityReference(java.lang.String name) throws SAXException
name
- The name of the entity.public void addUniqueAttribute(java.lang.String name, java.lang.String value, int flags) throws SAXException
name
- the qualified name of the attributevalue
- the value of the attribute which can contain only
ASCII printable characters characters in the range 32 to 127 inclusive.flags
- the bit values of this integer give optimization information.public void addAttribute(java.lang.String uri, java.lang.String localName, java.lang.String rawName, java.lang.String type, java.lang.String value) throws SAXException
public void endElement(java.lang.String elemName) throws SAXException
ExtendedContentHandler.endElement(String)
public void namespaceAfterStartElement(java.lang.String prefix, java.lang.String uri) throws SAXException
public boolean reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |