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) |
encode
public QName getTarget()
public Class getType()
public int getExecutionMode()
AbstractSimpleBinding
Binding.AFTER
.
Subclasses should override to change this behaviour.
getExecutionMode
in interface Binding
getExecutionMode
in class AbstractSimpleBinding
Binding.AFTER
,
Binding.BEFORE
,
Binding.OVERRIDE
public Object parse(InstanceComponent instance, Object value) throws Exception
parse
in interface SimpleBinding
parse
in class AbstractSimpleBinding
instance
- 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.Exception
Copyright © 1996–2023 Geotools. All rights reserved.