gnu.kawa.xml

Class KAttr

Implemented Interfaces:
java.util.Enumeration, java.util.ListIterator

public class KAttr
extends KNode

Field Summary

Fields inherited from class gnu.lists.SeqPosition

ipos, sequence

Constructor Summary

KAttr(NodeTree seq, int ipos)

Method Summary

String
getName()
short
getNodeType()
Object
getObjectValue()
Get attribute value as (typed) Object, rather than string.
boolean
getSpecified()
String
getValue()

Methods inherited from class gnu.kawa.xml.KNode

coerce, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue, getNodeValue, getPrefix, getTextContent, getTextContent, hasAttributes, hasChildNodes, isDefaultNamespace, isSupported, lookupNamespaceURI, lookupPrefix, make, make, normalize, toString

Methods inherited from class gnu.lists.SeqPosition

add, copy, finalize, fromEndIndex, getContainingSequenceSize, getNext, getNextKind, getNextTypeName, getNextTypeObject, getPos, getPrevious, gotoChildrenStart, gotoEnd, gotoNext, gotoPrevious, gotoStart, hasMoreElements, hasNext, hasPrevious, isAfter, make, next, nextElement, nextIndex, previous, previousIndex, release, remove, set, set, set, setNext, setPos, setPos, setPrevious, toInfo, toString

Constructor Details

KAttr

public KAttr(NodeTree seq,
             int ipos)

Method Details

getName

public String getName()

getNodeType

public short getNodeType()
Overrides:
getNodeType in interface KNode

getObjectValue

public Object getObjectValue()
Get attribute value as (typed) Object, rather than string.

getSpecified

public boolean getSpecified()

getValue

public String getValue()