Class XMLSecEventBaseImpl
- java.lang.Object
-
- 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: 1659901 $ $Date: 2015-02-15 10:11:24 +0100 (Sun, 15 Feb 2015) $
- Author:
- $Author: giger $
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description XMLSecEventBaseImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
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 interfaceXMLSecEvent
-
getParentXMLSecStartElement
public XMLSecStartElement getParentXMLSecStartElement()
- Specified by:
getParentXMLSecStartElement
in interfaceXMLSecEvent
-
getDocumentLevel
public int getDocumentLevel()
- Specified by:
getDocumentLevel
in interfaceXMLSecEvent
-
getElementPath
public void getElementPath(List<QName> list)
- Specified by:
getElementPath
in interfaceXMLSecEvent
-
getElementPath
public List<QName> getElementPath()
- Specified by:
getElementPath
in interfaceXMLSecEvent
-
getStartElementAtLevel
public XMLSecStartElement getStartElementAtLevel(int level)
- Specified by:
getStartElementAtLevel
in interfaceXMLSecEvent
-
getLocation
public Location getLocation()
- Specified by:
getLocation
in interfaceXMLEvent
-
isStartElement
public boolean isStartElement()
- Specified by:
isStartElement
in interfaceXMLEvent
-
isAttribute
public boolean isAttribute()
- Specified by:
isAttribute
in interfaceXMLEvent
-
isNamespace
public boolean isNamespace()
- Specified by:
isNamespace
in interfaceXMLEvent
-
isEndElement
public boolean isEndElement()
- Specified by:
isEndElement
in interfaceXMLEvent
-
isEntityReference
public boolean isEntityReference()
- Specified by:
isEntityReference
in interfaceXMLEvent
-
isProcessingInstruction
public boolean isProcessingInstruction()
- Specified by:
isProcessingInstruction
in interfaceXMLEvent
-
isCharacters
public boolean isCharacters()
- Specified by:
isCharacters
in interfaceXMLEvent
-
isStartDocument
public boolean isStartDocument()
- Specified by:
isStartDocument
in interfaceXMLEvent
-
isEndDocument
public boolean isEndDocument()
- Specified by:
isEndDocument
in interfaceXMLEvent
-
asStartElement
public XMLSecStartElement asStartElement()
- Specified by:
asStartElement
in interfaceXMLEvent
- Specified by:
asStartElement
in interfaceXMLSecEvent
-
asEndElement
public XMLSecEndElement asEndElement()
- Specified by:
asEndElement
in interfaceXMLEvent
- Specified by:
asEndElement
in interfaceXMLSecEvent
-
asCharacters
public XMLSecCharacters asCharacters()
- Specified by:
asCharacters
in interfaceXMLEvent
- Specified by:
asCharacters
in interfaceXMLSecEvent
-
getSchemaType
public QName getSchemaType()
- Specified by:
getSchemaType
in interfaceXMLEvent
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Throws:
XMLStreamException
-
-