org.apache.xml.security.stax.impl
Class XMLSecurityEventReader

java.lang.Object
  extended by org.apache.xml.security.stax.impl.XMLSecurityEventReader
All Implemented Interfaces:
Iterator, XMLEventReader

public class XMLSecurityEventReader
extends Object
implements XMLEventReader

Version:
$Revision: 1354896 $ $Date: 2012-06-28 11:11:05 +0100 (Thu, 28 Jun 2012) $
Author:
$Author: coheigea $

Constructor Summary
XMLSecurityEventReader(Deque<XMLSecEvent> xmlSecEvents, int fromIndex)
           
 
Method Summary
 void close()
           
 String getElementText()
           
 Object getProperty(String name)
           
 boolean hasNext()
           
 Object next()
           
 XMLEvent nextEvent()
           
 XMLEvent nextTag()
           
 XMLEvent peek()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSecurityEventReader

public XMLSecurityEventReader(Deque<XMLSecEvent> xmlSecEvents,
                              int fromIndex)
Method Detail

nextEvent

public XMLEvent nextEvent()
                   throws XMLStreamException
Specified by:
nextEvent in interface XMLEventReader
Throws:
XMLStreamException

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator
Specified by:
hasNext in interface XMLEventReader

peek

public XMLEvent peek()
              throws XMLStreamException
Specified by:
peek in interface XMLEventReader
Throws:
XMLStreamException

getElementText

public String getElementText()
                      throws XMLStreamException
Specified by:
getElementText in interface XMLEventReader
Throws:
XMLStreamException

nextTag

public XMLEvent nextTag()
                 throws XMLStreamException
Specified by:
nextTag in interface XMLEventReader
Throws:
XMLStreamException

getProperty

public Object getProperty(String name)
                   throws IllegalArgumentException
Specified by:
getProperty in interface XMLEventReader
Throws:
IllegalArgumentException

close

public void close()
           throws XMLStreamException
Specified by:
close in interface XMLEventReader
Throws:
XMLStreamException

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.