Package javanet.staxutils.events
Class EventAllocator
- java.lang.Object
-
- javanet.staxutils.events.BaseXMLEventAllocator
-
- javanet.staxutils.events.EventAllocator
-
- All Implemented Interfaces:
XMLEventAllocator
public class EventAllocator extends BaseXMLEventAllocator
Allocates events within this package.- Version:
- $Revision: 1.1 $
- Author:
- Christian Niles
-
-
Constructor Summary
Constructors Constructor Description EventAllocator()
-
Method Summary
-
Methods inherited from class javanet.staxutils.events.BaseXMLEventAllocator
allocate, allocate
-
-
-
-
Method Detail
-
newInstance
public XMLEventAllocator newInstance()
-
allocateStartElement
public StartElement allocateStartElement(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateStartElementin classBaseXMLEventAllocator- Throws:
XMLStreamException
-
allocateEndElement
public EndElement allocateEndElement(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateEndElementin classBaseXMLEventAllocator- Throws:
XMLStreamException
-
allocateAttributes
public List allocateAttributes(Location location, XMLStreamReader reader) throws XMLStreamException
- Throws:
XMLStreamException
-
allocateNamespaces
public List allocateNamespaces(Location location, XMLStreamReader reader) throws XMLStreamException
- Throws:
XMLStreamException
-
allocateCData
public Characters allocateCData(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateCDatain classBaseXMLEventAllocator- Throws:
XMLStreamException
-
allocateCharacters
public Characters allocateCharacters(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateCharactersin classBaseXMLEventAllocator- Throws:
XMLStreamException
-
allocateIgnorableSpace
public Characters allocateIgnorableSpace(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateIgnorableSpacein classBaseXMLEventAllocator- Throws:
XMLStreamException
-
allocateComment
public Comment allocateComment(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateCommentin classBaseXMLEventAllocator- Throws:
XMLStreamException
-
allocateDTD
public DTD allocateDTD(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateDTDin classBaseXMLEventAllocator- Throws:
XMLStreamException
-
allocateStartDocument
public StartDocument allocateStartDocument(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateStartDocumentin classBaseXMLEventAllocator- Throws:
XMLStreamException
-
allocateEndDocument
public EndDocument allocateEndDocument(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateEndDocumentin classBaseXMLEventAllocator- Throws:
XMLStreamException
-
allocateEntityReference
public EntityReference allocateEntityReference(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateEntityReferencein classBaseXMLEventAllocator- Throws:
XMLStreamException
-
allocateProcessingInstruction
public ProcessingInstruction allocateProcessingInstruction(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocateProcessingInstructionin classBaseXMLEventAllocator- Throws:
XMLStreamException
-
determineSchemaType
public QName determineSchemaType(XMLStreamReader reader)
-
determineAttributeSchemaType
public QName determineAttributeSchemaType(XMLStreamReader reader, int index)
-
determineEntityDeclaration
public EntityDeclaration determineEntityDeclaration(String name, XMLStreamReader reader)
-
createStableLocation
public Location createStableLocation(XMLStreamReader reader)
- Specified by:
createStableLocationin classBaseXMLEventAllocator
-
createStableNamespaceContext
public NamespaceContext createStableNamespaceContext(XMLStreamReader reader)
- Specified by:
createStableNamespaceContextin classBaseXMLEventAllocator
-
-