Package com.bea.xml.stream
Class XMLEventWriterBase
java.lang.Object
com.bea.xml.stream.XMLEventWriterBase
- All Implemented Interfaces:
XMLEventConsumer,XMLEventWriter
The base writer class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidadd(XMLEventReader stream) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidclose()voidflush()static voidvoidvoidsetNamespaceContext(NamespaceContext context) voidvoid
-
Constructor Details
-
XMLEventWriterBase
-
-
Method Details
-
flush
- Specified by:
flushin interfaceXMLEventWriter- Throws:
XMLStreamException
-
close
- Specified by:
closein interfaceXMLEventWriter- Throws:
XMLStreamException
-
addCharacters
- Throws:
XMLStreamException
-
addEntityReference
- Throws:
XMLStreamException
-
addProcessingInstruction
- Throws:
XMLStreamException
-
addComment
- Throws:
XMLStreamException
-
addStartDocument
- Throws:
XMLStreamException
-
addEndDocument
- Throws:
XMLStreamException
-
addAttribute
- Throws:
XMLStreamException
-
writeNamespace
- Throws:
XMLStreamException
-
addNamespace
- Throws:
XMLStreamException
-
addDTD
- Throws:
XMLStreamException
-
add
- Specified by:
addin interfaceXMLEventConsumer- Specified by:
addin interfaceXMLEventWriter- Throws:
XMLStreamException
-
add
- Specified by:
addin interfaceXMLEventWriter- Throws:
XMLStreamException
-
getPrefix
- Specified by:
getPrefixin interfaceXMLEventWriter- Throws:
XMLStreamException
-
setPrefix
- Specified by:
setPrefixin interfaceXMLEventWriter- Throws:
XMLStreamException
-
setDefaultNamespace
- Specified by:
setDefaultNamespacein interfaceXMLEventWriter- Throws:
XMLStreamException
-
setNamespaceContext
- Specified by:
setNamespaceContextin interfaceXMLEventWriter- Throws:
XMLStreamException
-
getNamespaceContext
- Specified by:
getNamespaceContextin interfaceXMLEventWriter
-
main
- Throws:
Exception
-