public class XSTokenBinding extends AbstractSimpleBinding
<xs:simpleType name="token" id="token">
<xs:annotation>
<xs:documentation source="http://www.w3.org/TR/xmlschema-2/#token"/>
</xs:annotation>
<xs:restriction base="xs:normalizedString">
<xs:whiteSpace value="collapse" id="token.whiteSpace"/>
</xs:restriction>
</xs:simpleType>
Constructor and Description |
---|
XSTokenBinding() |
Modifier and Type | Method and Description |
---|---|
QName |
getTarget() |
Class |
getType()
This binding delegates to its parent binding, which returns objects of type
String |
Object |
parse(InstanceComponent instance,
Object value)
This binding delegates to its parent binding, which returns objects of type
String |
encode, getExecutionMode
public QName getTarget()
public Class getType()
String
.
public Object parse(InstanceComponent instance, Object value) throws Exception
String
.
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.