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 XMLEvent
allocate(XMLStreamReader reader)
void
allocate(XMLStreamReader reader, XMLEventConsumer consumer)
XMLEventAllocator
newInstance()
-
-
-
Method Detail
-
newInstance
public XMLEventAllocator newInstance()
- Specified by:
newInstance
in interfaceXMLEventAllocator
-
allocate
public XMLEvent allocate(XMLStreamReader reader) throws XMLStreamException
- Specified by:
allocate
in interfaceXMLEventAllocator
- Throws:
XMLStreamException
-
allocate
public void allocate(XMLStreamReader reader, XMLEventConsumer consumer) throws XMLStreamException
- Specified by:
allocate
in interfaceXMLEventAllocator
- Throws:
XMLStreamException
-
-