Package org.codehaus.modello.model
Class ModelDefault
java.lang.Object
org.codehaus.modello.model.ModelDefault
Default values for a model, that can be overrided with
defaults element of the model descriptor.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprivate Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ModelDefaultgetDefault(String key) getKey()getValue()protected booleanvoidvoidvoidprivate static voidvalidateKey(String key)
-
Field Details
-
CHECK_DEPRECATION
- See Also:
-
CHECK_DEPRECATION_VALUE
- See Also:
-
PACKAGE
- See Also:
-
PACKAGE_VALUE
- See Also:
-
LIST
- See Also:
-
LIST_VALUE
- See Also:
-
MAP
- See Also:
-
MAP_VALUE
- See Also:
-
PROPERTIES
- See Also:
-
PROPERTIES_VALUE
- See Also:
-
SET
- See Also:
-
SET_VALUE
- See Also:
-
STRICT_XML_ATTRIBUTES
- See Also:
-
STRICT_XML_ATTRIBUTES_VALUE
- See Also:
-
key
-
value
-
-
Constructor Details
-
ModelDefault
public ModelDefault()
-
-
Method Details
-
getDefault
- Throws:
ModelValidationException
-
setKey
-
getKey
-
setValue
-
getValue
-
getBoolean
public boolean getBoolean() -
validateElement
- Throws:
ModelValidationException
-
validateKey
- Throws:
ModelValidationException
-
isEmpty
-