public class MimeTypeBinding extends AbstractSimpleBinding
<simpleType name="MimeType">
<annotation>
<documentation>XML encoded identifier of a standard MIME type, possibly a parameterized MIME type. </documentation>
</annotation>
<restriction base="string">
<pattern value="(application|audio|image|text|video|message|multipart|model)/.+(;\s*.+=.+)*"/>
</restriction>
</simpleType>
| Constructor and Description |
|---|
MimeTypeBinding(Ows10Factory factory) |
| Modifier and Type | Method and Description |
|---|---|
QName |
getTarget() |
Class |
getType() |
Object |
parse(InstanceComponent instance,
Object value) |
encode, getExecutionModepublic QName getTarget()
public Class getType()
public Object parse(InstanceComponent instance, Object value) throws Exception
parse in interface SimpleBindingparse in class AbstractSimpleBindinginstance - 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.ExceptionCopyright © 1996–2021 Geotools. All rights reserved.