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
-
Nested Class Summary
Nested classes/interfaces inherited from class XMLSecEventBaseImpl
XMLSecEventBaseImpl.LocationImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<XMLSecAttribute> private final QNameprivate XMLSecNamespaceprivate List<XMLSecNamespace> Fields inherited from class XMLSecEventBaseImpl
parentXMLSecStartELementFields inherited from interface 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
ConstructorsConstructorDescriptionXMLSecStartElementImpl(QName elementName, Collection<XMLSecAttribute> attributes, Collection<XMLSecNamespace> namespaces) XMLSecStartElementImpl(QName elementName, List<XMLSecAttribute> attributes, List<XMLSecNamespace> namespaces, XMLSecStartElement parentXmlSecStartElement) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(XMLSecAttribute xmlSecAttribute) voidaddNamespace(XMLSecNamespace xmlSecNamespace) getAttributeByName(QName name) voidgetAttributesFromCurrentScope(List<XMLSecAttribute> comparableAttributeList) intvoidgetElementPath(List<QName> list) intgetName()voidgetNamespacesFromCurrentScope(List<XMLSecNamespace> comparableNamespaceList) getNamespaceURI(String prefix) getStartElementAtLevel(int level) booleanvoidwriteAsEncodedUnicode(Writer writer) Methods inherited from class XMLSecEventBaseImpl
asCharacters, asEndElement, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, setParentXMLSecStartElementMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XMLEvent
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocumentMethods inherited from interface XMLSecEvent
asCharacters, asEndElement, getElementPath, getParentXMLSecStartElement, setParentXMLSecStartElement
-
Field Details
-
elementName
-
elementNamespace
-
attributes
-
namespaces
-
-
Constructor Details
-
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 Details
-
getName
- Specified by:
getNamein interfaceStartElement
-
getElementNamespace
- Specified by:
getElementNamespacein interfaceXMLSecStartElement
-
getAttributes
- Specified by:
getAttributesin interfaceStartElement
-
getAttributesFromCurrentScope
- Specified by:
getAttributesFromCurrentScopein interfaceXMLSecStartElement
-
getOnElementDeclaredAttributes
- Specified by:
getOnElementDeclaredAttributesin interfaceXMLSecStartElement
-
addAttribute
- Specified by:
addAttributein interfaceXMLSecStartElement
-
getDocumentLevel
public int getDocumentLevel()- Specified by:
getDocumentLevelin interfaceXMLSecEvent- Overrides:
getDocumentLevelin classXMLSecEventBaseImpl
-
getElementPath
- Specified by:
getElementPathin interfaceXMLSecEvent- Overrides:
getElementPathin classXMLSecEventBaseImpl
-
getStartElementAtLevel
- Specified by:
getStartElementAtLevelin interfaceXMLSecEvent- Overrides:
getStartElementAtLevelin classXMLSecEventBaseImpl
-
getNamespaces
- Specified by:
getNamespacesin interfaceStartElement
-
getNamespacesFromCurrentScope
- Specified by:
getNamespacesFromCurrentScopein interfaceXMLSecStartElement
-
getOnElementDeclaredNamespaces
- Specified by:
getOnElementDeclaredNamespacesin interfaceXMLSecStartElement
-
addNamespace
- Specified by:
addNamespacein interfaceXMLSecStartElement
-
getAttributeByName
- Specified by:
getAttributeByNamein interfaceStartElement
-
getNamespaceContext
- Specified by:
getNamespaceContextin interfaceStartElement
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceStartElement
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLEvent
-
isStartElement
public boolean isStartElement()- Specified by:
isStartElementin interfaceXMLEvent- Overrides:
isStartElementin classXMLSecEventBaseImpl
-
asStartElement
- Specified by:
asStartElementin interfaceXMLEvent- Specified by:
asStartElementin interfaceXMLSecEvent- Specified by:
asStartElementin interfaceXMLSecStartElement- Overrides:
asStartElementin classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Overrides:
writeAsEncodedUnicodein classXMLSecEventBaseImpl- Throws:
XMLStreamException
-