Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public XMLEvent | allocate(XMLStreamReader
The XMLStreamReader to allocate from xMLStreamReader)Implements javax. This method allocates an event given the current state of the XMLStreamReader. |
public void | allocate(XMLStreamReader
The XMLStreamReader to allocate from xMLStreamReader, XMLEventConsumer The XMLEventConsumer to add to. xMLEventConsumer)Implements javax. This method allocates an event or set of events given the current state of the XMLStreamReader and adds the event or set of events to the consumer that was passed in. This method can be used to expand or contract reader states into event states. |
protected void | |
protected void | |
protected void | |
protected XMLEvent | |
private QName | |
pack-priv XMLEvent | |
public XMLEventAllocator | newInstance()
Implements javax. This method creates an instance of the XMLEventAllocator. |
private void |
XMLEventAllocatorImpl | back to summary |
---|---|
public XMLEventAllocatorImpl() Creates a new instance of XMLEventAllocator |
allocate | back to summary |
---|---|
public XMLEvent allocate(XMLStreamReader xMLStreamReader) throws XMLStreamException Implements javax. Doc from javax. This method allocates an event given the current state of the XMLStreamReader. If this XMLEventAllocator does not have a one-to-one mapping between reader states and events this method will return null. This method must not modify the state of the XMLStreamReader.
|
allocate | back to summary |
---|---|
public void allocate(XMLStreamReader xMLStreamReader, XMLEventConsumer xMLEventConsumer) throws XMLStreamException Implements javax. Doc from javax. This method allocates an event or set of events given the current state of the XMLStreamReader and adds the event or set of events to the consumer that was passed in. This method can be used to expand or contract reader states into event states. This method may modify the state of the XMLStreamReader.
|
fillAttributes | back to summary |
---|---|
protected void fillAttributes(StartElementEvent event, XMLStreamReader xmlr) |
fillNamespaceAttributes | back to summary |
---|---|
protected void fillNamespaceAttributes(StartElementEvent event, XMLStreamReader xmlr) |
fillNamespaceAttributes | back to summary |
---|---|
protected void fillNamespaceAttributes(EndElementEvent event, XMLStreamReader xmlr) |
getNextEvent | back to summary |
---|---|
protected XMLEvent getNextEvent(XMLStreamReader streamReader) throws XMLStreamException |
getQName | back to summary |
---|---|
private QName getQName(XMLStreamReader xmlr) |
getXMLEvent | back to summary |
---|---|
pack-priv XMLEvent getXMLEvent(XMLStreamReader streamReader) |
newInstance | back to summary |
---|---|
public XMLEventAllocator newInstance() Implements javax. Doc from javax. This method creates an instance of the XMLEventAllocator. This allows the XMLInputFactory to allocate a new instance per reader.
|
setNamespaceContext | back to summary |
---|---|
private void setNamespaceContext(StartElementEvent event, XMLStreamReader xmlr) |