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 XhtmlNode()
public NodeType getNodeType()
public void setNodeType(NodeType nodeType)
public Map<String,String> getAttributes()
public List<XhtmlNode> getChildNodes()
public String getContent()
public XhtmlNode setContent(String content)
public XhtmlNode addComment(String content)
public XhtmlNode addDocType(String content)
public XhtmlNode addInstruction(String content)
public boolean allChildrenAreText()
public XhtmlNode getElement(String name)
public XhtmlNode getFirstElement()
public boolean hasAttribute(String name)
public String getAttribute(String name)
public XhtmlNode setAttribute(String name, String value)
public boolean equalsDeep(XhtmlNode other)
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.