gnu.kawa.xml

Class KAttr

Implemented Interfaces:
Consumable, 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()
Object
getObjectValue()
Get attribute value as (typed) Object, rather than string.
static Object
getObjectValue(NodeTree sequence, int ipos)
boolean
getSpecified()
String
getValue()

Methods inherited from class gnu.kawa.xml.KNode

atomicValue, baseURI, coerce, consume, copy, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeName, getNodeNameObject, getNodeSymbol, getNodeValue, getNodeValue, 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()

getObjectValue

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

getObjectValue

public static Object getObjectValue(NodeTree sequence,
                                    int ipos)

getSpecified

public boolean getSpecified()

getValue

public String getValue()