appendInnerTextImpl
protected void appendInnerTextImpl(StringBuffer buffer)
assignAttributeField
protected void assignAttributeField(String normalName,
String value)
createSimilarNode
protected Node createSimilarNode()
Should create a node with some cloned properties, like the node name,
but not attributes or children.
- createSimilarNode in interface NodeImpl
getAttribute
public final String getAttribute(String name)
getAttributeNS
public String getAttributeNS(String namespaceURI,
String localName)
throws DOMException
getAttributeNode
public Attr getAttributeNode(String name)
getAttributeNodeNS
public Attr getAttributeNodeNS(String namespaceURI,
String localName)
throws DOMException
getDir
public String getDir()
getElementsByTagName
public NodeList getElementsByTagName(String name)
getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String namespaceURI,
String localName)
throws DOMException
getId
public String getId()
getInnerText
public String getInnerText()
Attempts to convert the subtree starting at this point to a close text
representation. BR elements are converted to line breaks, and so forth.
getLang
public String getLang()
getRawInnerText
protected String getRawInnerText(boolean includeComment)
Gets inner text of the element, possibly including text in comments.
This can be used to get Javascript code out of a SCRIPT element.
getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()
getTagName
public String getTagName()
getTitle
public String getTitle()
hasAttribute
public boolean hasAttribute(String name)
hasAttributeNS
public boolean hasAttributeNS(String namespaceURI,
String localName)
throws DOMException
isTagName
protected static boolean isTagName(Node node,
String name)
normalizeAttributeName
protected final String normalizeAttributeName(String name)
removeAttribute
public void removeAttribute(String name)
throws DOMException
removeAttributeNS
public void removeAttributeNS(String namespaceURI,
String localName)
throws DOMException
removeAttributeNode
public Attr removeAttributeNode(Attr oldAttr)
throws DOMException
setAttribute
public void setAttribute(String name,
String value)
throws DOMException
setAttributeImpl
public void setAttributeImpl(String name,
String value)
throws DOMException
Fast method to set attributes. It is not thread safe.
Calling thread should hold a treeLock.
setAttributeNS
public void setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
throws DOMException
setAttributeNode
public Attr setAttributeNode(Attr newAttr)
throws DOMException
setAttributeNodeNS
public Attr setAttributeNodeNS(Attr newAttr)
throws DOMException
setDir
public void setDir(String dir)
setId
public void setId(String id)
setIdAttribute
public void setIdAttribute(String name,
boolean isId)
throws DOMException
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI,
String localName,
boolean isId)
throws DOMException
setIdAttributeNode
public void setIdAttributeNode(Attr idAttr,
boolean isId)
throws DOMException
setInnerText
public void setInnerText(String newText)
setLang
public void setLang(String lang)
setNodeValue
public void setNodeValue(String nodeValue)
throws DOMException
- setNodeValue in interface NodeImpl
setTitle
public void setTitle(String title)