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 TypeMethodDescriptionvoid
void
add
(XMLEventReader stream) void
void
void
void
void
void
void
void
void
void
close()
void
flush()
static void
void
void
setNamespaceContext
(NamespaceContext context) void
void
-
Constructor Details
-
XMLEventWriterBase
-
-
Method Details
-
flush
- Specified by:
flush
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
close
- Specified by:
close
in 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:
add
in interfaceXMLEventConsumer
- Specified by:
add
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
add
- Specified by:
add
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
getPrefix
- Specified by:
getPrefix
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
setPrefix
- Specified by:
setPrefix
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
setDefaultNamespace
- Specified by:
setDefaultNamespace
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
setNamespaceContext
- Specified by:
setNamespaceContext
in interfaceXMLEventWriter
- Throws:
XMLStreamException
-
getNamespaceContext
- Specified by:
getNamespaceContext
in interfaceXMLEventWriter
-
main
- Throws:
Exception
-