|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.trantor.xml.pullparser.event.StartTag
A class for events indicating the start of a new element
| Fields inherited from interface de.trantor.xml.pullparser.event.ParseEvent |
CHARACTERS,
COMMENT,
END_DOCUMENT,
END_TAG,
IGNORABLE_WHITESPACE,
PROCESSING_INSTRUCTION,
START_TAG |
| Constructor Summary | |
StartTag(java.lang.String namespace,
java.lang.String prefix,
java.lang.String name,
Attribute[] attributes,
int attributeCount,
java.util.Map newNamespaceDeclarations,
java.util.Map allNamespaceDeclarations)
creates a new StartTag |
|
| Method Summary | |
java.util.Map |
getAllNamespaceDeclarations()
returns a Map containing the prefix mappings defined at this element start tag |
Attribute |
getAttribute(int index)
returns the attribute at the given index position |
Attribute |
getAttribute(java.lang.String name)
returns the local attribute with the given name. convenience method for getAttribute (null, name); |
Attribute |
getAttribute(java.lang.String namespace,
java.lang.String name)
returns the local attribute with the given qualified name. |
int |
getAttributeCount()
returns the number of attributes |
java.lang.String |
getName()
returns the (local) name of the element started |
java.lang.String |
getNamespace()
returns namespace |
java.util.Map |
getNewNamespaceDeclarations()
returns a Map containing the prefix mappings defined at this element start tag |
java.lang.String |
getPrefix()
returns namespace prefix |
int |
getType()
returns the integer constant assigned to this event type (DocumentEvent.START_ELEMENT). |
java.lang.String |
toString()
returns an writeable String representation of the StartTag |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public StartTag(java.lang.String namespace,
java.lang.String prefix,
java.lang.String name,
Attribute[] attributes,
int attributeCount,
java.util.Map newNamespaceDeclarations,
java.util.Map allNamespaceDeclarations)
| Method Detail |
public Attribute getAttribute(int index)
public Attribute getAttribute(java.lang.String name)
public Attribute getAttribute(java.lang.String namespace,
java.lang.String name)
public int getAttributeCount()
public java.lang.String getName()
public java.lang.String getNamespace()
public java.util.Map getNewNamespaceDeclarations()
public java.util.Map getAllNamespaceDeclarations()
public java.lang.String getPrefix()
public int getType()
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||