javanet.staxutils.events
Class EventAllocator
java.lang.Object
javanet.staxutils.events.BaseXMLEventAllocator
javanet.staxutils.events.EventAllocator
- All Implemented Interfaces:
- javax.xml.stream.util.XMLEventAllocator
public class EventAllocator
- extends BaseXMLEventAllocator
Allocates events within this package.
- Version:
- $Revision: 1.1 $
- Author:
- Christian Niles
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventAllocator
public EventAllocator()
newInstance
public javax.xml.stream.util.XMLEventAllocator newInstance()
allocateStartElement
public javax.xml.stream.events.StartElement allocateStartElement(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateStartElement in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocateEndElement
public javax.xml.stream.events.EndElement allocateEndElement(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateEndElement in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocateAttributes
public java.util.List allocateAttributes(javax.xml.stream.Location location,
javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
allocateNamespaces
public java.util.List allocateNamespaces(javax.xml.stream.Location location,
javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
allocateCData
public javax.xml.stream.events.Characters allocateCData(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateCData in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocateCharacters
public javax.xml.stream.events.Characters allocateCharacters(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateCharacters in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocateIgnorableSpace
public javax.xml.stream.events.Characters allocateIgnorableSpace(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateIgnorableSpace in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocateComment
public javax.xml.stream.events.Comment allocateComment(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateComment in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocateDTD
public javax.xml.stream.events.DTD allocateDTD(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateDTD in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocateStartDocument
public javax.xml.stream.events.StartDocument allocateStartDocument(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateStartDocument in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocateEndDocument
public javax.xml.stream.events.EndDocument allocateEndDocument(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateEndDocument in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocateEntityReference
public javax.xml.stream.events.EntityReference allocateEntityReference(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateEntityReference in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocateProcessingInstruction
public javax.xml.stream.events.ProcessingInstruction allocateProcessingInstruction(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocateProcessingInstruction in class BaseXMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
determineSchemaType
public javax.xml.namespace.QName determineSchemaType(javax.xml.stream.XMLStreamReader reader)
determineAttributeSchemaType
public javax.xml.namespace.QName determineAttributeSchemaType(javax.xml.stream.XMLStreamReader reader,
int index)
determineEntityDeclaration
public javax.xml.stream.events.EntityDeclaration determineEntityDeclaration(java.lang.String name,
javax.xml.stream.XMLStreamReader reader)
createStableLocation
public javax.xml.stream.Location createStableLocation(javax.xml.stream.XMLStreamReader reader)
- Specified by:
createStableLocation in class BaseXMLEventAllocator
createStableNamespaceContext
public javax.xml.namespace.NamespaceContext createStableNamespaceContext(javax.xml.stream.XMLStreamReader reader)
- Specified by:
createStableNamespaceContext in class BaseXMLEventAllocator
Copyright © 2013. All Rights Reserved.