|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines accessors to inherited attributes of nodes, and provides support for using XML Namespaces.
Field Summary |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
int |
getIndexOf(org.w3c.dom.Node maybeChild)
Returns the index of the node in the list of children, such that item() will return that child. |
String |
getInheritedAttribute(String name)
Returns the value of a given attribute, tracing up through ancestors if needed. |
String |
getLanguage()
Returns the language id (value of xml:lang
attribute) applicable to this node, if known. |
boolean |
isReadonly()
Method to allow easy determination of whether a node is read only. |
void |
setReadonly(boolean deep)
Sets the node to be readonly; applies recursively to the children of this node if the parameter is true. |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.apache.crimson.tree.XmlWritable |
writeChildrenXml, writeXml |
Method Detail |
public String getInheritedAttribute(String name)
name
- The name of the attribute to be found. Colons in
this are ignored.
public String getLanguage()
xml:lang
attribute) applicable to this node, if known. Traces up
through ancestors as needed.
public int getIndexOf(org.w3c.dom.Node maybeChild)
maybeChild
- the node which may be a child of this one
public void setReadonly(boolean deep)
deep
- If true
recursively set the nodes in the
subtree under the current node to be read only.
If false
then set only the current node to be
readonlypublic boolean isReadonly()
true
if the node is read only
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |