|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.utils.UnImplNode
**For internal use only** To be subclassed by classes that wish to fake being nodes.
Constructor Summary | |
UnImplNode()
Constructor UnImplNode |
Method Summary | |
org.w3c.dom.Node |
adoptNode(org.w3c.dom.Node source)
NEEDSDOC Method adoptNode NEEDSDOC @param source NEEDSDOC (adoptNode) @return |
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild)
Unimplemented. |
void |
appendData(java.lang.String arg)
Unimplemented. |
org.w3c.dom.Node |
cloneNode(boolean deep)
Unimplemented. |
org.w3c.dom.Attr |
createAttribute(java.lang.String name)
Unimplemented. |
org.w3c.dom.Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Unimplemented. |
org.w3c.dom.CDATASection |
createCDATASection(java.lang.String data)
Unimplemented. |
org.w3c.dom.Comment |
createComment(java.lang.String data)
Unimplemented. |
org.w3c.dom.DocumentFragment |
createDocumentFragment()
Unimplemented. |
org.w3c.dom.Element |
createElement(java.lang.String tagName)
Unimplemented. |
org.w3c.dom.Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Unimplemented. |
org.w3c.dom.EntityReference |
createEntityReference(java.lang.String name)
Unimplemented. |
org.w3c.dom.ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data)
Unimplemented. |
org.w3c.dom.Text |
createTextNode(java.lang.String data)
Unimplemented. |
void |
deleteData(int offset,
int count)
Unimplemented. |
void |
error(int msg)
Throw an error. |
void |
error(int msg,
java.lang.Object[] args)
Throw an error. |
java.lang.String |
getAttribute(java.lang.String name)
Unimplemented. |
org.w3c.dom.Attr |
getAttributeNode(java.lang.String name)
Unimplemented. |
org.w3c.dom.Attr |
getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.String localName)
Unimplemented. |
java.lang.String |
getAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
Unimplemented. |
org.w3c.dom.NamedNodeMap |
getAttributes()
Unimplemented. |
org.w3c.dom.NodeList |
getChildNodes()
Unimplemented. |
org.w3c.dom.DocumentType |
getDoctype()
Unimplemented. |
org.w3c.dom.Element |
getDocumentElement()
Unimplemented. |
org.w3c.dom.Element |
getElementById(java.lang.String elementId)
Unimplemented. |
org.w3c.dom.NodeList |
getElementsByTagName(java.lang.String name)
Unimplemented. |
org.w3c.dom.NodeList |
getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
Unimplemented. |
java.lang.String |
getEncoding()
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.. |
org.w3c.dom.Node |
getFirstChild()
Unimplemented. |
org.w3c.dom.DOMImplementation |
getImplementation()
Unimplemented. |
org.w3c.dom.Node |
getLastChild()
Unimplemented. |
int |
getLength()
Unimplemented. |
java.lang.String |
getLocalName()
Unimplemented. |
java.lang.String |
getNamespaceURI()
Unimplemented. |
org.w3c.dom.Node |
getNextSibling()
Unimplemented. |
java.lang.String |
getNodeName()
Unimplemented. |
short |
getNodeType()
Unimplemented. |
java.lang.String |
getNodeValue()
Unimplemented. |
org.w3c.dom.Document |
getOwnerDocument()
Unimplemented. |
org.w3c.dom.Element |
getOwnerElement()
Unimplemented. |
org.w3c.dom.Node |
getParentNode()
Unimplemented. |
java.lang.String |
getPrefix()
Unimplemented. |
org.w3c.dom.Node |
getPreviousSibling()
Unimplemented. |
boolean |
getSpecified()
Unimplemented. |
boolean |
getStandalone()
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.. |
boolean |
getStrictErrorChecking()
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.. |
java.lang.String |
getTagName()
Unimplemented. |
java.lang.String |
getVersion()
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.. |
boolean |
hasAttribute(java.lang.String name)
Unimplemented. |
boolean |
hasAttributeNS(java.lang.String name,
java.lang.String x)
Unimplemented. |
boolean |
hasAttributes()
Unimplemented. |
boolean |
hasChildNodes()
Unimplemented. |
org.w3c.dom.Node |
importNode(org.w3c.dom.Node importedNode,
boolean deep)
Unimplemented. |
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
Unimplemented. |
void |
insertData(int offset,
java.lang.String arg)
Unimplemented. |
boolean |
isSupported(java.lang.String feature,
java.lang.String version)
Tests whether the DOM implementation implements a specific feature and that feature is supported by this node. |
org.w3c.dom.Node |
item(int index)
Unimplemented. |
void |
normalize()
Unimplemented. |
void |
removeAttribute(java.lang.String name)
Unimplemented. |
org.w3c.dom.Attr |
removeAttributeNode(org.w3c.dom.Attr oldAttr)
Unimplemented. |
void |
removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
Unimplemented. |
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild)
Unimplemented. |
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
Unimplemented. |
void |
replaceData(int offset,
int count,
java.lang.String arg)
Unimplemented. |
void |
setAttribute(java.lang.String name,
java.lang.String value)
Unimplemented. |
org.w3c.dom.Attr |
setAttributeNode(org.w3c.dom.Attr newAttr)
Unimplemented. |
org.w3c.dom.Attr |
setAttributeNodeNS(org.w3c.dom.Attr newAttr)
Unimplemented. |
void |
setAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
Unimplemented. |
void |
setData(java.lang.String data)
Set Node data |
void |
setEncoding(java.lang.String encoding)
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.. |
void |
setNodeValue(java.lang.String nodeValue)
Unimplemented. |
void |
setPrefix(java.lang.String prefix)
Unimplemented. |
void |
setStandalone(boolean standalone)
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.. |
void |
setStrictErrorChecking(boolean strictErrorChecking)
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.. |
void |
setValue(java.lang.String value)
Unimplemented. |
void |
setVersion(java.lang.String version)
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.. |
org.w3c.dom.Text |
splitText(int offset)
Unimplemented. |
java.lang.String |
substringData(int offset,
int count)
Unimplemented. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public UnImplNode()
Method Detail |
public void error(int msg)
msg
- Message code for the errorpublic void error(int msg, java.lang.Object[] args)
msg
- Message code for the errorargs
- Array of arguments to be used in the error messagepublic org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) throws org.w3c.dom.DOMException
newChild
- New node to append to the list of this node's childrenpublic boolean hasChildNodes()
public short getNodeType()
public org.w3c.dom.Node getParentNode()
public org.w3c.dom.NodeList getChildNodes()
public org.w3c.dom.Node getFirstChild()
public org.w3c.dom.Node getLastChild()
public org.w3c.dom.Node getNextSibling()
public int getLength()
public org.w3c.dom.Node item(int index)
index
- index of a child of this node in its list of childrenpublic org.w3c.dom.Document getOwnerDocument()
public java.lang.String getTagName()
public java.lang.String getNodeName()
public void normalize()
public org.w3c.dom.NodeList getElementsByTagName(java.lang.String name)
name
- Name of the elementpublic org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr oldAttr) throws org.w3c.dom.DOMException
oldAttr
- Attribute to be removed from this node's list of attributespublic org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr) throws org.w3c.dom.DOMException
newAttr
- Attribute node to be added to this node's list of attributespublic boolean hasAttribute(java.lang.String name)
name
- Name of an attributepublic boolean hasAttributeNS(java.lang.String name, java.lang.String x)
name
- x
- public org.w3c.dom.Attr getAttributeNode(java.lang.String name)
name
- Attribute node namepublic void removeAttribute(java.lang.String name) throws org.w3c.dom.DOMException
name
- Attribute node name to remove from list of attributespublic void setAttribute(java.lang.String name, java.lang.String value) throws org.w3c.dom.DOMException
name
- Name of attribute to setvalue
- Value of attributepublic java.lang.String getAttribute(java.lang.String name)
name
- Name of attribute to getpublic boolean hasAttributes()
public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
namespaceURI
- Namespace URI of the elementlocalName
- Local part of qualified name of the elementpublic org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr newAttr) throws org.w3c.dom.DOMException
newAttr
- Attribute to setpublic org.w3c.dom.Attr getAttributeNodeNS(java.lang.String namespaceURI, java.lang.String localName)
namespaceURI
- Namespace URI of attribute node to getlocalName
- Local part of qualified name of attribute node to getpublic void removeAttributeNS(java.lang.String namespaceURI, java.lang.String localName) throws org.w3c.dom.DOMException
namespaceURI
- Namespace URI of attribute node to removelocalName
- Local part of qualified name of attribute node to removepublic void setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value) throws org.w3c.dom.DOMException
namespaceURI
- Namespace URI of attribute node to setlocalName
- Local part of qualified name of attribute node to set
NEEDSDOC @param qualifiedNamevalue
- value of attributepublic java.lang.String getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
namespaceURI
- Namespace URI of attribute node to getlocalName
- Local part of qualified name of attribute node to getpublic org.w3c.dom.Node getPreviousSibling()
public org.w3c.dom.Node cloneNode(boolean deep)
deep
- Flag indicating whether to clone deep (clone member variables)public java.lang.String getNodeValue() throws org.w3c.dom.DOMException
public void setNodeValue(java.lang.String nodeValue) throws org.w3c.dom.DOMException
nodeValue
- Value to set this node topublic void setValue(java.lang.String value) throws org.w3c.dom.DOMException
value
- Value to set this node topublic org.w3c.dom.Element getOwnerElement()
public boolean getSpecified()
public org.w3c.dom.NamedNodeMap getAttributes()
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild) throws org.w3c.dom.DOMException
newChild
- New child node to insertrefChild
- Insert in front of this childpublic org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
newChild
- Replace existing child with this oneoldChild
- Existing child to be replacedpublic org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
oldChild
- Child to be removedpublic boolean isSupported(java.lang.String feature, java.lang.String version)
featureThe
- name of the feature to test. This is the same name
which can be passed to the method hasFeature
on
DOMImplementation
.versionThis
- is the version number of the feature to test. In
Level 2, version 1, this is the string "2.0". If the version is not
specified, supporting any version of the feature will cause the
method to return true
.
NEEDSDOC @param feature
NEEDSDOC @param versionfalse
public java.lang.String getNamespaceURI()
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix) throws org.w3c.dom.DOMException
prefix
- Prefix to set for this nodepublic java.lang.String getLocalName()
public org.w3c.dom.DocumentType getDoctype()
public org.w3c.dom.DOMImplementation getImplementation()
public org.w3c.dom.Element getDocumentElement()
public org.w3c.dom.Element createElement(java.lang.String tagName) throws org.w3c.dom.DOMException
tagName
- Element tag namepublic org.w3c.dom.DocumentFragment createDocumentFragment()
public org.w3c.dom.Text createTextNode(java.lang.String data)
data
- Data for text nodepublic org.w3c.dom.Comment createComment(java.lang.String data)
data
- Data for commentpublic org.w3c.dom.CDATASection createCDATASection(java.lang.String data) throws org.w3c.dom.DOMException
data
- Data for CDATA sectionpublic org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data) throws org.w3c.dom.DOMException
target
- Target for Processing instructiondata
- Data for Processing instructionpublic org.w3c.dom.Attr createAttribute(java.lang.String name) throws org.w3c.dom.DOMException
name
- Attribute namepublic org.w3c.dom.EntityReference createEntityReference(java.lang.String name) throws org.w3c.dom.DOMException
name
- Entity Reference namepublic org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode, boolean deep) throws org.w3c.dom.DOMException
importedNodeThe
- node to import.deepIf
- true
, recursively import the subtree under
the specified node; if false
, import only the node
itself, as explained above. This has no effect on Attr
, EntityReference
, and Notation
nodes.
NEEDSDOC @param importedNode
NEEDSDOC @param deeppublic org.w3c.dom.Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
namespaceURI
- Namespace URI for the elementqualifiedName
- Qualified name of the elementpublic org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
namespaceURI
- Namespace URI of the attributequalifiedName
- Qualified name of the attributepublic org.w3c.dom.Element getElementById(java.lang.String elementId)
elementId
- ID of the element to getpublic void setData(java.lang.String data) throws org.w3c.dom.DOMException
data
- data to set for this nodepublic java.lang.String substringData(int offset, int count) throws org.w3c.dom.DOMException
offset
- Start offset of substring to extract.count
- The length of the substring to extract.public void appendData(java.lang.String arg) throws org.w3c.dom.DOMException
arg
- String data to appendpublic void insertData(int offset, java.lang.String arg) throws org.w3c.dom.DOMException
offset
- Start offset of substring to insert.count
- The length of the substring to insert.
NEEDSDOC @param argpublic void deleteData(int offset, int count) throws org.w3c.dom.DOMException
offset
- Start offset of substring to delete.count
- The length of the substring to delete.public void replaceData(int offset, int count, java.lang.String arg) throws org.w3c.dom.DOMException
offset
- Start offset of substring to replace.count
- The length of the substring to replace.arg
- substring to replace withpublic org.w3c.dom.Text splitText(int offset) throws org.w3c.dom.DOMException
offset
- Offset into text to splitpublic org.w3c.dom.Node adoptNode(org.w3c.dom.Node source) throws org.w3c.dom.DOMException
public java.lang.String getEncoding()
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001..
An attribute specifying, as part of the XML declaration, the encoding
of this document. This is null
when unspecified.
public void setEncoding(java.lang.String encoding)
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001..
An attribute specifying, as part of the XML declaration, the encoding
of this document. This is null
when unspecified.
public boolean getStandalone()
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001..
An attribute specifying, as part of the XML declaration, whether this document is standalone.
public void setStandalone(boolean standalone)
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001..
An attribute specifying, as part of the XML declaration, whether this document is standalone.
public boolean getStrictErrorChecking()
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001..
An attribute specifying whether errors checking is enforced or not.
When set to false
, the implementation is free to not
test every possible error case normally defined on DOM operations,
and not raise any DOMException
. In case of error, the
behavior is undefined. This attribute is true
by
defaults.
public void setStrictErrorChecking(boolean strictErrorChecking)
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001..
An attribute specifying whether errors checking is enforced or not.
When set to false
, the implementation is free to not
test every possible error case normally defined on DOM operations,
and not raise any DOMException
. In case of error, the
behavior is undefined. This attribute is true
by
defaults.
public java.lang.String getVersion()
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001..
An attribute specifying, as part of the XML declaration, the version
number of this document. This is null
when unspecified.
public void setVersion(java.lang.String version)
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001..
An attribute specifying, as part of the XML declaration, the version
number of this document. This is null
when unspecified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |