public class MeasureTypeBinding extends AbstractComplexBinding
<xsd:complexType name="MeasureType">
<xsd:simpleContent>
<xsd:extension base="xsd:double">
<xsd:attribute name="uom" type="fes:UomIdentifier" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="UomIdentifier">
<xsd:union memberTypes="fes:UomSymbol fes:UomURI"/>
</xsd:simpleType>
<xsd:simpleType name="UomSymbol">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[^: \n\r\t]+"/>
</xsd:restriction>
</xsd:simpleType>
Constructor and Description |
---|
MeasureTypeBinding(FilterFactory2 filterFactory) |
Modifier and Type | Method and Description |
---|---|
int |
getExecutionMode()
This implementation returns
Binding.OVERRIDE . |
QName |
getTarget() |
Class |
getType() |
Object |
parse(ElementInstance instance,
Node node,
Object value)
Subclasses should override this method, the default implementation return
null . |
encode, getProperties, getProperty, initialize, initializeChildContext
public MeasureTypeBinding(FilterFactory2 filterFactory)
public QName getTarget()
public Class getType()
public int getExecutionMode()
AbstractComplexBinding
Binding.OVERRIDE
.
Subclasses should override to change this behaviour.
getExecutionMode
in interface Binding
getExecutionMode
in class AbstractComplexBinding
Binding.AFTER
,
Binding.BEFORE
,
Binding.OVERRIDE
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
AbstractComplexBinding
null
.parse
in interface ComplexBinding
parse
in class AbstractComplexBinding
instance
- The element being parsed.node
- The node in the parse tree representing the element 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
- Strategy objects should not attempt to handle any exceptions.Copyright © 1996–2022 Geotools. All rights reserved.