org.jvnet.hk2.config
Class ConfigModel.Node

java.lang.Object
  extended by org.jvnet.hk2.config.ConfigModel.Property
      extended by 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
ConfigModel.Node(ConfigModel model, String xmlName)
           
 
Method Summary
 ConfigModel getModel()
          Returns the config model for this Node
 boolean isLeaf()
           
protected  Dom toDom(Object arg)
          Coerce the given type to Dom.
 
Methods inherited from class org.jvnet.hk2.config.ConfigModel.Property
get, getAnnotations, isCollection, set, xmlName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigModel.Node

public ConfigModel.Node(ConfigModel model,
                        String xmlName)
Method Detail

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in class ConfigModel.Property

getModel

public ConfigModel getModel()
Returns the config model for this Node

Returns:

toDom

protected final Dom toDom(Object arg)
Coerce the given type to Dom. Only handles those types that are valid to the ConfigModel.Property.set(Dom, Object) method.



Copyright © 2013 Oracle Corporation. All Rights Reserved.