com.sun.xml.stream.events
Class XMLEventAllocatorImpl
java.lang.Object
com.sun.xml.stream.events.XMLEventAllocatorImpl
- All Implemented Interfaces:
- javax.xml.stream.util.XMLEventAllocator
public class XMLEventAllocatorImpl
- extends java.lang.Object
- implements javax.xml.stream.util.XMLEventAllocator
Implementation of XMLEvent Allocator.
- Author:
- Neeraj.bajaj@sun.com, k.venugopal@sun.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLEventAllocatorImpl
public XMLEventAllocatorImpl()
- Creates a new instance of XMLEventAllocator
allocate
public javax.xml.stream.events.XMLEvent allocate(javax.xml.stream.XMLStreamReader xMLStreamReader)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocate
in interface javax.xml.stream.util.XMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
allocate
public void allocate(javax.xml.stream.XMLStreamReader xMLStreamReader,
javax.xml.stream.util.XMLEventConsumer xMLEventConsumer)
throws javax.xml.stream.XMLStreamException
- Specified by:
allocate
in interface javax.xml.stream.util.XMLEventAllocator
- Throws:
javax.xml.stream.XMLStreamException
newInstance
public javax.xml.stream.util.XMLEventAllocator newInstance()
- Specified by:
newInstance
in interface javax.xml.stream.util.XMLEventAllocator
getNextEvent
protected javax.xml.stream.events.XMLEvent getNextEvent(javax.xml.stream.XMLStreamReader streamReader)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
fillAttributes
protected void fillAttributes(StartElementEvent event,
javax.xml.stream.XMLStreamReader xmlr)
fillNamespaceAttributes
protected void fillNamespaceAttributes(StartElementEvent event,
javax.xml.stream.XMLStreamReader xmlr)
fillNamespaceAttributes
protected void fillNamespaceAttributes(EndElementEvent event,
javax.xml.stream.XMLStreamReader xmlr)
Copyright ? 2002-2003 Apache XML Project. All Rights Reserved.