Class SimpleXMLEventAllocator
- java.lang.Object
-
- org.apache.synapse.commons.staxon.core.event.SimpleXMLEventAllocator
-
- All Implemented Interfaces:
XMLEventAllocator
public class SimpleXMLEventAllocator extends Object implements XMLEventAllocator
Simple implementation ofXMLEventAllocator.
-
-
Constructor Summary
Constructors Constructor Description SimpleXMLEventAllocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLEventallocate(XMLStreamReader reader)voidallocate(XMLStreamReader reader, XMLEventConsumer consumer)XMLEventAllocatornewInstance()
-
-
-
Method Detail
-
newInstance
public XMLEventAllocator newInstance()
- Specified by:
newInstancein interfaceXMLEventAllocator
-
allocate
public XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocatein interfaceXMLEventAllocator- Throws:
XMLStreamException
-
allocate
public void allocate(XMLStreamReader reader, XMLEventConsumer consumer) throws XMLStreamException
- Specified by:
allocatein interfaceXMLEventAllocator- Throws:
XMLStreamException
-
-