public class StartEventDelegate extends ElementEvent implements StartElement
Modifier and Type | Field and Description |
---|---|
private java.util.Map |
namespaceMap |
private StartElement |
se |
content, location, name, schemaType, type
CHANGE_PREFIX_MAPPING, CHARACTER_DATA, COMMENT, END_DOCUMENT, END_ELEMENT, END_PREFIX_MAPPING, ENTITY_REFERENCE, NULL_ELEMENT, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT, START_PREFIX_MAPPING, XML_EVENT
Constructor and Description |
---|
StartEventDelegate(StartElement startElement,
java.util.Map namespaceMap) |
Modifier and Type | Method and Description |
---|---|
Attribute |
getAttributeByName(XMLName name)
Returns the attribute referred to by this name
|
AttributeIterator |
getAttributes()
Returns an AttributeIterator of non-namespace declared attributes
|
AttributeIterator |
getAttributesAndNamespaces()
Returns the union of declared attributes and namespaces
|
java.util.Map |
getNamespaceMap()
Gets a java.util.Map from prefixes to URIs in scope for this
element.
|
AttributeIterator |
getNamespaces()
Returns an AttributeIterator of namespaces declared in this element
|
java.lang.String |
getNamespaceUri(java.lang.String prefix)
Gets the value that the prefix is bound to in the
context of this element.
|
clone, compare, equals, getLocation, getName, getSchemaType, getType, getTypeAsString, hashCode, hasName, init, isChangePrefixMapping, isCharacterData, isEndDocument, isEndElement, isEndPrefixMapping, isEntityReference, isNull, isProcessingInstruction, isSpace, isStartDocument, isStartElement, isStartPrefixMapping, setName, setSchemaType, setType
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getLocation, getName, getSchemaType, getType, getTypeAsString, hasName, isChangePrefixMapping, isCharacterData, isEndDocument, isEndElement, isEndPrefixMapping, isEntityReference, isNull, isProcessingInstruction, isSpace, isStartDocument, isStartElement, isStartPrefixMapping
private StartElement se
private java.util.Map namespaceMap
public StartEventDelegate(StartElement startElement, java.util.Map namespaceMap)
public AttributeIterator getAttributes()
StartElement
getAttributes
in interface StartElement
public AttributeIterator getNamespaces()
StartElement
getNamespaces
in interface StartElement
public AttributeIterator getAttributesAndNamespaces()
StartElement
getAttributesAndNamespaces
in interface StartElement
public Attribute getAttributeByName(XMLName name)
StartElement
getAttributeByName
in interface StartElement
public java.lang.String getNamespaceUri(java.lang.String prefix)
StartElement
getNamespaceUri
in interface StartElement
public java.util.Map getNamespaceMap()
StartElement
getNamespaceMap
in interface StartElement