|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThingsPropertyViewReader
The basic property view for read only.
Version History
EPG - Initial - 16 MAY 04
Field Summary |
---|
Method Summary | |
---|---|
ThingsPropertyViewReader |
branch(java.lang.String path)
Branch the view to create a new view. |
java.lang.String |
getProperty(java.lang.String... pathElements)
Get a property value as a string. |
java.lang.String |
getProperty(java.lang.String path)
Get a property value as a string. |
java.lang.String[] |
getPropertyMultivalue(java.lang.String path)
Get a property value as a multivalue. |
NVImmutable |
getPropertyNV(java.lang.String path)
Get a property value as a multivalue. |
java.util.Collection<java.lang.String> |
ply(java.lang.String path)
Get the ply at this path. |
java.util.Collection<java.lang.String> |
sub(java.lang.String path)
Get all property names under this at this path. |
Method Detail |
---|
ThingsPropertyViewReader branch(java.lang.String path) throws ThingsException
path
- the property path (relative to the view root)
ThingsException
java.lang.String getProperty(java.lang.String path) throws ThingsException
path
- the property name
ThingsException
java.lang.String getProperty(java.lang.String... pathElements) throws ThingsException
pathElements
- a stitch-able path.
ThingsException
java.lang.String[] getPropertyMultivalue(java.lang.String path) throws ThingsException
path
- the property name
ThingsException
NVImmutable getPropertyNV(java.lang.String path) throws ThingsException
path
- the property name
ThingsException
NVImmutable
java.util.Collection<java.lang.String> sub(java.lang.String path) throws ThingsException
path
- a root path. If it is null, it'll return everything.
ThingsException
java.util.Collection<java.lang.String> ply(java.lang.String path) throws ThingsException
path
- a root path.
ThingsException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |