de.odysseus.staxon.event
Class SimpleXMLEventAllocator

java.lang.Object
  extended by de.odysseus.staxon.event.SimpleXMLEventAllocator
All Implemented Interfaces:
XMLEventAllocator

public class SimpleXMLEventAllocator
extends Object
implements XMLEventAllocator

Simple implementation of XMLEventAllocator.


Constructor Summary
SimpleXMLEventAllocator()
           
 
Method Summary
 XMLEvent allocate(XMLStreamReader reader)
           
 void allocate(XMLStreamReader reader, XMLEventConsumer consumer)
           
 XMLEventAllocator newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleXMLEventAllocator

public SimpleXMLEventAllocator()
Method Detail

newInstance

public XMLEventAllocator newInstance()
Specified by:
newInstance in interface XMLEventAllocator

allocate

public XMLEvent allocate(XMLStreamReader reader)
                  throws XMLStreamException
Specified by:
allocate in interface XMLEventAllocator
Throws:
XMLStreamException

allocate

public void allocate(XMLStreamReader reader,
                     XMLEventConsumer consumer)
              throws XMLStreamException
Specified by:
allocate in interface XMLEventAllocator
Throws:
XMLStreamException


Copyright © 2011-2012. All Rights Reserved.