|
||||||||||
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 | |
Node |
appendChild(Node newChild)
Unimplemented. |
void |
appendData(java.lang.String arg)
Unimplemented. |
Node |
cloneNode(boolean deep)
Unimplemented. |
Attr |
createAttribute(java.lang.String name)
Unimplemented. |
Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Unimplemented. |
CDATASection |
createCDATASection(java.lang.String data)
Unimplemented. |
Comment |
createComment(java.lang.String data)
Unimplemented. |
DocumentFragment |
createDocumentFragment()
Unimplemented. |
Element |
createElement(java.lang.String tagName)
Unimplemented. |
Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Unimplemented. |
EntityReference |
createEntityReference(java.lang.String name)
Unimplemented. |
ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data)
Unimplemented. |
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. |
Attr |
getAttributeNode(java.lang.String name)
Unimplemented. |
Attr |
getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.String localName)
Unimplemented. |
java.lang.String |
getAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
Unimplemented. |
NamedNodeMap |
getAttributes()
Unimplemented. |
NodeList |
getChildNodes()
Unimplemented. |
DocumentType |
getDoctype()
Unimplemented. |
Element |
getDocumentElement()
Unimplemented. |
Element |
getElementById(java.lang.String elementId)
Unimplemented. |
NodeList |
getElementsByTagName(java.lang.String name)
Unimplemented. |
NodeList |
getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
Unimplemented. |
Node |
getFirstChild()
Unimplemented. |
DOMImplementation |
getImplementation()
Unimplemented. |
Node |
getLastChild()
Unimplemented. |
int |
getLength()
Unimplemented. |
java.lang.String |
getLocalName()
Unimplemented. |
java.lang.String |
getNamespaceURI()
Unimplemented. |
Node |
getNextSibling()
Unimplemented. |
java.lang.String |
getNodeName()
Unimplemented. |
short |
getNodeType()
Unimplemented. |
java.lang.String |
getNodeValue()
Unimplemented. |
Document |
getOwnerDocument()
Unimplemented. |
Element |
getOwnerElement()
Unimplemented. |
Node |
getParentNode()
Unimplemented. |
java.lang.String |
getPrefix()
Unimplemented. |
Node |
getPreviousSibling()
Unimplemented. |
boolean |
getSpecified()
Unimplemented. |
java.lang.String |
getTagName()
Unimplemented. |
boolean |
hasAttribute(java.lang.String name)
Unimplemented. |
boolean |
hasAttributeNS(java.lang.String name,
java.lang.String x)
Unimplemented. |
boolean |
hasAttributes()
Unimplemented. |
boolean |
hasChildNodes()
Unimplemented. |
Node |
importNode(Node importedNode,
boolean deep)
Unimplemented. |
Node |
insertBefore(Node newChild,
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. |
Node |
item(int index)
Unimplemented. |
void |
normalize()
Unimplemented. |
void |
removeAttribute(java.lang.String name)
Unimplemented. |
Attr |
removeAttributeNode(Attr oldAttr)
Unimplemented. |
void |
removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
Unimplemented. |
Node |
removeChild(Node oldChild)
Unimplemented. |
Node |
replaceChild(Node newChild,
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. |
Attr |
setAttributeNode(Attr newAttr)
Unimplemented. |
Attr |
setAttributeNodeNS(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 |
setNodeValue(java.lang.String nodeValue)
Unimplemented. |
void |
setPrefix(java.lang.String prefix)
Unimplemented. |
void |
setValue(java.lang.String value)
Unimplemented. |
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 Node appendChild(Node newChild) throws DOMException
newChild
- New node to append to the list of this node's childrenpublic boolean hasChildNodes()
public short getNodeType()
public Node getParentNode()
public NodeList getChildNodes()
public Node getFirstChild()
public Node getLastChild()
public Node getNextSibling()
public int getLength()
public Node item(int index)
index
- index of a child of this node in its list of childrenpublic Document getOwnerDocument()
public java.lang.String getTagName()
public java.lang.String getNodeName()
public void normalize()
public NodeList getElementsByTagName(java.lang.String name)
name
- Name of the elementpublic Attr removeAttributeNode(Attr oldAttr) throws DOMException
oldAttr
- Attribute to be removed from this node's list of attributespublic Attr setAttributeNode(Attr newAttr) throws 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 Attr getAttributeNode(java.lang.String name)
name
- Attribute node namepublic void removeAttribute(java.lang.String name) throws DOMException
name
- Attribute node name to remove from list of attributespublic void setAttribute(java.lang.String name, java.lang.String value) throws 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 NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
namespaceURI
- Namespace URI of the elementlocalName
- Local part of qualified name of the elementpublic Attr setAttributeNodeNS(Attr newAttr) throws DOMException
newAttr
- Attribute to setpublic 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 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 DOMException
namespaceURI
- Namespace URI of attribute node to setlocalName
- Local part of qualified name of attribute node to setvalue
- 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 Node getPreviousSibling()
public Node cloneNode(boolean deep)
deep
- Flag indicating whether to clone deep (clone member variables)public java.lang.String getNodeValue() throws DOMException
public void setNodeValue(java.lang.String nodeValue) throws DOMException
nodeValue
- Value to set this node topublic void setValue(java.lang.String value) throws DOMException
value
- Value to set this node topublic Element getOwnerElement()
public boolean getSpecified()
public NamedNodeMap getAttributes()
public Node insertBefore(Node newChild, Node refChild) throws DOMException
newChild
- New child node to insertrefChild
- Insert in front of this childpublic Node replaceChild(Node newChild, Node oldChild) throws DOMException
newChild
- Replace existing child with this oneoldChild
- Existing child to be replacedpublic Node removeChild(Node oldChild) throws 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
.false
public java.lang.String getNamespaceURI()
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix) throws DOMException
prefix
- Prefix to set for this nodepublic java.lang.String getLocalName()
public DocumentType getDoctype()
public DOMImplementation getImplementation()
public Element getDocumentElement()
public Element createElement(java.lang.String tagName) throws DOMException
tagName
- Element tag namepublic DocumentFragment createDocumentFragment()
public Text createTextNode(java.lang.String data)
data
- Data for text nodepublic Comment createComment(java.lang.String data)
data
- Data for commentpublic CDATASection createCDATASection(java.lang.String data) throws DOMException
data
- Data for CDATA sectionpublic ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data) throws DOMException
target
- Target for Processing instructiondata
- Data for Processing instructionpublic Attr createAttribute(java.lang.String name) throws DOMException
name
- Attribute namepublic EntityReference createEntityReference(java.lang.String name) throws DOMException
name
- Entity Reference namepublic Node importNode(Node importedNode, boolean deep) throws 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.public Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws DOMException
namespaceURI
- Namespace URI for the elementqualifiedName
- Qualified name of the elementpublic Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws DOMException
namespaceURI
- Namespace URI of the attributequalifiedName
- Qualified name of the attributepublic Element getElementById(java.lang.String elementId)
elementId
- ID of the element to getpublic void setData(java.lang.String data) throws DOMException
data
- data to set for this nodepublic java.lang.String substringData(int offset, int count) throws DOMException
offset
- Start offset of substring to extract.count
- The length of the substring to extract.public void appendData(java.lang.String arg) throws DOMException
arg
- String data to appendpublic void insertData(int offset, java.lang.String arg) throws DOMException
offset
- Start offset of substring to insert.count
- The length of the substring to insert.public void deleteData(int offset, int count) throws 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 DOMException
offset
- Start offset of substring to replace.count
- The length of the substring to replace.arg
- substring to replace withpublic Text splitText(int offset) throws DOMException
offset
- Offset into text to split
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |