|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HstNode
Method Summary | |
---|---|
void |
addNode(String name,
HstNode hstNode)
add a child hstNode with name . |
HstNode |
getNode(String relPath)
|
List<HstNode> |
getNodes()
|
List<HstNode> |
getNodes(String nodeTypeName)
|
String |
getNodeTypeName()
|
HstNode |
getParent()
|
ValueProvider |
getValueProvider()
|
boolean |
isInherited()
|
boolean |
isStale()
|
void |
markStale()
marks the HstNode as stale: The JCRValueProvider is out-of-date |
void |
removeNode(String name)
removes child node with name and does nothing if not present |
void |
setJCRValueProvider(JCRValueProvider valueProvider)
sets the new valueProvider |
Method Detail |
---|
ValueProvider getValueProvider()
HstNode
HstNode getNode(String relPath) throws IllegalArgumentException
relPath
- a path that does not start with a slash, for example 'foo' or 'foo/bar'
relPath
or null
if it does not exist
IllegalArgumentException
- if relPath
is not a valid relPathList<HstNode> getNodes()
HstNode
> of all the child nodesList<HstNode> getNodes(String nodeTypeName)
HstNode
> of all the child nodes with getNodeTypeName()
equals to nodeTypeName
String getNodeTypeName()
HstNode getParent()
HstNode
or null
when there is no parent.void addNode(String name, HstNode hstNode)
name
. If there already exists an HstNode with name equal name
, the
existing HstNode is replaced. Since the HstNode's are used
for the HST config model that does not support same name sibblings this is not a problem
name
- hstNode
- void removeNode(String name)
name
and does nothing if not present
name
- void setJCRValueProvider(JCRValueProvider valueProvider)
valueProvider
- void markStale()
boolean isStale()
true
when this HstNode is staleboolean isInherited()
true
when this HstNode is inherited
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |