public interface ReferenceNodeHandler extends NodeHandler<ImmutableNode>
An extension of the NodeHandler
interface which allows access to
so-called references stored for a node.
Some specialized configuration implementations needs to store additional data for the nodes representing configuration properties. This interface provides methods for querying this data. For instance, it is possible to query a reference object stored for a specific node.
InMemoryNodeModel
supports references. It can be queried for a
ReferenceNodeHandler
which can then be used for dealing with
references.
Modifier and Type | Method and Description |
---|---|
Object |
getReference(ImmutableNode node)
Returns the reference object associated with the specified node.
|
List<Object> |
removedReferences()
Returns a list with the reference objects for nodes which have been
removed.
|
getAttributes, getAttributeValue, getChild, getChildren, getChildren, getChildrenCount, getMatchingChildren, getMatchingChildrenCount, getParent, getRootNode, getValue, hasAttributes, indexOfChild, isDefined, nodeName
Object getReference(ImmutableNode node)
node
- the node in questionList<Object> removedReferences()
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.