Class TLcdOWSExceptionReport

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.ows.model.TLcdOWSExceptionReport
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdOWSExceptionReport extends TLcdDataObject
This class contains the list of exceptions reported by a server.
  • Field Details

    • VERSION_PROPERTY

      public static final TLcdDataProperty VERSION_PROPERTY
      Data property that maps to the version attribute. The possible values for this property are instances of String.
    • LANG_PROPERTY

      public static final TLcdDataProperty LANG_PROPERTY
      Data property that maps to the lang attribute. The possible values for this property are instances of String.
    • EXCEPTION_PROPERTY

      public static final TLcdDataProperty EXCEPTION_PROPERTY
      Data property that maps to the Exception element. The possible values for this property are instances of List<TLcdOWSException>.
  • Constructor Details

    • TLcdOWSExceptionReport

      public TLcdOWSExceptionReport()
  • Method Details

    • getLanguage

      public String getLanguage()
      Gets the language.

      Identifier of the language used by all included exception text values.

      Returns:
      the language.
    • setLanguage

      public void setLanguage(String aLanguage)
      Sets the language.

      Identifier of the language used by all included exception text values.

      Parameters:
      aLanguage - the language to be set.
    • addException

      public void addException(TLcdOWSException aException)
      Adds an exception.
      Parameters:
      aException - the exception to be added.
    • getExceptionCount

      public int getExceptionCount()
      Gets the number of exceptions.
      Returns:
      the number of exceptions.
    • removeException

      public void removeException(int aIndex)
      Removes the exception at a given position.
      Parameters:
      aIndex - the index of the given position.
    • getException

      public TLcdOWSException getException(int aIndex)
      Gets the exception at a given position.
      Parameters:
      aIndex - the index of the given position.
      Returns:
      the exception at the given position.
    • toString

      public String toString()
      Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

      The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

       getClass().getName() + '@' + Integer.toHexString(hashCode())
       
      Overrides:
      toString in class TLcdDataObject
      Returns:
      a string representation of the object.
    • getVersion

      public String getVersion()
      Returns the value of the property that maps to the version attribute.

      Specification version for OWS operation. The string value shall contain one x.y.z "version" value (e.g., "2.1.3"). A version number shall contain three non-negative integers separated by decimal points, in the form "x.y.z". The integers y and z shall not exceed 99. Each version shall be for the Implementation Specification (document) and the associated XML Schemas to which requested operations will conform. An Implementation Specification version normally specifies XML Schemas against which an XML encoded operation response must conform and should be validated. See Version negotiation subclause for more information.

      Returns:
      the value of the VERSION_PROPERTY property.
    • setVersion

      public void setVersion(String aValue)
      Sets the value of the property that maps to the version attribute.

      Specification version for OWS operation. The string value shall contain one x.y.z "version" value (e.g., "2.1.3"). A version number shall contain three non-negative integers separated by decimal points, in the form "x.y.z". The integers y and z shall not exceed 99. Each version shall be for the Implementation Specification (document) and the associated XML Schemas to which requested operations will conform. An Implementation Specification version normally specifies XML Schemas against which an XML encoded operation response must conform and should be validated. See Version negotiation subclause for more information.

      Parameters:
      aValue - the value to set for the VERSION_PROPERTY property.
    • getLang

      public String getLang()
      Returns the value of the property that maps to the lang attribute.

      Identifier of the language used by all included exception text values. These language identifiers shall be as specified in IETF RFC 4646. When this attribute is omitted, the language used is not identified.

      Returns:
      the value of the LANG_PROPERTY property.
    • setLang

      public void setLang(String aValue)
      Sets the value of the property that maps to the lang attribute.

      Identifier of the language used by all included exception text values. These language identifiers shall be as specified in IETF RFC 4646. When this attribute is omitted, the language used is not identified.

      Parameters:
      aValue - the value to set for the LANG_PROPERTY property.
    • getException

      public List<TLcdOWSException> getException()
      Returns the value of the property that maps to the Exception element.
      Returns:
      the value of the EXCEPTION_PROPERTY property.