Package com.bea.xml.stream
Class StaticAllocator
java.lang.Object
com.bea.xml.stream.StaticAllocator
- All Implemented Interfaces:
XMLEventAllocator
Return a single event for each allocate call
-
Field Summary
Fields -
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) toString()
-
Field Details
-
FEATURE_STAX_NOTATIONS
- See Also:
-
FEATURE_STAX_ENTITIES
- See Also:
-
-
Constructor Details
-
StaticAllocator
public StaticAllocator()
-
-
Method Details
-
newInstance
- Specified by:
newInstancein interfaceXMLEventAllocator
-
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
-