|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.durbo.DurboInput.Element
public abstract class DurboInput.Element
Inner class that represents one element of the Durbo protocol
| Method Summary | |
|---|---|
abstract String |
getString()
Convenience method |
abstract boolean |
isNodeEnd()
Checks if this element is a node end |
abstract boolean |
isNodeStart()
Checks if this element is a node start |
abstract boolean |
isProperty()
Checks if this element is a property |
String |
localName()
returns the local name of this element |
String |
name()
Returns the name of this element |
String |
prefix()
returns the prefix of this element |
abstract long |
size()
Deprecated. use Property#getValues().length() instead. |
String |
toString()
Deprecated. use getString() instead. |
String |
uri()
returns the namespace uri for this element |
abstract boolean |
wasBinary()
Deprecated. use DurboInput.Property.getType() instead. |
abstract boolean |
wasString()
Deprecated. use DurboInput.Property.getType() instead. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String name()
public String prefix()
public String uri()
public String localName()
public abstract boolean isProperty()
true if this element is a property;
false otherwisepublic abstract boolean isNodeStart()
true if this element is a node start;
false otherwisepublic abstract boolean isNodeEnd()
true if this element is a node end; false
otherwisepublic abstract String getString()
public String toString()
getString() instead.
toString in class Objectpublic abstract boolean wasBinary()
DurboInput.Property.getType() instead.
true if this element has binary content.public abstract boolean wasString()
DurboInput.Property.getType() instead.
true if this element has string content.public abstract long size()
Property#getValues().length() instead.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||