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) voidallocate(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 IteratorgetAttributes(XMLStreamReader reader) static IteratorgetNamespaces(XMLStreamReader reader) toString()
-
Constructor Details
-
XMLEventAllocatorBase
public XMLEventAllocatorBase()
-
-
Method Details
-
newInstance
- Specified by:
newInstancein 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:
allocatein interfaceXMLEventAllocator- Throws:
XMLStreamException
-
allocate
- Specified by:
allocatein interfaceXMLEventAllocator- Throws:
XMLStreamException
-
toString
-