public class EncodedValuesImpl extends OgcPropertyImpl<Object> implements EncodedValues
Full implementation of EncodedValues wrapping SWE Common data stream parsers/writers allowing decoding/encoding of any encoded array or stream
arcRole, href, hrefResolver, name, nilReason, role, title, value
Constructor and Description |
---|
EncodedValuesImpl() |
Modifier and Type | Method and Description |
---|---|
void |
decode(BlockComponent array,
DataEncoding encoding,
String text) |
String |
encode(BlockComponent array,
DataEncoding encoding) |
String |
getAsText(DataArray array,
DataEncoding encoding) |
String |
getAsText(DataStream dataStream,
DataEncoding encoding) |
boolean |
resolveHref()
Fetches remote value from xlink href
This method does nothing if property value is not null
|
void |
setAsText(DataArray array,
DataEncoding encoding,
String text) |
void |
setAsText(DataStream dataStream,
DataEncoding encoding,
String text) |
copy, copyTo, getArcRole, getHref, getName, getNilReason, getRole, getTarget, getTitle, getValue, hasHref, hasValue, setArcRole, setHref, setHrefResolver, setName, setNilReason, setRole, setTitle, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copy, getName, getNilReason, getTitle, getValue, hasHref, hasValue, setHrefResolver, setName, setNilReason, setTitle, setValue
getArcRole, getHref, getRole, getTarget, setArcRole, setHref, setRole
public boolean resolveHref()
OgcProperty
resolveHref
in interface OgcProperty<Object>
resolveHref
in class OgcPropertyImpl<Object>
public void decode(BlockComponent array, DataEncoding encoding, String text)
public String encode(BlockComponent array, DataEncoding encoding)
public void setAsText(DataArray array, DataEncoding encoding, String text)
setAsText
in interface EncodedValues
public String getAsText(DataArray array, DataEncoding encoding)
getAsText
in interface EncodedValues
public void setAsText(DataStream dataStream, DataEncoding encoding, String text)
setAsText
in interface EncodedValues
public String getAsText(DataStream dataStream, DataEncoding encoding)
getAsText
in interface EncodedValues
Copyright © 2016 Sensia Software LLC. All rights reserved.