public class XSNormalizedStringBinding extends AbstractSimpleBinding
<xs:simpleType name="normalizedString" id="normalizedString">
<xs:annotation>
<xs:documentation source="http://www.w3.org/TR/xmlschema-2/#normalizedString"/>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="replace" id="normalizedString.whiteSpace"/>
</xs:restriction>
</xs:simpleType>
Constructor and Description |
---|
XSNormalizedStringBinding() |
Modifier and Type | Method and Description |
---|---|
int |
getExecutionMode() |
QName |
getTarget() |
Class |
getType()
This binding delegates to its parent binding which returns objecs of type
String |
Object |
parse(InstanceComponent instance,
Object value) |
encode
public QName getTarget()
public int getExecutionMode()
getExecutionMode
in interface Binding
getExecutionMode
in class AbstractSimpleBinding
Binding.AFTER
,
Binding.BEFORE
,
Binding.OVERRIDE
public Class getType()
String
.
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.