Package org.jvnet.hk2.config
Class ConfigModel.Node
- java.lang.Object
-
- org.jvnet.hk2.config.ConfigModel.Property
-
- org.jvnet.hk2.config.ConfigModel.Node
-
- Enclosing class:
- ConfigModel
public abstract static class ConfigModel.Node extends ConfigModel.Property
-
-
Field Summary
-
Fields inherited from class org.jvnet.hk2.config.ConfigModel.Property
annotations, xmlName
-
-
Constructor Summary
Constructors Constructor Description Node(ConfigModel model, String xmlName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigModel
getModel()
Returns the config model for this Nodeboolean
isLeaf()
protected Dom
toDom(Object arg)
Coerce the given type toDom
.-
Methods inherited from class org.jvnet.hk2.config.ConfigModel.Property
get, getAnnotations, isCollection, set, xmlName
-
-
-
-
Constructor Detail
-
Node
public Node(ConfigModel model, String xmlName)
-
-
Method Detail
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in classConfigModel.Property
-
getModel
public ConfigModel getModel()
Returns the config model for this Node- Returns:
-
toDom
protected final Dom toDom(Object arg)
Coerce the given type toDom
. Only handles those types that are valid to theConfigModel.Property.set(Dom, Object)
method.
-
-