public class TimeDurationTypeBinding extends AbstractSimpleBinding
<simpleType name="TimeDurationType">
<annotation>
<documentation xml:lang="en">
Base type for describing temporal length or distance. The value space is further
constrained by subtypes that conform to the ISO 8601 or ISO 11404 standards.
</documentation>
</annotation>
<union memberTypes="duration decimal"/>
</simpleType>
Constructor and Description |
---|
TimeDurationTypeBinding() |
Modifier and Type | Method and Description |
---|---|
QName |
getTarget() |
Class |
getType() |
Object |
parse(InstanceComponent instance,
Object value) |
encode, getExecutionMode
public QName getTarget()
public Class getType()
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–2019 Geotools. All rights reserved.