org.apache.xml.security.stax.impl.stax
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: 1545342 $ $Date: 2013-11-25 17:01:00 +0000 (Mon, 25 Nov 2013) $
- Author:
- $Author: coheigea $
| 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 |
| 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, writeAsEncodedUnicode |
| 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, writeAsEncodedUnicode |
XMLSecStartElementImpl
public XMLSecStartElementImpl(QName elementName,
List<XMLSecAttribute> attributes,
List<XMLSecNamespace> namespaces,
XMLSecStartElement parentXmlSecStartElement)
XMLSecStartElementImpl
public XMLSecStartElementImpl(QName elementName,
Collection<XMLSecAttribute> attributes,
Collection<XMLSecNamespace> namespaces)
getName
public QName getName()
- Specified by:
getName in interface StartElement
getElementNamespace
public XMLSecNamespace getElementNamespace()
- Specified by:
getElementNamespace in interface XMLSecStartElement
getAttributes
public Iterator<XMLSecAttribute> getAttributes()
- Specified by:
getAttributes in interface StartElement
getAttributesFromCurrentScope
public void getAttributesFromCurrentScope(List<XMLSecAttribute> comparableAttributeList)
- Specified by:
getAttributesFromCurrentScope in interface XMLSecStartElement
getOnElementDeclaredAttributes
public List<XMLSecAttribute> getOnElementDeclaredAttributes()
- Specified by:
getOnElementDeclaredAttributes in interface XMLSecStartElement
addAttribute
public void addAttribute(XMLSecAttribute xmlSecAttribute)
- Specified by:
addAttribute in interface XMLSecStartElement
getDocumentLevel
public int getDocumentLevel()
- Specified by:
getDocumentLevel in interface XMLSecEvent- Overrides:
getDocumentLevel in class XMLSecEventBaseImpl
getElementPath
public void getElementPath(List<QName> list)
- Specified by:
getElementPath in interface XMLSecEvent- Overrides:
getElementPath in class XMLSecEventBaseImpl
getStartElementAtLevel
public XMLSecStartElement getStartElementAtLevel(int level)
- Specified by:
getStartElementAtLevel in interface XMLSecEvent- Overrides:
getStartElementAtLevel in class XMLSecEventBaseImpl
getNamespaces
public Iterator<XMLSecNamespace> getNamespaces()
- Specified by:
getNamespaces in interface StartElement
getNamespacesFromCurrentScope
public void getNamespacesFromCurrentScope(List<XMLSecNamespace> comparableNamespaceList)
- Specified by:
getNamespacesFromCurrentScope in interface XMLSecStartElement
getOnElementDeclaredNamespaces
public List<XMLSecNamespace> getOnElementDeclaredNamespaces()
- Specified by:
getOnElementDeclaredNamespaces in interface XMLSecStartElement
addNamespace
public void addNamespace(XMLSecNamespace xmlSecNamespace)
- Specified by:
addNamespace in interface XMLSecStartElement
getAttributeByName
public XMLSecAttribute getAttributeByName(QName name)
- Specified by:
getAttributeByName in interface StartElement
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContext in interface StartElement
getNamespaceURI
public String getNamespaceURI(String prefix)
- Specified by:
getNamespaceURI in interface StartElement
getEventType
public int getEventType()
- Specified by:
getEventType in interface XMLEvent
isStartElement
public boolean isStartElement()
- Specified by:
isStartElement in interface XMLEvent- Overrides:
isStartElement in class XMLSecEventBaseImpl
asStartElement
public XMLSecStartElement asStartElement()
- Specified by:
asStartElement in interface XMLEvent- Specified by:
asStartElement in interface XMLSecEvent- Specified by:
asStartElement in interface XMLSecStartElement- Overrides:
asStartElement in class XMLSecEventBaseImpl
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.