public class DurboInput.Node extends DurboInput.Element
Type | Property and Description |
---|---|
boolean |
is
Checks if this element is a property
|
Constructor and Description |
---|
DurboInput.Node() |
DurboInput.Node(String name) |
DurboInput.Node(String name,
boolean isNodeStart) |
Modifier and Type | Method and Description |
---|---|
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.
|
isProperty
in class DurboInput.Element
true
if this element is a property;
false
otherwisepublic DurboInput.Node(String name)
public DurboInput.Node()
public DurboInput.Node(String name, boolean isNodeStart)
public boolean isProperty()
DurboInput.Element
isProperty
in class DurboInput.Element
true
if this element is a property;
false
otherwisepublic boolean isNodeStart()
DurboInput.Element
isNodeStart
in class DurboInput.Element
true
if this element is a node start;
false
otherwisepublic boolean isNodeEnd()
DurboInput.Element
isNodeEnd
in class DurboInput.Element
true
if this element is a node end; false
otherwisepublic String getString()
DurboInput.Element
getString
in class DurboInput.Element
public boolean wasBinary()
DurboInput.Element
wasBinary
in class DurboInput.Element
true
if this element has binary content.public boolean wasString()
DurboInput.Element
wasString
in class DurboInput.Element
true
if this element has string content.public long size()
DurboInput.Element
size
in class DurboInput.Element
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"