Package com.adobe.xmp.schema.rng.model
Class ParamInfoImpl
java.lang.Object
com.adobe.xmp.schema.rng.model.ParamInfoImpl
- All Implemented Interfaces:
ParamInfo
This class defines a single constraint on a property value
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParamInfoImplConstant ParamInfoImpl for invalid input: '<'rng:data type="boolean"/>static final ParamInfoImplConstant ParamInfoImpl for invalid input: '<'rng:data type="double"/>static final ParamInfoImplConstant ParamInfoImpl for invalid input: '<'rng:data type="integer"/>static final ParamInfoImplConstant ParamInfoImpl for invalid input: '<'rng:text/> -
Constructor Summary
ConstructorsConstructorDescriptionParamInfoImpl(String type, Object value) Constructs a new ParamInfoImpl.ParamInfoImpl(String type, Object value, String valueType, String label) Constructs a new ParamInfoImpl. -
Method Summary
-
Field Details
-
PARAM_ALL_TEXT
Constant ParamInfoImpl for invalid input: '<'rng:text/> -
PARAM_ALL_INTEGER
Constant ParamInfoImpl for invalid input: '<'rng:data type="integer"/> -
PARAM_ALL_DOUBLE
Constant ParamInfoImpl for invalid input: '<'rng:data type="double"/> -
PARAM_ALL_BOOLEAN
Constant ParamInfoImpl for invalid input: '<'rng:data type="boolean"/>
-
-
Constructor Details
-
ParamInfoImpl
Constructs a new ParamInfoImpl.- Parameters:
type- Typevalue- Value defined from RNG schemalabel- Label used
-
ParamInfoImpl
Constructs a new ParamInfoImpl.- Parameters:
type- Typevalue- Value defined from RNG schema
-
-
Method Details
-
getType
public com.adobe.xmp.schema.rng.parser.constants.RNGSymbol getType()- Returns:
- the mType
-
getValue
- Returns:
- the mValue
-
getValueType
- Returns:
- Returns the literal type of the parameter, e.g. invalid input: '<'rng:value type="integer">1invalid input: '<'/rng:value>
-
getXMPValueType
- Returns:
- Return the XMP value type or
nullif there is no match.
-
getStringValue
- Returns:
- the mValue
-
equals
-
getLabel
- Returns:
- the mLabel
-
toString
-