org.codehaus.modello.model
Class ModelDefault
java.lang.Object
org.codehaus.modello.model.ModelDefault
public class ModelDefault
- extends Object
Default values for a model, that can be overrided with defaults
element of the model descriptor.
- Version:
- $Id: ModelDefault.java 1360 2010-01-19 22:21:46Z hboutemy $
- Author:
- Emmanuel Venisse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHECK_DEPRECATION
public static final String CHECK_DEPRECATION
- See Also:
- Constant Field Values
CHECK_DEPRECATION_VALUE
public static final String CHECK_DEPRECATION_VALUE
- See Also:
- Constant Field Values
PACKAGE
public static final String PACKAGE
- See Also:
- Constant Field Values
PACKAGE_VALUE
public static final String PACKAGE_VALUE
- See Also:
- Constant Field Values
LIST
public static final String LIST
- See Also:
- Constant Field Values
LIST_VALUE
public static final String LIST_VALUE
- See Also:
- Constant Field Values
MAP
public static final String MAP
- See Also:
- Constant Field Values
MAP_VALUE
public static final String MAP_VALUE
- See Also:
- Constant Field Values
PROPERTIES
public static final String PROPERTIES
- See Also:
- Constant Field Values
PROPERTIES_VALUE
public static final String PROPERTIES_VALUE
- See Also:
- Constant Field Values
SET
public static final String SET
- See Also:
- Constant Field Values
SET_VALUE
public static final String SET_VALUE
- See Also:
- Constant Field Values
STRICT_XML_ATTRIBUTES
public static final String STRICT_XML_ATTRIBUTES
- See Also:
- Constant Field Values
STRICT_XML_ATTRIBUTES_VALUE
public static final String STRICT_XML_ATTRIBUTES_VALUE
- See Also:
- Constant Field Values
ModelDefault
public ModelDefault()
getDefault
public static ModelDefault getDefault(String key)
throws ModelValidationException
- Throws:
ModelValidationException
setKey
public void setKey(String key)
getKey
public String getKey()
setValue
public void setValue(String value)
getValue
public String getValue()
getBoolean
public boolean getBoolean()
validateElement
public void validateElement()
throws ModelValidationException
- Throws:
ModelValidationException
isEmpty
protected boolean isEmpty(String string)
Copyright © 2001-2011 Codehaus. All Rights Reserved.