gnu.kawa.xml

Class KDocument

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

public class KDocument
extends KNode

Field Summary

Fields inherited from class gnu.lists.SeqPosition

ipos, sequence

Constructor Summary

KDocument(NodeTree seq, int ipos)

Method Summary

Node
adoptNode(Node source)
Attr
createAttribute(String name)
Not implemented.
Attr
createAttributeNS(String namespaceURI, String qualifiedName)
Not implemented.
CDATASection
createCDATASection(String data)
Not implemented.
Comment
createComment(String data)
Not implemented.
DocumentFragment
createDocumentFragment()
Not implemented.
Element
createElement(String tagName)
Not implemented.
Element
createElementNS(String namespaceURI, String qualifiedName)
Not implemented.
EntityReference
createEntityReference(String name)
Not implemented.
ProcessingInstruction
createProcessingInstruction(String target, String data)
Not implemented.
Text
createTextNode(String data)
Not implemented.
DocumentType
getDoctype()
String
getDocumentURI()
Element
getElementById(String elementId)
NodeList
getElementsByTagNameNS(String namespaceURI, String localName)
Not implemented yet.
DOMImplementation
getImplementation()
String
getInputEncoding()
String
getNodeName()
short
getNodeType()
String
getNodeValue()
Node
getParentNode()
boolean
getStrictErrorChecking()
String
getTextContent()
protected void
getTextContent(StringBuffer sbuf)
String
getXmlEncoding()
boolean
getXmlStandalone()
String
getXmlVersion()
boolean
hasAttributes()
Node
importNode(Node importedNode, boolean deep)
Not implemented.
void
normalizeDocument()
Node
renameNode(Node n, String namespaceURI, String qualifiedname)
void
setDocumentURI(String documentURI)
void
setStrictErrorChecking(boolean strictErrorChecking)
void
setXmlStandalone(boolean xmlStandalone)
void
setXmlVersion(String xmlVersion)

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

KDocument

public KDocument(NodeTree seq,
                 int ipos)

Method Details

adoptNode

public Node adoptNode(Node source)
            throws DOMException

createAttribute

public Attr createAttribute(String name)
Not implemented.

createAttributeNS

public Attr createAttributeNS(String namespaceURI,
                              String qualifiedName)
Not implemented.

createCDATASection

public CDATASection createCDATASection(String data)
Not implemented.

createComment

public Comment createComment(String data)
Not implemented.

createDocumentFragment

public DocumentFragment createDocumentFragment()
Not implemented.

createElement

public Element createElement(String tagName)
Not implemented.

createElementNS

public Element createElementNS(String namespaceURI,
                               String qualifiedName)
Not implemented.

createEntityReference

public EntityReference createEntityReference(String name)
Not implemented.

createProcessingInstruction

public ProcessingInstruction createProcessingInstruction(String target,
                                                         String data)
Not implemented.

createTextNode

public Text createTextNode(String data)
Not implemented.

getDoctype

public DocumentType getDoctype()

getDocumentURI

public String getDocumentURI()

getElementById

public Element getElementById(String elementId)

getElementsByTagNameNS

public NodeList getElementsByTagNameNS(String namespaceURI,
                                       String localName)
Not implemented yet.

getImplementation

public DOMImplementation getImplementation()

getInputEncoding

public String getInputEncoding()

getNodeName

public String getNodeName()
Overrides:
getNodeName in interface KNode

getNodeType

public short getNodeType()
Overrides:
getNodeType in interface KNode

getNodeValue

public String getNodeValue()
Overrides:
getNodeValue in interface KNode

getParentNode

public Node getParentNode()

getStrictErrorChecking

public boolean getStrictErrorChecking()

getTextContent

public String getTextContent()
Overrides:
getTextContent in interface KNode

getTextContent

protected void getTextContent(StringBuffer sbuf)
Overrides:
getTextContent in interface KNode

getXmlEncoding

public String getXmlEncoding()

getXmlStandalone

public boolean getXmlStandalone()

getXmlVersion

public String getXmlVersion()

hasAttributes

public boolean hasAttributes()
Overrides:
hasAttributes in interface KNode

importNode

public Node importNode(Node importedNode,
                       boolean deep)
Not implemented.

normalizeDocument

public void normalizeDocument()

renameNode

public Node renameNode(Node n,
                       String namespaceURI,
                       String qualifiedname)
            throws DOMException

setDocumentURI

public void setDocumentURI(String documentURI)

setStrictErrorChecking

public void setStrictErrorChecking(boolean strictErrorChecking)

setXmlStandalone

public void setXmlStandalone(boolean xmlStandalone)

setXmlVersion

public void setXmlVersion(String xmlVersion)