public class XhtmlNode extends Object implements org.hl7.fhir.instance.model.api.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 isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic boolean equalsDeep(XhtmlNode other)
public String getValueAsString()
getValueAsString in interface org.hl7.fhir.instance.model.api.IPrimitiveType<String>public void setValueAsString(String theValue) throws IllegalArgumentException
setValueAsString in interface org.hl7.fhir.instance.model.api.IPrimitiveType<String>IllegalArgumentExceptionpublic XhtmlNode getElementByIndex(int i)
public String getValue()
getValue in interface org.hl7.fhir.instance.model.api.IPrimitiveType<String>public XhtmlNode setValue(String theValue) throws IllegalArgumentException
setValue in interface org.hl7.fhir.instance.model.api.IPrimitiveType<String>IllegalArgumentExceptionpublic boolean hasFormatComment()
hasFormatComment in interface org.hl7.fhir.instance.model.api.IBasepublic List<String> getFormatCommentsPre()
UnsupportedOperationExceptiongetFormatCommentsPre in interface org.hl7.fhir.instance.model.api.IBasepublic List<String> getFormatCommentsPost()
UnsupportedOperationExceptiongetFormatCommentsPost in interface org.hl7.fhir.instance.model.api.IBasepublic XhtmlNode.Location getLocation()
public void setLocation(XhtmlNode.Location location)
public void br()
public void hr()
public XhtmlNode blockquote()
public XhtmlNode getNextElement(XhtmlNode c)
public boolean isNoPretty()
Copyright © 2014–2019 University Health Network. All rights reserved.