public class ColorBinding extends AbstractSimpleBinding
<simpleType name="color">
<annotation>
<documentation><![CDATA[
aabbggrr
ffffffff: opaque white
ff000000: opaque black
]]></documentation>
</annotation>
<restriction base="hexBinary">
<length value="4"/>
</restriction>
</simpleType>
| Constructor and Description |
|---|
ColorBinding() |
| Modifier and Type | Method and Description |
|---|---|
int |
getExecutionMode()
This implementation returns
Binding.AFTER. |
QName |
getTarget() |
Class |
getType() |
Object |
parse(InstanceComponent instance,
Object value) |
encodepublic QName getTarget()
public Class getType()
public int getExecutionMode()
AbstractSimpleBindingBinding.AFTER.
Subclasses should override to change this behaviour.
getExecutionMode in interface BindinggetExecutionMode in class AbstractSimpleBindingBinding.AFTER,
Binding.BEFORE,
Binding.OVERRIDEpublic Object parse(InstanceComponent instance, Object value) throws Exception
parse in interface SimpleBindingparse in class AbstractSimpleBindinginstance - The component being parsed.value - The result of the parse from another strategy in the type hierarchy. Could be
null if this is the first strategy being executed.ExceptionCopyright © 1996–2021 Geotools. All rights reserved.