Package com.bea.xml.stream
Class XMLEventAllocatorBase
java.lang.Object
com.bea.xml.stream.XMLEventAllocatorBase
- All Implemented Interfaces:
XMLEventAllocator
An allocator that creates an event per method call.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocate
(XMLStreamReader reader) void
allocate
(XMLStreamReader reader, XMLEventConsumer consumer) allocateCData
(XMLStreamReader reader) allocateCharacters
(XMLStreamReader reader) allocateComment
(XMLStreamReader reader) allocateDTD
(XMLStreamReader reader) allocateEndDocument
(XMLStreamReader reader) allocateEndElement
(XMLStreamReader reader) allocatePI
(XMLStreamReader reader) allocateSpace
(XMLStreamReader reader) allocateStartDocument
(XMLStreamReader reader) allocateStartElement
(XMLStreamReader reader) static Iterator
getAttributes
(XMLStreamReader reader) static Iterator
getNamespaces
(XMLStreamReader reader) toString()
-
Constructor Details
-
XMLEventAllocatorBase
public XMLEventAllocatorBase()
-
-
Method Details
-
newInstance
- Specified by:
newInstance
in interfaceXMLEventAllocator
-
getAttributes
-
getNamespaces
-
allocateStartElement
- Throws:
XMLStreamException
-
allocateEndElement
- Throws:
XMLStreamException
-
allocateCharacters
- Throws:
XMLStreamException
-
allocateCData
- Throws:
XMLStreamException
-
allocateSpace
- Throws:
XMLStreamException
-
allocateEntityReference
- Throws:
XMLStreamException
-
allocatePI
- Throws:
XMLStreamException
-
allocateComment
- Throws:
XMLStreamException
-
allocateStartDocument
- Throws:
XMLStreamException
-
allocateEndDocument
- Throws:
XMLStreamException
-
allocateDTD
- Throws:
XMLStreamException
-
allocateXMLDeclaration
- Throws:
XMLStreamException
-
allocate
- Specified by:
allocate
in interfaceXMLEventAllocator
- Throws:
XMLStreamException
-
allocate
- Specified by:
allocate
in interfaceXMLEventAllocator
- Throws:
XMLStreamException
-
toString
-