Package dev.pxml.core.data.node
Class NonEmptyPXMLNode
- java.lang.Object
-
- dev.pxml.core.data.node.PXMLNode
-
- dev.pxml.core.data.node.NonEmptyPXMLNode
-
public class NonEmptyPXMLNode extends PXMLNode
-
-
Constructor Summary
Constructors Constructor Description NonEmptyPXMLNode(NodeName name, TextLocation location, boolean isAttribute)
NonEmptyPXMLNode(NodeName name, java.util.List<ValueElement> value, TextLocation location, boolean isAttribute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChildNode(PXMLNode child)
void
addChildText(java.lang.String text, TextLocation location)
java.util.List<ValueElement>
getValue()
boolean
hasValue()
-
Methods inherited from class dev.pxml.core.data.node.PXMLNode
getColumnNumber, getLineNumber, getLocalName, getLocation, getName, getNamespacePrefix, getNamespaceURI, hasNamespace, isAttribute, toString
-
-
-
-
Constructor Detail
-
NonEmptyPXMLNode
public NonEmptyPXMLNode(NodeName name, java.util.List<ValueElement> value, TextLocation location, boolean isAttribute)
-
NonEmptyPXMLNode
public NonEmptyPXMLNode(NodeName name, TextLocation location, boolean isAttribute)
-
-
Method Detail
-
getValue
public java.util.List<ValueElement> getValue()
-
hasValue
public boolean hasValue()
-
addChildNode
public void addChildNode(PXMLNode child)
-
addChildText
public void addChildText(java.lang.String text, TextLocation location)
-
-