public class XMLSecStartElementImpl extends XMLSecEventBaseImpl implements XMLSecStartElement
parentXMLSecStartELementATTRIBUTE, 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, setParentXMLSecStartElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasCharacters, asEndElement, getElementPath, getParentXMLSecStartElement, setParentXMLSecStartElementgetLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocumentpublic 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 StartElementpublic XMLSecNamespace getElementNamespace()
getElementNamespace in interface XMLSecStartElementpublic Iterator<Attribute> getAttributes()
getAttributes in interface StartElementpublic void getAttributesFromCurrentScope(List<XMLSecAttribute> comparableAttributeList)
getAttributesFromCurrentScope in interface XMLSecStartElementpublic List<XMLSecAttribute> getOnElementDeclaredAttributes()
getOnElementDeclaredAttributes in interface XMLSecStartElementpublic void addAttribute(XMLSecAttribute xmlSecAttribute)
addAttribute in interface XMLSecStartElementpublic int getDocumentLevel()
getDocumentLevel in interface XMLSecEventgetDocumentLevel in class XMLSecEventBaseImplpublic void getElementPath(List<QName> list)
getElementPath in interface XMLSecEventgetElementPath in class XMLSecEventBaseImplpublic XMLSecStartElement getStartElementAtLevel(int level)
getStartElementAtLevel in interface XMLSecEventgetStartElementAtLevel in class XMLSecEventBaseImplpublic Iterator<Namespace> getNamespaces()
getNamespaces in interface StartElementpublic void getNamespacesFromCurrentScope(List<XMLSecNamespace> comparableNamespaceList)
getNamespacesFromCurrentScope in interface XMLSecStartElementpublic List<XMLSecNamespace> getOnElementDeclaredNamespaces()
getOnElementDeclaredNamespaces in interface XMLSecStartElementpublic void addNamespace(XMLSecNamespace xmlSecNamespace)
addNamespace in interface XMLSecStartElementpublic Attribute getAttributeByName(QName name)
getAttributeByName in interface StartElementpublic NamespaceContext getNamespaceContext()
getNamespaceContext in interface StartElementpublic String getNamespaceURI(String prefix)
getNamespaceURI in interface StartElementpublic int getEventType()
getEventType in interface XMLEventpublic boolean isStartElement()
isStartElement in interface XMLEventisStartElement in class XMLSecEventBaseImplpublic XMLSecStartElement asStartElement()
asStartElement in interface XMLEventasStartElement in interface XMLSecEventasStartElement in interface XMLSecStartElementasStartElement in class XMLSecEventBaseImplpublic void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
writeAsEncodedUnicode in interface XMLEventwriteAsEncodedUnicode in class XMLSecEventBaseImplXMLStreamExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.