Package gnu.kawa.xml
Class KElement
- java.lang.Object
-
- gnu.lists.SeqPosition<Object,NodeTree>
-
- gnu.kawa.xml.KNode
-
- gnu.kawa.xml.KElement
-
- All Implemented Interfaces:
Consumable,Enumeration<Object>,Iterator<Object>,ListIterator<Object>,Element,Node
public class KElement extends KNode implements Element
-
-
Field Summary
-
Fields inherited from class gnu.lists.SeqPosition
ipos, sequence
-
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttribute(String name)KAttrgetAttributeNode(String name)KAttrgetAttributeNodeNS(String namespaceURI, String localName)StringgetAttributeNS(String namespaceURI, String localName)NodeListgetElementsByTagNameNS(String namespaceURI, String localName)shortgetNodeType()StringgetNodeValue()TypeInfogetSchemaTypeInfo()StringgetTagName()booleanhasAttribute(String name)Not implemented yet.booleanhasAttributeNS(String namespaceURI, String localName)booleanhasAttributes()voidremoveAttribute(String name)Not implemented.AttrremoveAttributeNode(Attr oldAttr)Not implemented.voidremoveAttributeNS(String namespaceURI, String localName)Not implemented.voidsetAttribute(String name, String value)Not implemented.AttrsetAttributeNode(Attr newAttr)Not implemented.AttrsetAttributeNodeNS(Attr newAttr)Not implemented.voidsetAttributeNS(String namespaceURI, String qualifiedName, String value)Not implemented.voidsetIdAttribute(String name, boolean isId)Not implemented.voidsetIdAttributeNode(Attr idAttr, boolean isId)Not implemented.voidsetIdAttributeNS(String namespaceURI, String localName, boolean isId)Not implemented.-
Methods inherited from class gnu.kawa.xml.KNode
appendChild, atomicValue, baseURI, cloneNode, coerce, compareDocumentPosition, consume, copy, getAttributes, getBaseURI, getChildNodes, getElementsByTagName, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeNameObject, getNodeSymbol, getNodeValue, getNodeValue, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, make, make, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString
-
Methods inherited from class gnu.lists.SeqPosition
add, 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
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Element
getElementsByTagName
-
Methods inherited from interface java.util.Enumeration
asIterator
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
-
-
-
Constructor Detail
-
KElement
public KElement(NodeTree seq, int ipos)
-
-
Method Detail
-
getNodeType
public short getNodeType()
- Specified by:
getNodeTypein interfaceNode- Specified by:
getNodeTypein classKNode
-
getTagName
public String getTagName()
- Specified by:
getTagNamein interfaceElement
-
getNodeValue
public String getNodeValue()
- Specified by:
getNodeValuein interfaceNode- Overrides:
getNodeValuein classKNode
-
hasAttributes
public boolean hasAttributes()
- Specified by:
hasAttributesin interfaceNode- Overrides:
hasAttributesin classKNode
-
getAttribute
public String getAttribute(String name)
- Specified by:
getAttributein interfaceElement
-
setAttribute
public void setAttribute(String name, String value) throws DOMException
Not implemented.- Specified by:
setAttributein interfaceElement- Throws:
DOMException
-
setIdAttribute
public void setIdAttribute(String name, boolean isId) throws DOMException
Not implemented.- Specified by:
setIdAttributein interfaceElement- Throws:
DOMException
-
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException
Not implemented.- Specified by:
setIdAttributeNSin interfaceElement- Throws:
DOMException
-
setIdAttributeNode
public void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException
Not implemented.- Specified by:
setIdAttributeNodein interfaceElement- Throws:
DOMException
-
removeAttribute
public void removeAttribute(String name) throws DOMException
Not implemented.- Specified by:
removeAttributein interfaceElement- Throws:
DOMException
-
getAttributeNode
public KAttr getAttributeNode(String name)
- Specified by:
getAttributeNodein interfaceElement
-
setAttributeNode
public Attr setAttributeNode(Attr newAttr) throws DOMException
Not implemented.- Specified by:
setAttributeNodein interfaceElement- Throws:
DOMException
-
removeAttributeNode
public Attr removeAttributeNode(Attr oldAttr) throws DOMException
Not implemented.- Specified by:
removeAttributeNodein interfaceElement- Throws:
DOMException
-
getAttributeNS
public String getAttributeNS(String namespaceURI, String localName)
- Specified by:
getAttributeNSin interfaceElement
-
setAttributeNS
public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException
Not implemented.- Specified by:
setAttributeNSin interfaceElement- Throws:
DOMException
-
removeAttributeNS
public void removeAttributeNS(String namespaceURI, String localName) throws DOMException
Not implemented.- Specified by:
removeAttributeNSin interfaceElement- Throws:
DOMException
-
getAttributeNodeNS
public KAttr getAttributeNodeNS(String namespaceURI, String localName)
- Specified by:
getAttributeNodeNSin interfaceElement
-
setAttributeNodeNS
public Attr setAttributeNodeNS(Attr newAttr) throws DOMException
Not implemented.- Specified by:
setAttributeNodeNSin interfaceElement- Throws:
DOMException
-
getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String namespaceURI, String localName)
- Specified by:
getElementsByTagNameNSin interfaceElement
-
hasAttribute
public boolean hasAttribute(String name)
Not implemented yet.- Specified by:
hasAttributein interfaceElement
-
hasAttributeNS
public boolean hasAttributeNS(String namespaceURI, String localName)
- Specified by:
hasAttributeNSin interfaceElement
-
getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()
- Specified by:
getSchemaTypeInfoin interfaceElement
-
-