Class XMLSecStartElementImpl
- java.lang.Object
-
- org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
-
- org.apache.xml.security.stax.impl.stax.XMLSecStartElementImpl
-
- All Implemented Interfaces:
StartElement
,XMLEvent
,XMLStreamConstants
,XMLSecEvent
,XMLSecStartElement
public class XMLSecStartElementImpl extends XMLSecEventBaseImpl implements XMLSecStartElement
- Version:
- $Revision: 1659901 $ $Date: 2015-02-15 10:11:24 +0100 (Sun, 15 Feb 2015) $
- Author:
- $Author: giger $
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
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 XMLSecStartElementImpl(QName elementName, Collection<XMLSecAttribute> attributes, Collection<XMLSecNamespace> namespaces)
XMLSecStartElementImpl(QName elementName, List<XMLSecAttribute> attributes, List<XMLSecNamespace> namespaces, XMLSecStartElement parentXmlSecStartElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(XMLSecAttribute xmlSecAttribute)
void
addNamespace(XMLSecNamespace xmlSecNamespace)
XMLSecStartElement
asStartElement()
XMLSecAttribute
getAttributeByName(QName name)
Iterator<XMLSecAttribute>
getAttributes()
void
getAttributesFromCurrentScope(List<XMLSecAttribute> comparableAttributeList)
int
getDocumentLevel()
XMLSecNamespace
getElementNamespace()
void
getElementPath(List<QName> list)
int
getEventType()
QName
getName()
NamespaceContext
getNamespaceContext()
Iterator<XMLSecNamespace>
getNamespaces()
void
getNamespacesFromCurrentScope(List<XMLSecNamespace> comparableNamespaceList)
String
getNamespaceURI(String prefix)
List<XMLSecAttribute>
getOnElementDeclaredAttributes()
List<XMLSecNamespace>
getOnElementDeclaredNamespaces()
XMLSecStartElement
getStartElementAtLevel(int level)
boolean
isStartElement()
void
writeAsEncodedUnicode(Writer writer)
-
Methods inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
asCharacters, asEndElement, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, setParentXMLSecStartElement
-
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
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument
-
Methods inherited from interface org.apache.xml.security.stax.ext.stax.XMLSecEvent
asCharacters, asEndElement, getElementPath, getParentXMLSecStartElement, setParentXMLSecStartElement
-
-
-
-
Constructor Detail
-
XMLSecStartElementImpl
public XMLSecStartElementImpl(QName elementName, List<XMLSecAttribute> attributes, List<XMLSecNamespace> namespaces, XMLSecStartElement parentXmlSecStartElement)
-
XMLSecStartElementImpl
public XMLSecStartElementImpl(QName elementName, Collection<XMLSecAttribute> attributes, Collection<XMLSecNamespace> namespaces)
-
-
Method Detail
-
getName
public QName getName()
- Specified by:
getName
in interfaceStartElement
-
getElementNamespace
public XMLSecNamespace getElementNamespace()
- Specified by:
getElementNamespace
in interfaceXMLSecStartElement
-
getAttributes
public Iterator<XMLSecAttribute> getAttributes()
- Specified by:
getAttributes
in interfaceStartElement
-
getAttributesFromCurrentScope
public void getAttributesFromCurrentScope(List<XMLSecAttribute> comparableAttributeList)
- Specified by:
getAttributesFromCurrentScope
in interfaceXMLSecStartElement
-
getOnElementDeclaredAttributes
public List<XMLSecAttribute> getOnElementDeclaredAttributes()
- Specified by:
getOnElementDeclaredAttributes
in interfaceXMLSecStartElement
-
addAttribute
public void addAttribute(XMLSecAttribute xmlSecAttribute)
- Specified by:
addAttribute
in interfaceXMLSecStartElement
-
getDocumentLevel
public int getDocumentLevel()
- Specified by:
getDocumentLevel
in interfaceXMLSecEvent
- Overrides:
getDocumentLevel
in classXMLSecEventBaseImpl
-
getElementPath
public void getElementPath(List<QName> list)
- Specified by:
getElementPath
in interfaceXMLSecEvent
- Overrides:
getElementPath
in classXMLSecEventBaseImpl
-
getStartElementAtLevel
public XMLSecStartElement getStartElementAtLevel(int level)
- Specified by:
getStartElementAtLevel
in interfaceXMLSecEvent
- Overrides:
getStartElementAtLevel
in classXMLSecEventBaseImpl
-
getNamespaces
public Iterator<XMLSecNamespace> getNamespaces()
- Specified by:
getNamespaces
in interfaceStartElement
-
getNamespacesFromCurrentScope
public void getNamespacesFromCurrentScope(List<XMLSecNamespace> comparableNamespaceList)
- Specified by:
getNamespacesFromCurrentScope
in interfaceXMLSecStartElement
-
getOnElementDeclaredNamespaces
public List<XMLSecNamespace> getOnElementDeclaredNamespaces()
- Specified by:
getOnElementDeclaredNamespaces
in interfaceXMLSecStartElement
-
addNamespace
public void addNamespace(XMLSecNamespace xmlSecNamespace)
- Specified by:
addNamespace
in interfaceXMLSecStartElement
-
getAttributeByName
public XMLSecAttribute getAttributeByName(QName name)
- Specified by:
getAttributeByName
in interfaceStartElement
-
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContext
in interfaceStartElement
-
getNamespaceURI
public String getNamespaceURI(String prefix)
- Specified by:
getNamespaceURI
in interfaceStartElement
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interfaceXMLEvent
-
isStartElement
public boolean isStartElement()
- Specified by:
isStartElement
in interfaceXMLEvent
- Overrides:
isStartElement
in classXMLSecEventBaseImpl
-
asStartElement
public XMLSecStartElement asStartElement()
- Specified by:
asStartElement
in interfaceXMLEvent
- Specified by:
asStartElement
in interfaceXMLSecEvent
- Specified by:
asStartElement
in interfaceXMLSecStartElement
- Overrides:
asStartElement
in classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Overrides:
writeAsEncodedUnicode
in classXMLSecEventBaseImpl
- Throws:
XMLStreamException
-
-