public class DurboInput.Node extends DurboInput.Element
| Constructor and Description |
|---|
Node() |
Node(java.lang.String name) |
Node(java.lang.String name,
boolean isNodeStart) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getString()
Convenience method
|
boolean |
isNodeEnd()
Checks if this element is a node end
|
boolean |
isNodeStart()
Checks if this element is a node start
|
boolean |
isProperty()
Checks if this element is a property
|
long |
size()
Returns the size of the this element if it's a property.
|
boolean |
wasBinary()
Checks if this elem is a property and has binary content.
|
boolean |
wasString()
Checks if this elem is a property and has string content.
|
public Node(java.lang.String name)
public Node()
public Node(java.lang.String name,
boolean isNodeStart)
public boolean isProperty()
DurboInput.ElementisProperty in class DurboInput.Elementtrue if this element is a property;
false otherwisepublic boolean isNodeStart()
DurboInput.ElementisNodeStart in class DurboInput.Elementtrue if this element is a node start;
false otherwisepublic boolean isNodeEnd()
DurboInput.ElementisNodeEnd in class DurboInput.Elementtrue if this element is a node end; false
otherwisepublic java.lang.String getString()
DurboInput.ElementgetString in class DurboInput.Elementpublic boolean wasBinary()
DurboInput.ElementwasBinary in class DurboInput.Elementtrue if this element has binary content.public boolean wasString()
DurboInput.ElementwasString in class DurboInput.Elementtrue if this element has string content.public long size()
DurboInput.Elementsize in class DurboInput.ElementCopyright © 2010 - 2020 Adobe. All Rights Reserved