gnu.kawa.xml

Class KElement

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

public class KElement
extends KNode

Field Summary

Fields inherited from class gnu.lists.SeqPosition

ipos, sequence

Constructor Summary

KElement(NodeTree seq, int ipos)

Method Summary

String
getAttribute(String name)
String
getAttributeNS(String namespaceURI, String localName)
KAttr
getAttributeNode(String name)
KAttr
getAttributeNodeNS(String namespaceURI, String localName)
String
getNodeValue()
String
getTagName()
boolean
hasAttribute(String name)
Not implemented yet.
boolean
hasAttributeNS(String namespaceURI, String localName)
boolean
hasAttributes()

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

KElement

public KElement(NodeTree seq,
                int ipos)

Method Details

getAttribute

public String getAttribute(String name)

getAttributeNS

public String getAttributeNS(String namespaceURI,
                             String localName)

getAttributeNode

public KAttr getAttributeNode(String name)

getAttributeNodeNS

public KAttr getAttributeNodeNS(String namespaceURI,
                                String localName)

getNodeValue

public String getNodeValue()
Overrides:
getNodeValue in interface KNode

getTagName

public String getTagName()

hasAttribute

public boolean hasAttribute(String name)
Not implemented yet.

hasAttributeNS

public boolean hasAttributeNS(String namespaceURI,
                              String localName)

hasAttributes

public boolean hasAttributes()
Overrides:
hasAttributes in interface KNode