com.caucho.xml.stream
Class XMLEventAllocatorImpl

java.lang.Object
  extended by com.caucho.xml.stream.XMLEventAllocatorImpl
All Implemented Interfaces:
XMLEventAllocator

public class XMLEventAllocatorImpl
extends java.lang.Object
implements XMLEventAllocator


Constructor Summary
XMLEventAllocatorImpl()
           
 
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

XMLEventAllocatorImpl

public XMLEventAllocatorImpl()
Method Detail

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

newInstance

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