public class XhtmlNode extends Object implements IBaseXhtml
| Modifier and Type | Class and Description |
|---|---|
static class |
XhtmlNode.Location |
| Constructor and Description |
|---|
XhtmlNode() |
XhtmlNode(NodeType nodeType) |
XhtmlNode(NodeType nodeType,
String name) |
public static final String NBSP
public XhtmlNode()
public XhtmlNode(NodeType nodeType)
public NodeType getNodeType()
public void setNodeType(NodeType nodeType)
public String getName()
public void setName(String name)
public String getContent()
public boolean allChildrenAreText()
public XhtmlNode getFirstElement()
public String allText()
public boolean hasAttribute(String name)
public XhtmlNode copy()
public boolean equalsDeep(XhtmlNode other)
public String getNsDecl()
public String getValueAsString()
getValueAsString in interface IPrimitiveType<String>public void setValueAsString(String theValue) throws IllegalArgumentException
setValueAsString in interface IPrimitiveType<String>IllegalArgumentExceptionpublic XhtmlNode getElementByIndex(int i)
public String getValue()
getValue in interface IPrimitiveType<String>public XhtmlNode setValue(String theValue) throws IllegalArgumentException
setValue in interface IPrimitiveType<String>IllegalArgumentExceptionpublic boolean hasFormatComment()
hasFormatComment in interface IBasepublic List<String> getFormatCommentsPre()
UnsupportedOperationExceptiongetFormatCommentsPre in interface IBasepublic List<String> getFormatCommentsPost()
UnsupportedOperationExceptiongetFormatCommentsPost in interface IBasepublic XhtmlNode.Location getLocation()
public void setLocation(XhtmlNode.Location location)
Copyright © 2014–2017 University Health Network. All rights reserved.