Class GpxTypeImpl

java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.XmlComplexContentImpl
com.topografix.gpx.x1.x1.impl.GpxTypeImpl
All Implemented Interfaces:
GpxType, Serializable, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource

public class GpxTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements GpxType
An XML gpxType(@http://www.topografix.com/GPX/1/1). This is a complex type.
See Also:
  • Field Summary

    Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase

    _voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER

    Fields inherited from interface com.topografix.gpx.x1.x1.GpxType

    Factory, type

    Fields inherited from interface org.apache.xmlbeans.XmlObject

    EQUAL, Factory, GREATER_THAN, LESS_THAN, NOT_EQUAL, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    GpxTypeImpl(org.apache.xmlbeans.SchemaType sType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Appends and returns a new empty "extensions" element
    Appends and returns a new empty "metadata" element
    Appends and returns a new empty value (as xml) as the last "rte" element
    Appends and returns a new empty value (as xml) as the last "trk" element
    Appends and returns a new empty value (as xml) as the last "wpt" element
    Gets the "creator" attribute
    Gets the "extensions" element
    Gets the "metadata" element
    Gets array of all "rte" elements
    getRteArray(int i)
    Gets ith "rte" element
    Gets a List of "rte" elements
    Gets array of all "trk" elements
    getTrkArray(int i)
    Gets ith "trk" element
    Gets a List of "trk" elements
    Gets the "version" attribute
    Gets array of all "wpt" elements
    getWptArray(int i)
    Gets ith "wpt" element
    Gets a List of "wpt" elements
    insertNewRte(int i)
    Inserts and returns a new empty value (as xml) as the ith "rte" element
    insertNewTrk(int i)
    Inserts and returns a new empty value (as xml) as the ith "trk" element
    insertNewWpt(int i)
    Inserts and returns a new empty value (as xml) as the ith "wpt" element
    boolean
    True if has "extensions" element
    boolean
    True if has "metadata" element
    void
    removeRte(int i)
    Removes the ith "rte" element
    void
    removeTrk(int i)
    Removes the ith "trk" element
    void
    removeWpt(int i)
    Removes the ith "wpt" element
    void
    setCreator(String creator)
    Sets the "creator" attribute
    void
    Sets the "extensions" element
    void
    Sets the "metadata" element
    void
    setRteArray(int i, RteType rte)
    Sets ith "rte" element
    void
    setRteArray(RteType[] rteArray)
    Sets array of all "rte" element WARNING: This method is not atomicaly synchronized.
    void
    setTrkArray(int i, TrkType trk)
    Sets ith "trk" element
    void
    setTrkArray(TrkType[] trkArray)
    Sets array of all "trk" element WARNING: This method is not atomicaly synchronized.
    void
    setVersion(String version)
    Sets the "version" attribute
    void
    setWptArray(int i, WptType wpt)
    Sets ith "wpt" element
    void
    setWptArray(WptType[] wptArray)
    Sets array of all "wpt" element WARNING: This method is not atomicaly synchronized.
    int
    Returns number of "rte" element
    int
    Returns number of "trk" element
    int
    Returns number of "wpt" element
    void
    Unsets the "extensions" element
    void
    Unsets the "metadata" element
    org.apache.xmlbeans.XmlString
    Gets (as xml) the "creator" attribute
    org.apache.xmlbeans.XmlString
    Gets (as xml) the "version" attribute
    void
    xsetCreator(org.apache.xmlbeans.XmlString creator)
    Sets (as xml) the "creator" attribute
    void
    xsetVersion(org.apache.xmlbeans.XmlString version)
    Sets (as xml) the "version" attribute

    Methods inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl

    arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, compute_text, equal_to, get_default_attribute_text, get_default_element_text, get_elementflags, is_child_element_order_sensitive, new_visitor, schemaType, set_nil, set_String, set_text, unionArraySetterHelper, unionArraySetterHelper, update_from_complex_content, value_hash_code

    Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase

    _copy, _copy, _isComplexContent, _isComplexType, _set, _validateOnSet, attach_store, build_nil, build_text, changeType, check_dated, check_orphaned, compare_to, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, disconnect_store, documentProperties, dump, elementFlags, equals, execQuery, execQuery, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_default_attribute_value, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_rule, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanArray, getBooleanArray, getBooleanValue, getByteArray, getByteArray, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleArray, getDoubleArray, getDoubleValue, getEnumArray, getEnumArray, getEnumValue, getFloatArray, getFloatArray, getFloatValue, getGDateValue, getGDurationValue, getIntArray, getIntArray, getIntValue, getListValue, getLongArray, getLongArray, getLongValue, getObjectArray, getObjectArray, getObjectValue, getQNameValue, getShortArray, getShortArray, getShortValue, getStringValue, getXmlLocale, getXmlObjectArray, getXmlObjectArray, has_store, hashCode, init_flags, initComplexType, instanceType, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_defaultable_ws, is_orphaned, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, java_value, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set_b64, set_BigDecimal, set_BigInteger, set_boolean, set_byte, set_ByteArray, set_Calendar, set_char, set_ComplexXml, set_Date, set_double, set_enum, set_float, set_GDate, set_GDuration, set_hex, set_int, set_list, set_long, set_newValue, set_notation, set_QName, set_short, set_xmlanysimple, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, substitute, toString, uses_invalidate_value, validate, validate, validate_now, validate_simpleval, valueEquals, valueHashCode, writeReplace, xgetArray, xgetArray, xgetListValue, xmlText, xmlText

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.xmlbeans.XmlObject

    changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode

    Methods inherited from interface org.apache.xmlbeans.XmlTokenSource

    documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
  • Constructor Details

    • GpxTypeImpl

      public GpxTypeImpl(org.apache.xmlbeans.SchemaType sType)
  • Method Details

    • getMetadata

      public MetadataType getMetadata()
      Gets the "metadata" element
      Specified by:
      getMetadata in interface GpxType
    • isSetMetadata

      public boolean isSetMetadata()
      True if has "metadata" element
      Specified by:
      isSetMetadata in interface GpxType
    • setMetadata

      public void setMetadata(MetadataType metadata)
      Sets the "metadata" element
      Specified by:
      setMetadata in interface GpxType
    • addNewMetadata

      public MetadataType addNewMetadata()
      Appends and returns a new empty "metadata" element
      Specified by:
      addNewMetadata in interface GpxType
    • unsetMetadata

      public void unsetMetadata()
      Unsets the "metadata" element
      Specified by:
      unsetMetadata in interface GpxType
    • getWptList

      public List<WptType> getWptList()
      Gets a List of "wpt" elements
      Specified by:
      getWptList in interface GpxType
    • getWptArray

      public WptType[] getWptArray()
      Gets array of all "wpt" elements
      Specified by:
      getWptArray in interface GpxType
    • getWptArray

      public WptType getWptArray(int i)
      Gets ith "wpt" element
      Specified by:
      getWptArray in interface GpxType
    • sizeOfWptArray

      public int sizeOfWptArray()
      Returns number of "wpt" element
      Specified by:
      sizeOfWptArray in interface GpxType
    • setWptArray

      public void setWptArray(WptType[] wptArray)
      Sets array of all "wpt" element WARNING: This method is not atomicaly synchronized.
      Specified by:
      setWptArray in interface GpxType
    • setWptArray

      public void setWptArray(int i, WptType wpt)
      Sets ith "wpt" element
      Specified by:
      setWptArray in interface GpxType
    • insertNewWpt

      public WptType insertNewWpt(int i)
      Inserts and returns a new empty value (as xml) as the ith "wpt" element
      Specified by:
      insertNewWpt in interface GpxType
    • addNewWpt

      public WptType addNewWpt()
      Appends and returns a new empty value (as xml) as the last "wpt" element
      Specified by:
      addNewWpt in interface GpxType
    • removeWpt

      public void removeWpt(int i)
      Removes the ith "wpt" element
      Specified by:
      removeWpt in interface GpxType
    • getRteList

      public List<RteType> getRteList()
      Gets a List of "rte" elements
      Specified by:
      getRteList in interface GpxType
    • getRteArray

      public RteType[] getRteArray()
      Gets array of all "rte" elements
      Specified by:
      getRteArray in interface GpxType
    • getRteArray

      public RteType getRteArray(int i)
      Gets ith "rte" element
      Specified by:
      getRteArray in interface GpxType
    • sizeOfRteArray

      public int sizeOfRteArray()
      Returns number of "rte" element
      Specified by:
      sizeOfRteArray in interface GpxType
    • setRteArray

      public void setRteArray(RteType[] rteArray)
      Sets array of all "rte" element WARNING: This method is not atomicaly synchronized.
      Specified by:
      setRteArray in interface GpxType
    • setRteArray

      public void setRteArray(int i, RteType rte)
      Sets ith "rte" element
      Specified by:
      setRteArray in interface GpxType
    • insertNewRte

      public RteType insertNewRte(int i)
      Inserts and returns a new empty value (as xml) as the ith "rte" element
      Specified by:
      insertNewRte in interface GpxType
    • addNewRte

      public RteType addNewRte()
      Appends and returns a new empty value (as xml) as the last "rte" element
      Specified by:
      addNewRte in interface GpxType
    • removeRte

      public void removeRte(int i)
      Removes the ith "rte" element
      Specified by:
      removeRte in interface GpxType
    • getTrkList

      public List<TrkType> getTrkList()
      Gets a List of "trk" elements
      Specified by:
      getTrkList in interface GpxType
    • getTrkArray

      public TrkType[] getTrkArray()
      Gets array of all "trk" elements
      Specified by:
      getTrkArray in interface GpxType
    • getTrkArray

      public TrkType getTrkArray(int i)
      Gets ith "trk" element
      Specified by:
      getTrkArray in interface GpxType
    • sizeOfTrkArray

      public int sizeOfTrkArray()
      Returns number of "trk" element
      Specified by:
      sizeOfTrkArray in interface GpxType
    • setTrkArray

      public void setTrkArray(TrkType[] trkArray)
      Sets array of all "trk" element WARNING: This method is not atomicaly synchronized.
      Specified by:
      setTrkArray in interface GpxType
    • setTrkArray

      public void setTrkArray(int i, TrkType trk)
      Sets ith "trk" element
      Specified by:
      setTrkArray in interface GpxType
    • insertNewTrk

      public TrkType insertNewTrk(int i)
      Inserts and returns a new empty value (as xml) as the ith "trk" element
      Specified by:
      insertNewTrk in interface GpxType
    • addNewTrk

      public TrkType addNewTrk()
      Appends and returns a new empty value (as xml) as the last "trk" element
      Specified by:
      addNewTrk in interface GpxType
    • removeTrk

      public void removeTrk(int i)
      Removes the ith "trk" element
      Specified by:
      removeTrk in interface GpxType
    • getExtensions

      public ExtensionsType getExtensions()
      Gets the "extensions" element
      Specified by:
      getExtensions in interface GpxType
    • isSetExtensions

      public boolean isSetExtensions()
      True if has "extensions" element
      Specified by:
      isSetExtensions in interface GpxType
    • setExtensions

      public void setExtensions(ExtensionsType extensions)
      Sets the "extensions" element
      Specified by:
      setExtensions in interface GpxType
    • addNewExtensions

      public ExtensionsType addNewExtensions()
      Appends and returns a new empty "extensions" element
      Specified by:
      addNewExtensions in interface GpxType
    • unsetExtensions

      public void unsetExtensions()
      Unsets the "extensions" element
      Specified by:
      unsetExtensions in interface GpxType
    • getVersion

      public String getVersion()
      Gets the "version" attribute
      Specified by:
      getVersion in interface GpxType
    • xgetVersion

      public org.apache.xmlbeans.XmlString xgetVersion()
      Gets (as xml) the "version" attribute
      Specified by:
      xgetVersion in interface GpxType
    • setVersion

      public void setVersion(String version)
      Sets the "version" attribute
      Specified by:
      setVersion in interface GpxType
    • xsetVersion

      public void xsetVersion(org.apache.xmlbeans.XmlString version)
      Sets (as xml) the "version" attribute
      Specified by:
      xsetVersion in interface GpxType
    • getCreator

      public String getCreator()
      Gets the "creator" attribute
      Specified by:
      getCreator in interface GpxType
    • xgetCreator

      public org.apache.xmlbeans.XmlString xgetCreator()
      Gets (as xml) the "creator" attribute
      Specified by:
      xgetCreator in interface GpxType
    • setCreator

      public void setCreator(String creator)
      Sets the "creator" attribute
      Specified by:
      setCreator in interface GpxType
    • xsetCreator

      public void xsetCreator(org.apache.xmlbeans.XmlString creator)
      Sets (as xml) the "creator" attribute
      Specified by:
      xsetCreator in interface GpxType