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

public interface OgcProperty<T> extends IXlinkReference<T>, Serializable
  • Method Details

    • copy

      OgcProperty<T> copy()
    • getName

      String getName()
    • setName

      void setName(String name)
    • getNilReason

      String getNilReason()
    • setNilReason

      void setNilReason(String nilReason)
    • getValue

      T getValue()
    • hasValue

      boolean hasValue()
    • setValue

      void setValue(T value)
    • hasHref

      boolean hasHref()
    • resolveHref

      boolean resolveHref() throws IOException
      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

      void 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 parser
      Parameters:
      hrefResolver -