public class DurboInput.Property extends DurboInput.Element
Type | Property and Description |
---|---|
boolean |
is
Gets the value of the property property.
|
Constructor and Description |
---|
Property(java.lang.String name,
int type,
boolean multiple,
DurboValue[] values) |
Modifier and Type | Method and Description |
---|---|
Value[] |
getJcrValues(ValueFactory factory) |
java.lang.String |
getString()
Convenience method
|
int |
getType() |
DurboValue[] |
getValues() |
boolean |
isMultiple() |
boolean |
isNodeEnd()
Checks if this element is a node end
|
boolean |
isNodeStart()
Checks if this element is a node start
|
boolean |
isProperty()
Gets the value of the property 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 boolean isProperty
isProperty
in class DurboInput.Element
public Property(java.lang.String name, int type, boolean multiple, DurboValue[] values)
public int getType()
public boolean isMultiple()
public DurboValue[] getValues()
public Value[] getJcrValues(ValueFactory factory) throws java.io.IOException, RepositoryException
java.io.IOException
RepositoryException
public boolean isProperty()
isProperty
in class DurboInput.Element
public 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 java.lang.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 © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"