com.day.durbo
Class DurboInput.Node

java.lang.Object
  extended by com.day.durbo.DurboInput.Element
      extended by com.day.durbo.DurboInput.Node
Enclosing class:
DurboInput

public class DurboInput.Node
extends DurboInput.Element


Constructor Summary
DurboInput.Node()
           
DurboInput.Node(String name)
           
DurboInput.Node(String name, boolean isNodeStart)
           
 
Method Summary
 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.
 
Methods inherited from class com.day.durbo.DurboInput.Element
localName, name, prefix, toString, uri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DurboInput.Node

public DurboInput.Node(String name)

DurboInput.Node

public DurboInput.Node()

DurboInput.Node

public DurboInput.Node(String name,
                       boolean isNodeStart)
Method Detail

isProperty

public boolean isProperty()
Description copied from class: DurboInput.Element
Checks if this element is a property

Specified by:
isProperty in class DurboInput.Element
Returns:
true if this element is a property; false otherwise

isNodeStart

public boolean isNodeStart()
Description copied from class: DurboInput.Element
Checks if this element is a node start

Specified by:
isNodeStart in class DurboInput.Element
Returns:
true if this element is a node start; false otherwise

isNodeEnd

public boolean isNodeEnd()
Description copied from class: DurboInput.Element
Checks if this element is a node end

Specified by:
isNodeEnd in class DurboInput.Element
Returns:
true if this element is a node end; false otherwise

getString

public String getString()
Description copied from class: DurboInput.Element
Convenience method

Specified by:
getString in class DurboInput.Element
Returns:
the string.

wasBinary

public boolean wasBinary()
Description copied from class: DurboInput.Element
Checks if this elem is a property and has binary content.

Specified by:
wasBinary in class DurboInput.Element
Returns:
true if this element has binary content.

wasString

public boolean wasString()
Description copied from class: DurboInput.Element
Checks if this elem is a property and has string content.

Specified by:
wasString in class DurboInput.Element
Returns:
true if this element has string content.

size

public long size()
Description copied from class: DurboInput.Element
Returns the size of the this element if it's a property.

Specified by:
size in class DurboInput.Element
Returns:
the size of the this element if it's a property.


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.