Class XMLSecStartElementImpl
- java.lang.Object
-
- org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
-
- org.apache.xml.security.stax.impl.stax.XMLSecStartElementImpl
-
- All Implemented Interfaces:
javax.xml.stream.events.StartElement,javax.xml.stream.events.XMLEvent,javax.xml.stream.XMLStreamConstants,XMLSecEvent,XMLSecStartElement
public class XMLSecStartElementImpl extends XMLSecEventBaseImpl implements XMLSecStartElement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
XMLSecEventBaseImpl.LocationImpl
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<XMLSecAttribute>attributesprivate javax.xml.namespace.QNameelementNameprivate XMLSecNamespaceelementNamespaceprivate java.util.List<XMLSecNamespace>namespaces-
Fields inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
parentXMLSecStartELement
-
-
Constructor Summary
Constructors Constructor Description XMLSecStartElementImpl(javax.xml.namespace.QName elementName, java.util.Collection<XMLSecAttribute> attributes, java.util.Collection<XMLSecNamespace> namespaces)XMLSecStartElementImpl(javax.xml.namespace.QName elementName, java.util.List<XMLSecAttribute> attributes, java.util.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()javax.xml.stream.events.AttributegetAttributeByName(javax.xml.namespace.QName name)java.util.Iterator<javax.xml.stream.events.Attribute>getAttributes()voidgetAttributesFromCurrentScope(java.util.List<XMLSecAttribute> comparableAttributeList)intgetDocumentLevel()XMLSecNamespacegetElementNamespace()voidgetElementPath(java.util.List<javax.xml.namespace.QName> list)intgetEventType()javax.xml.namespace.QNamegetName()javax.xml.namespace.NamespaceContextgetNamespaceContext()java.util.Iterator<javax.xml.stream.events.Namespace>getNamespaces()voidgetNamespacesFromCurrentScope(java.util.List<XMLSecNamespace> comparableNamespaceList)java.lang.StringgetNamespaceURI(java.lang.String prefix)java.util.List<XMLSecAttribute>getOnElementDeclaredAttributes()java.util.List<XMLSecNamespace>getOnElementDeclaredNamespaces()XMLSecStartElementgetStartElementAtLevel(int level)booleanisStartElement()voidwriteAsEncodedUnicode(java.io.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
-
-
-
-
Field Detail
-
elementName
private final javax.xml.namespace.QName elementName
-
elementNamespace
private XMLSecNamespace elementNamespace
-
attributes
private java.util.List<XMLSecAttribute> attributes
-
namespaces
private java.util.List<XMLSecNamespace> namespaces
-
-
Constructor Detail
-
XMLSecStartElementImpl
public XMLSecStartElementImpl(javax.xml.namespace.QName elementName, java.util.List<XMLSecAttribute> attributes, java.util.List<XMLSecNamespace> namespaces, XMLSecStartElement parentXmlSecStartElement)
-
XMLSecStartElementImpl
public XMLSecStartElementImpl(javax.xml.namespace.QName elementName, java.util.Collection<XMLSecAttribute> attributes, java.util.Collection<XMLSecNamespace> namespaces)
-
-
Method Detail
-
getName
public javax.xml.namespace.QName getName()
- Specified by:
getNamein interfacejavax.xml.stream.events.StartElement
-
getElementNamespace
public XMLSecNamespace getElementNamespace()
- Specified by:
getElementNamespacein interfaceXMLSecStartElement
-
getAttributes
public java.util.Iterator<javax.xml.stream.events.Attribute> getAttributes()
- Specified by:
getAttributesin interfacejavax.xml.stream.events.StartElement
-
getAttributesFromCurrentScope
public void getAttributesFromCurrentScope(java.util.List<XMLSecAttribute> comparableAttributeList)
- Specified by:
getAttributesFromCurrentScopein interfaceXMLSecStartElement
-
getOnElementDeclaredAttributes
public java.util.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(java.util.List<javax.xml.namespace.QName> list)
- Specified by:
getElementPathin interfaceXMLSecEvent- Overrides:
getElementPathin classXMLSecEventBaseImpl
-
getStartElementAtLevel
public XMLSecStartElement getStartElementAtLevel(int level)
- Specified by:
getStartElementAtLevelin interfaceXMLSecEvent- Overrides:
getStartElementAtLevelin classXMLSecEventBaseImpl
-
getNamespaces
public java.util.Iterator<javax.xml.stream.events.Namespace> getNamespaces()
- Specified by:
getNamespacesin interfacejavax.xml.stream.events.StartElement
-
getNamespacesFromCurrentScope
public void getNamespacesFromCurrentScope(java.util.List<XMLSecNamespace> comparableNamespaceList)
- Specified by:
getNamespacesFromCurrentScopein interfaceXMLSecStartElement
-
getOnElementDeclaredNamespaces
public java.util.List<XMLSecNamespace> getOnElementDeclaredNamespaces()
- Specified by:
getOnElementDeclaredNamespacesin interfaceXMLSecStartElement
-
addNamespace
public void addNamespace(XMLSecNamespace xmlSecNamespace)
- Specified by:
addNamespacein interfaceXMLSecStartElement
-
getAttributeByName
public javax.xml.stream.events.Attribute getAttributeByName(javax.xml.namespace.QName name)
- Specified by:
getAttributeByNamein interfacejavax.xml.stream.events.StartElement
-
getNamespaceContext
public javax.xml.namespace.NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContextin interfacejavax.xml.stream.events.StartElement
-
getNamespaceURI
public java.lang.String getNamespaceURI(java.lang.String prefix)
- Specified by:
getNamespaceURIin interfacejavax.xml.stream.events.StartElement
-
getEventType
public int getEventType()
- Specified by:
getEventTypein interfacejavax.xml.stream.events.XMLEvent
-
isStartElement
public boolean isStartElement()
- Specified by:
isStartElementin interfacejavax.xml.stream.events.XMLEvent- Overrides:
isStartElementin classXMLSecEventBaseImpl
-
asStartElement
public XMLSecStartElement asStartElement()
- Specified by:
asStartElementin interfacejavax.xml.stream.events.XMLEvent- Specified by:
asStartElementin interfaceXMLSecEvent- Specified by:
asStartElementin interfaceXMLSecStartElement- Overrides:
asStartElementin classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(java.io.Writer writer) throws javax.xml.stream.XMLStreamException- Specified by:
writeAsEncodedUnicodein interfacejavax.xml.stream.events.XMLEvent- Overrides:
writeAsEncodedUnicodein classXMLSecEventBaseImpl- Throws:
javax.xml.stream.XMLStreamException
-
-