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

java.lang.Object
  extended by org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
All Implemented Interfaces:
XMLEvent, XMLStreamConstants, XMLSecEvent
Direct Known Subclasses:
XMLSecAttributeImpl, XMLSecCharactersImpl, XMLSecCommentImpl, XMLSecDTDImpl, XMLSecEndDocumentImpl, XMLSecEndElementImpl, XMLSecEntityDeclarationImpl, XMLSecEntityReferenceImpl, XMLSecNamespaceImpl, XMLSecProcessingInstructionImpl, XMLSecStartDocumentImpl, XMLSecStartElementImpl

public abstract class XMLSecEventBaseImpl
extends Object
implements XMLSecEvent

Version:
$Revision: 1393096 $ $Date: 2012-10-02 19:59:13 +0100 (Tue, 02 Oct 2012) $
Author:
$Author: giger $

Field Summary
protected  XMLSecStartElement parentXMLSecStartELement
           
 
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
Constructor Summary
XMLSecEventBaseImpl()
           
 
Method Summary
 XMLSecCharacters asCharacters()
           
 XMLSecEndElement asEndElement()
           
 XMLSecStartElement asStartElement()
           
 int getDocumentLevel()
           
 List<QName> getElementPath()
           
 void getElementPath(List<QName> list)
           
protected static
<T> org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl.EmptyIterator<T>
getEmptyIterator()
           
 Location getLocation()
           
 XMLSecStartElement getParentXMLSecStartElement()
           
 QName getSchemaType()
           
 XMLSecStartElement getStartElementAtLevel(int level)
           
 boolean isAttribute()
           
 boolean isCharacters()
           
 boolean isEndDocument()
           
 boolean isEndElement()
           
 boolean isEntityReference()
           
 boolean isNamespace()
           
 boolean isProcessingInstruction()
           
 boolean isStartDocument()
           
 boolean isStartElement()
           
 void setParentXMLSecStartElement(XMLSecStartElement xmlSecStartElement)
           
 void writeAsEncodedUnicode(Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.stream.events.XMLEvent
getEventType
 

Field Detail

parentXMLSecStartELement

protected XMLSecStartElement parentXMLSecStartELement
Constructor Detail

XMLSecEventBaseImpl

public XMLSecEventBaseImpl()
Method Detail

getEmptyIterator

protected static <T> org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl.EmptyIterator<T> getEmptyIterator()

setParentXMLSecStartElement

public void setParentXMLSecStartElement(XMLSecStartElement xmlSecStartElement)
Specified by:
setParentXMLSecStartElement in interface XMLSecEvent

getParentXMLSecStartElement

public XMLSecStartElement getParentXMLSecStartElement()
Specified by:
getParentXMLSecStartElement in interface XMLSecEvent

getDocumentLevel

public int getDocumentLevel()
Specified by:
getDocumentLevel in interface XMLSecEvent

getElementPath

public void getElementPath(List<QName> list)
Specified by:
getElementPath in interface XMLSecEvent

getElementPath

public List<QName> getElementPath()
Specified by:
getElementPath in interface XMLSecEvent

getStartElementAtLevel

public XMLSecStartElement getStartElementAtLevel(int level)
Specified by:
getStartElementAtLevel in interface XMLSecEvent

getLocation

public Location getLocation()
Specified by:
getLocation in interface XMLEvent

isStartElement

public boolean isStartElement()
Specified by:
isStartElement in interface XMLEvent

isAttribute

public boolean isAttribute()
Specified by:
isAttribute in interface XMLEvent

isNamespace

public boolean isNamespace()
Specified by:
isNamespace in interface XMLEvent

isEndElement

public boolean isEndElement()
Specified by:
isEndElement in interface XMLEvent

isEntityReference

public boolean isEntityReference()
Specified by:
isEntityReference in interface XMLEvent

isProcessingInstruction

public boolean isProcessingInstruction()
Specified by:
isProcessingInstruction in interface XMLEvent

isCharacters

public boolean isCharacters()
Specified by:
isCharacters in interface XMLEvent

isStartDocument

public boolean isStartDocument()
Specified by:
isStartDocument in interface XMLEvent

isEndDocument

public boolean isEndDocument()
Specified by:
isEndDocument in interface XMLEvent

asStartElement

public XMLSecStartElement asStartElement()
Specified by:
asStartElement in interface XMLEvent
Specified by:
asStartElement in interface XMLSecEvent

asEndElement

public XMLSecEndElement asEndElement()
Specified by:
asEndElement in interface XMLEvent
Specified by:
asEndElement in interface XMLSecEvent

asCharacters

public XMLSecCharacters asCharacters()
Specified by:
asCharacters in interface XMLEvent
Specified by:
asCharacters in interface XMLSecEvent

getSchemaType

public QName getSchemaType()
Specified by:
getSchemaType in interface XMLEvent

writeAsEncodedUnicode

public void writeAsEncodedUnicode(Writer writer)
                           throws XMLStreamException
Specified by:
writeAsEncodedUnicode in interface XMLEvent
Throws:
XMLStreamException


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