org.gjt.xpp.impl.tag

Class Tag

public class Tag extends Object implements XmlTag

Encapsulate XML ETag

Author: Aleksander Slominski

Constructor Summary
protected Tag()
Method Summary
booleanequals(Object o)
StringgetLocalName()
Get start tag localName if namespaces enabled or just qName (see below) if namespaces diabled.
StringgetNamespaceUri()
Get endtag tag uri (meaningful only if namespaces enabled)
StringgetPrefix()
StringgetRawName()
Return end tag name as it is in document (qName).
inthashCode()
voidmodifyTag(String namespaceURI, String localName, String rawName)
this constructor is modeled after SAX2 startTag
protected voidprintFields(StringBuffer buf)
Print into StringBuffer element name
voidresetTag()

Constructor Detail

Tag

protected Tag()

Method Detail

equals

public boolean equals(Object o)

getLocalName

public String getLocalName()
Get start tag localName if namespaces enabled or just qName (see below) if namespaces diabled.

getNamespaceUri

public String getNamespaceUri()
Get endtag tag uri (meaningful only if namespaces enabled)

getPrefix

public String getPrefix()

getRawName

public String getRawName()
Return end tag name as it is in document (qName).

hashCode

public int hashCode()

modifyTag

public void modifyTag(String namespaceURI, String localName, String rawName)
this constructor is modeled after SAX2 startTag

printFields

protected void printFields(StringBuffer buf)
Print into StringBuffer element name

resetTag

public void resetTag()
Copyright (c) 2003 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.

Note this package is deprecated by XPP3 that implements XmlPull API