public class XMLSecStartElementImpl extends XMLSecEventBaseImpl implements XMLSecStartElement
parentXMLSecStartELement
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
XMLSecStartElementImpl(QName elementName,
Collection<XMLSecAttribute> attributes,
Collection<XMLSecNamespace> namespaces) |
XMLSecStartElementImpl(QName elementName,
List<XMLSecAttribute> attributes,
List<XMLSecNamespace> namespaces,
XMLSecStartElement parentXmlSecStartElement) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(XMLSecAttribute xmlSecAttribute) |
void |
addNamespace(XMLSecNamespace xmlSecNamespace) |
XMLSecStartElement |
asStartElement() |
Attribute |
getAttributeByName(QName name) |
Iterator<Attribute> |
getAttributes() |
void |
getAttributesFromCurrentScope(List<XMLSecAttribute> comparableAttributeList) |
int |
getDocumentLevel() |
XMLSecNamespace |
getElementNamespace() |
void |
getElementPath(List<QName> list) |
int |
getEventType() |
QName |
getName() |
NamespaceContext |
getNamespaceContext() |
Iterator<Namespace> |
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) |
asCharacters, asEndElement, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, setParentXMLSecStartElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asCharacters, asEndElement, getElementPath, getParentXMLSecStartElement, setParentXMLSecStartElement
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument
public XMLSecStartElementImpl(QName elementName, List<XMLSecAttribute> attributes, List<XMLSecNamespace> namespaces, XMLSecStartElement parentXmlSecStartElement)
public XMLSecStartElementImpl(QName elementName, Collection<XMLSecAttribute> attributes, Collection<XMLSecNamespace> namespaces)
public QName getName()
getName
in interface StartElement
public XMLSecNamespace getElementNamespace()
getElementNamespace
in interface XMLSecStartElement
public Iterator<Attribute> getAttributes()
getAttributes
in interface StartElement
public void getAttributesFromCurrentScope(List<XMLSecAttribute> comparableAttributeList)
getAttributesFromCurrentScope
in interface XMLSecStartElement
public List<XMLSecAttribute> getOnElementDeclaredAttributes()
getOnElementDeclaredAttributes
in interface XMLSecStartElement
public void addAttribute(XMLSecAttribute xmlSecAttribute)
addAttribute
in interface XMLSecStartElement
public int getDocumentLevel()
getDocumentLevel
in interface XMLSecEvent
getDocumentLevel
in class XMLSecEventBaseImpl
public void getElementPath(List<QName> list)
getElementPath
in interface XMLSecEvent
getElementPath
in class XMLSecEventBaseImpl
public XMLSecStartElement getStartElementAtLevel(int level)
getStartElementAtLevel
in interface XMLSecEvent
getStartElementAtLevel
in class XMLSecEventBaseImpl
public Iterator<Namespace> getNamespaces()
getNamespaces
in interface StartElement
public void getNamespacesFromCurrentScope(List<XMLSecNamespace> comparableNamespaceList)
getNamespacesFromCurrentScope
in interface XMLSecStartElement
public List<XMLSecNamespace> getOnElementDeclaredNamespaces()
getOnElementDeclaredNamespaces
in interface XMLSecStartElement
public void addNamespace(XMLSecNamespace xmlSecNamespace)
addNamespace
in interface XMLSecStartElement
public Attribute getAttributeByName(QName name)
getAttributeByName
in interface StartElement
public NamespaceContext getNamespaceContext()
getNamespaceContext
in interface StartElement
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface StartElement
public int getEventType()
getEventType
in interface XMLEvent
public boolean isStartElement()
isStartElement
in interface XMLEvent
isStartElement
in class XMLSecEventBaseImpl
public XMLSecStartElement asStartElement()
asStartElement
in interface XMLEvent
asStartElement
in interface XMLSecEvent
asStartElement
in interface XMLSecStartElement
asStartElement
in class XMLSecEventBaseImpl
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
writeAsEncodedUnicode
in class XMLSecEventBaseImpl
XMLStreamException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.