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 voidaddAttribute(XMLSecAttribute xmlSecAttribute)voidaddNamespace(XMLSecNamespace xmlSecNamespace)XMLSecStartElementasStartElement()XMLSecAttributegetAttributeByName(QName name)Iterator<XMLSecAttribute>getAttributes()voidgetAttributesFromCurrentScope(List<XMLSecAttribute> comparableAttributeList)intgetDocumentLevel()XMLSecNamespacegetElementNamespace()voidgetElementPath(List<QName> list)intgetEventType()QNamegetName()NamespaceContextgetNamespaceContext()Iterator<XMLSecNamespace>getNamespaces()voidgetNamespacesFromCurrentScope(List<XMLSecNamespace> comparableNamespaceList)StringgetNamespaceURI(String prefix)List<XMLSecAttribute>getOnElementDeclaredAttributes()List<XMLSecNamespace>getOnElementDeclaredNamespaces()XMLSecStartElementgetStartElementAtLevel(int level)booleanisStartElement()voidwriteAsEncodedUnicode(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:
getNamein interfaceStartElement
-
getElementNamespace
public XMLSecNamespace getElementNamespace()
- Specified by:
getElementNamespacein interfaceXMLSecStartElement
-
getAttributes
public Iterator<XMLSecAttribute> getAttributes()
- Specified by:
getAttributesin interfaceStartElement
-
getAttributesFromCurrentScope
public void getAttributesFromCurrentScope(List<XMLSecAttribute> comparableAttributeList)
- Specified by:
getAttributesFromCurrentScopein interfaceXMLSecStartElement
-
getOnElementDeclaredAttributes
public List<XMLSecAttribute> getOnElementDeclaredAttributes()
- Specified by:
getOnElementDeclaredAttributesin interfaceXMLSecStartElement
-
addAttribute
public void addAttribute(XMLSecAttribute xmlSecAttribute)
- Specified by:
addAttributein interfaceXMLSecStartElement
-
getDocumentLevel
public int getDocumentLevel()
- Specified by:
getDocumentLevelin interfaceXMLSecEvent- Overrides:
getDocumentLevelin classXMLSecEventBaseImpl
-
getElementPath
public void getElementPath(List<QName> list)
- Specified by:
getElementPathin interfaceXMLSecEvent- Overrides:
getElementPathin classXMLSecEventBaseImpl
-
getStartElementAtLevel
public XMLSecStartElement getStartElementAtLevel(int level)
- Specified by:
getStartElementAtLevelin interfaceXMLSecEvent- Overrides:
getStartElementAtLevelin classXMLSecEventBaseImpl
-
getNamespaces
public Iterator<XMLSecNamespace> getNamespaces()
- Specified by:
getNamespacesin interfaceStartElement
-
getNamespacesFromCurrentScope
public void getNamespacesFromCurrentScope(List<XMLSecNamespace> comparableNamespaceList)
- Specified by:
getNamespacesFromCurrentScopein interfaceXMLSecStartElement
-
getOnElementDeclaredNamespaces
public List<XMLSecNamespace> getOnElementDeclaredNamespaces()
- Specified by:
getOnElementDeclaredNamespacesin interfaceXMLSecStartElement
-
addNamespace
public void addNamespace(XMLSecNamespace xmlSecNamespace)
- Specified by:
addNamespacein interfaceXMLSecStartElement
-
getAttributeByName
public XMLSecAttribute getAttributeByName(QName name)
- Specified by:
getAttributeByNamein interfaceStartElement
-
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContextin interfaceStartElement
-
getNamespaceURI
public String getNamespaceURI(String prefix)
- Specified by:
getNamespaceURIin interfaceStartElement
-
getEventType
public int getEventType()
- Specified by:
getEventTypein interfaceXMLEvent
-
isStartElement
public boolean isStartElement()
- Specified by:
isStartElementin interfaceXMLEvent- Overrides:
isStartElementin classXMLSecEventBaseImpl
-
asStartElement
public XMLSecStartElement asStartElement()
- Specified by:
asStartElementin interfaceXMLEvent- Specified by:
asStartElementin interfaceXMLSecEvent- Specified by:
asStartElementin interfaceXMLSecStartElement- Overrides:
asStartElementin classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Overrides:
writeAsEncodedUnicodein classXMLSecEventBaseImpl- Throws:
XMLStreamException
-
-