Package org.vast.data
Class EncodedValuesImpl
java.lang.Object
org.vast.ogc.xlink.SimpleLink<T>
net.opengis.OgcPropertyImpl<byte[]>
org.vast.data.EncodedValuesImpl
- All Implemented Interfaces:
 Serializable,OgcProperty<byte[]>,EncodedValues,IXlinkReference<byte[]>
Full implementation of EncodedValues wrapping SWE Common data stream parsers/writers allowing decoding/encoding of any encoded array or stream
- Since:
 - Oct 3, 2014
 - See Also:
 
- 
Field Summary
Fields inherited from class net.opengis.OgcPropertyImpl
hrefResolver, name, nilReason, valueFields inherited from class org.vast.ogc.xlink.SimpleLink
arcRole, href, role, title - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(BlockComponent array, DataEncoding encoding) encode(BlockComponent array, DataEncoding encoding) getAsText(DataArray array, DataEncoding encoding) getAsText(DataStream dataStream, DataEncoding encoding) getData()booleanFetches remote value from xlink href This method does nothing if property value is not nullvoidsetAsText(DataArray array, DataEncoding encoding, String text) voidsetAsText(DataStream dataStream, DataEncoding encoding, String text) voidsetData(DataBlockList data) Methods inherited from class net.opengis.OgcPropertyImpl
copy, copyTo, getArcRole, getName, getNilReason, getTarget, getTargetUID, getValue, hasHref, hasValue, setHrefResolver, setName, setNilReason, setTargetUID, setValueMethods inherited from class org.vast.ogc.xlink.SimpleLink
getHref, getMediaType, getRole, getTargetInterface, getTitle, setArcRole, setHref, setMediaType, setRole, setTargetInterface, setTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.vast.ogc.xlink.IXlinkReference
getArcRole, getHref, getMediaType, getRole, getTarget, getTargetInterface, getTargetUID, getTitle, setArcRole, setHref, setMediaType, setRole, setTargetInterface, setTargetUID, setTitleMethods inherited from interface net.opengis.OgcProperty
copy, getName, getNilReason, getValue, hasHref, hasValue, setHrefResolver, setName, setNilReason, setValue 
- 
Constructor Details
- 
EncodedValuesImpl
public EncodedValuesImpl() 
 - 
 - 
Method Details
- 
resolveHref
public boolean resolveHref()Description copied from interface:OgcPropertyFetches remote value from xlink href This method does nothing if property value is not null- Specified by:
 resolveHrefin interfaceOgcProperty<byte[]>- Overrides:
 resolveHrefin classOgcPropertyImpl<byte[]>- Returns:
 - true if content was successfully fetched
 
 - 
setAsText
- Specified by:
 setAsTextin interfaceEncodedValues
 - 
decode
 - 
getAsText
- Specified by:
 getAsTextin interfaceEncodedValues
 - 
encode
 - 
setAsText
- Specified by:
 setAsTextin interfaceEncodedValues
 - 
getAsText
- Specified by:
 getAsTextin interfaceEncodedValues
 - 
setData
- Specified by:
 setDatain interfaceEncodedValues
 - 
getData
- Specified by:
 getDatain interfaceEncodedValues
 
 -