| java.lang.Object | |
| ↳ | com.microstrategy.web.blocks.BlockTarget |
Known Direct Subclasses
|
Known Indirect Subclasses
|
This class represents the "target" of a Block path specification: a property, a list or a Block.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | BlockTarget.PathInfo | This class provides additional information used in the resolution of a Block path specification. | |||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | TARGETTYPE_BLOCK | A Block target | |||||||||
| int | TARGETTYPE_LIST | A List target | |||||||||
| int | TARGETTYPE_PROPERTY | A Property target | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Iterator<BlockProperty> |
findProperties(String propName, boolean unique)
Returns an Iterator of all BlockProperties with a given name.
| ||||||||||
| int |
getTargetType()
Returns the type of this target.
| ||||||||||
| BlockTarget |
resolvePath(String path)
Resolves a path specification to a
BlockTarget object. | ||||||||||
| BlockTarget |
resolvePath(String path, BlockTarget.PathInfo pathInfo)
Resolve the specified path to return the targeted object.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
A Block target
A List target
A Property target
Returns an Iterator of all BlockProperties with a given name.
| propName | The name of the BlockProperty to inspect. |
|---|---|
| unique | Whether the list should only contain a unique list of BlockProperty values. |
Returns the type of this target.
Resolves a path specification to a BlockTarget object.
| path | The path to this object. |
|---|
BlockTarget that this path refers to.| Exception | if the path is malformed or does not refer to a non-null BlockTarget. |
|---|
Resolve the specified path to return the targeted object.
| path | The path to the object that the caller seeks. |
|---|---|
| pathInfo | Information about the path that has been processed. |
| Exception | If the path could not be resolved. |
|---|