com.bea.xml.stream

Class XMLEventAllocatorBase

public class XMLEventAllocatorBase extends Object implements XMLEventAllocator

An allocator that creates an event per method call.

Constructor Summary
XMLEventAllocatorBase()
Method Summary
XMLEventallocate(XMLStreamReader reader)
voidallocate(XMLStreamReader reader, XMLEventConsumer consumer)
CharactersallocateCData(XMLStreamReader reader)
CharactersallocateCharacters(XMLStreamReader reader)
CommentallocateComment(XMLStreamReader reader)
DTDallocateDTD(XMLStreamReader reader)
EndDocumentallocateEndDocument(XMLStreamReader reader)
EndElementallocateEndElement(XMLStreamReader reader)
EntityReferenceallocateEntityReference(XMLStreamReader reader)
ProcessingInstructionallocatePI(XMLStreamReader reader)
CharactersallocateSpace(XMLStreamReader reader)
StartDocumentallocateStartDocument(XMLStreamReader reader)
StartElementallocateStartElement(XMLStreamReader reader)
StartDocumentallocateXMLDeclaration(XMLStreamReader reader)
static IteratorgetAttributes(XMLStreamReader reader)
static IteratorgetNamespaces(XMLStreamReader reader)
XMLEventAllocatornewInstance()
StringtoString()

Constructor Detail

XMLEventAllocatorBase

public XMLEventAllocatorBase()

Method Detail

allocate

public XMLEvent allocate(XMLStreamReader reader)

allocate

public void allocate(XMLStreamReader reader, XMLEventConsumer consumer)

allocateCData

public Characters allocateCData(XMLStreamReader reader)

allocateCharacters

public Characters allocateCharacters(XMLStreamReader reader)

allocateComment

public Comment allocateComment(XMLStreamReader reader)

allocateDTD

public DTD allocateDTD(XMLStreamReader reader)

allocateEndDocument

public EndDocument allocateEndDocument(XMLStreamReader reader)

allocateEndElement

public EndElement allocateEndElement(XMLStreamReader reader)

allocateEntityReference

public EntityReference allocateEntityReference(XMLStreamReader reader)

allocatePI

public ProcessingInstruction allocatePI(XMLStreamReader reader)

allocateSpace

public Characters allocateSpace(XMLStreamReader reader)

allocateStartDocument

public StartDocument allocateStartDocument(XMLStreamReader reader)

allocateStartElement

public StartElement allocateStartElement(XMLStreamReader reader)

allocateXMLDeclaration

public StartDocument allocateXMLDeclaration(XMLStreamReader reader)

getAttributes

public static Iterator getAttributes(XMLStreamReader reader)

getNamespaces

public static Iterator getNamespaces(XMLStreamReader reader)

newInstance

public XMLEventAllocator newInstance()

toString

public String toString()