Package net.opengis
Interface OgcProperty<T>
- All Superinterfaces:
IXlinkReference<T>
,Serializable
- All Known Subinterfaces:
EncodedValues
,Reference
,UnitReference
- All Known Implementing Classes:
DataComponentProperty
,DefinitionRef
,EncodedValuesImpl
,OgcPropertyImpl
,ReferenceImpl
,UnitReferenceImpl
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
getName()
getValue()
boolean
hasHref()
boolean
hasValue()
boolean
Fetches remote value from xlink href This method does nothing if property value is not nullvoid
setHrefResolver
(HrefResolver hrefResolver) Assigns an instance of HrefResolver that is responsible for connecting to the href URL, fetch the data and parse it with the appropriate parservoid
void
setNilReason
(String nilReason) void
Methods inherited from interface org.vast.ogc.xlink.IXlinkReference
getArcRole, getHref, getMediaType, getRole, getTarget, getTargetInterface, getTargetUID, getTitle, setArcRole, setHref, setMediaType, setRole, setTargetInterface, setTargetUID, setTitle
-
Method Details
-
copy
OgcProperty<T> copy() -
getName
String getName() -
setName
-
getNilReason
String getNilReason() -
setNilReason
-
getValue
T getValue() -
hasValue
boolean hasValue() -
setValue
-
hasHref
boolean hasHref() -
resolveHref
Fetches remote value from xlink href This method does nothing if property value is not null- Returns:
- true if content was successfully fetched
- Throws:
IOException
- if href URL cannot be reached
-
setHrefResolver
Assigns an instance of HrefResolver that is responsible for connecting to the href URL, fetch the data and parse it with the appropriate parser- Parameters:
hrefResolver
-
-