Package com.topografix.gpx.x1.x1.impl
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GpxTypeImpl(org.apache.xmlbeans.SchemaType sType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionsTypeaddNewExtensions()Appends and returns a new empty "extensions" elementMetadataTypeaddNewMetadata()Appends and returns a new empty "metadata" elementRteTypeaddNewRte()Appends and returns a new empty value (as xml) as the last "rte" elementTrkTypeaddNewTrk()Appends and returns a new empty value (as xml) as the last "trk" elementWptTypeaddNewWpt()Appends and returns a new empty value (as xml) as the last "wpt" elementStringgetCreator()Gets the "creator" attributeExtensionsTypegetExtensions()Gets the "extensions" elementMetadataTypegetMetadata()Gets the "metadata" elementRteType[]getRteArray()Gets array of all "rte" elementsRteTypegetRteArray(int i)Gets ith "rte" elementList<RteType>getRteList()Gets a List of "rte" elementsTrkType[]getTrkArray()Gets array of all "trk" elementsTrkTypegetTrkArray(int i)Gets ith "trk" elementList<TrkType>getTrkList()Gets a List of "trk" elementsStringgetVersion()Gets the "version" attributeWptType[]getWptArray()Gets array of all "wpt" elementsWptTypegetWptArray(int i)Gets ith "wpt" elementList<WptType>getWptList()Gets a List of "wpt" elementsRteTypeinsertNewRte(int i)Inserts and returns a new empty value (as xml) as the ith "rte" elementTrkTypeinsertNewTrk(int i)Inserts and returns a new empty value (as xml) as the ith "trk" elementWptTypeinsertNewWpt(int i)Inserts and returns a new empty value (as xml) as the ith "wpt" elementbooleanisSetExtensions()True if has "extensions" elementbooleanisSetMetadata()True if has "metadata" elementvoidremoveRte(int i)Removes the ith "rte" elementvoidremoveTrk(int i)Removes the ith "trk" elementvoidremoveWpt(int i)Removes the ith "wpt" elementvoidsetCreator(String creator)Sets the "creator" attributevoidsetExtensions(ExtensionsType extensions)Sets the "extensions" elementvoidsetMetadata(MetadataType metadata)Sets the "metadata" elementvoidsetRteArray(int i, RteType rte)Sets ith "rte" elementvoidsetRteArray(RteType[] rteArray)Sets array of all "rte" element WARNING: This method is not atomicaly synchronized.voidsetTrkArray(int i, TrkType trk)Sets ith "trk" elementvoidsetTrkArray(TrkType[] trkArray)Sets array of all "trk" element WARNING: This method is not atomicaly synchronized.voidsetVersion(String version)Sets the "version" attributevoidsetWptArray(int i, WptType wpt)Sets ith "wpt" elementvoidsetWptArray(WptType[] wptArray)Sets array of all "wpt" element WARNING: This method is not atomicaly synchronized.intsizeOfRteArray()Returns number of "rte" elementintsizeOfTrkArray()Returns number of "trk" elementintsizeOfWptArray()Returns number of "wpt" elementvoidunsetExtensions()Unsets the "extensions" elementvoidunsetMetadata()Unsets the "metadata" elementorg.apache.xmlbeans.XmlStringxgetCreator()Gets (as xml) the "creator" attributeorg.apache.xmlbeans.XmlStringxgetVersion()Gets (as xml) the "version" attributevoidxsetCreator(org.apache.xmlbeans.XmlString creator)Sets (as xml) the "creator" attributevoidxsetVersion(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
-
-
-
-
Method Detail
-
getMetadata
public MetadataType getMetadata()
Gets the "metadata" element- Specified by:
getMetadatain interfaceGpxType
-
isSetMetadata
public boolean isSetMetadata()
True if has "metadata" element- Specified by:
isSetMetadatain interfaceGpxType
-
setMetadata
public void setMetadata(MetadataType metadata)
Sets the "metadata" element- Specified by:
setMetadatain interfaceGpxType
-
addNewMetadata
public MetadataType addNewMetadata()
Appends and returns a new empty "metadata" element- Specified by:
addNewMetadatain interfaceGpxType
-
unsetMetadata
public void unsetMetadata()
Unsets the "metadata" element- Specified by:
unsetMetadatain interfaceGpxType
-
getWptList
public List<WptType> getWptList()
Gets a List of "wpt" elements- Specified by:
getWptListin interfaceGpxType
-
getWptArray
public WptType[] getWptArray()
Gets array of all "wpt" elements- Specified by:
getWptArrayin interfaceGpxType
-
getWptArray
public WptType getWptArray(int i)
Gets ith "wpt" element- Specified by:
getWptArrayin interfaceGpxType
-
sizeOfWptArray
public int sizeOfWptArray()
Returns number of "wpt" element- Specified by:
sizeOfWptArrayin interfaceGpxType
-
setWptArray
public void setWptArray(WptType[] wptArray)
Sets array of all "wpt" element WARNING: This method is not atomicaly synchronized.- Specified by:
setWptArrayin interfaceGpxType
-
setWptArray
public void setWptArray(int i, WptType wpt)Sets ith "wpt" element- Specified by:
setWptArrayin interfaceGpxType
-
insertNewWpt
public WptType insertNewWpt(int i)
Inserts and returns a new empty value (as xml) as the ith "wpt" element- Specified by:
insertNewWptin interfaceGpxType
-
addNewWpt
public WptType addNewWpt()
Appends and returns a new empty value (as xml) as the last "wpt" element
-
removeWpt
public void removeWpt(int i)
Removes the ith "wpt" element
-
getRteList
public List<RteType> getRteList()
Gets a List of "rte" elements- Specified by:
getRteListin interfaceGpxType
-
getRteArray
public RteType[] getRteArray()
Gets array of all "rte" elements- Specified by:
getRteArrayin interfaceGpxType
-
getRteArray
public RteType getRteArray(int i)
Gets ith "rte" element- Specified by:
getRteArrayin interfaceGpxType
-
sizeOfRteArray
public int sizeOfRteArray()
Returns number of "rte" element- Specified by:
sizeOfRteArrayin interfaceGpxType
-
setRteArray
public void setRteArray(RteType[] rteArray)
Sets array of all "rte" element WARNING: This method is not atomicaly synchronized.- Specified by:
setRteArrayin interfaceGpxType
-
setRteArray
public void setRteArray(int i, RteType rte)Sets ith "rte" element- Specified by:
setRteArrayin interfaceGpxType
-
insertNewRte
public RteType insertNewRte(int i)
Inserts and returns a new empty value (as xml) as the ith "rte" element- Specified by:
insertNewRtein interfaceGpxType
-
addNewRte
public RteType addNewRte()
Appends and returns a new empty value (as xml) as the last "rte" element
-
removeRte
public void removeRte(int i)
Removes the ith "rte" element
-
getTrkList
public List<TrkType> getTrkList()
Gets a List of "trk" elements- Specified by:
getTrkListin interfaceGpxType
-
getTrkArray
public TrkType[] getTrkArray()
Gets array of all "trk" elements- Specified by:
getTrkArrayin interfaceGpxType
-
getTrkArray
public TrkType getTrkArray(int i)
Gets ith "trk" element- Specified by:
getTrkArrayin interfaceGpxType
-
sizeOfTrkArray
public int sizeOfTrkArray()
Returns number of "trk" element- Specified by:
sizeOfTrkArrayin interfaceGpxType
-
setTrkArray
public void setTrkArray(TrkType[] trkArray)
Sets array of all "trk" element WARNING: This method is not atomicaly synchronized.- Specified by:
setTrkArrayin interfaceGpxType
-
setTrkArray
public void setTrkArray(int i, TrkType trk)Sets ith "trk" element- Specified by:
setTrkArrayin interfaceGpxType
-
insertNewTrk
public TrkType insertNewTrk(int i)
Inserts and returns a new empty value (as xml) as the ith "trk" element- Specified by:
insertNewTrkin interfaceGpxType
-
addNewTrk
public TrkType addNewTrk()
Appends and returns a new empty value (as xml) as the last "trk" element
-
removeTrk
public void removeTrk(int i)
Removes the ith "trk" element
-
getExtensions
public ExtensionsType getExtensions()
Gets the "extensions" element- Specified by:
getExtensionsin interfaceGpxType
-
isSetExtensions
public boolean isSetExtensions()
True if has "extensions" element- Specified by:
isSetExtensionsin interfaceGpxType
-
setExtensions
public void setExtensions(ExtensionsType extensions)
Sets the "extensions" element- Specified by:
setExtensionsin interfaceGpxType
-
addNewExtensions
public ExtensionsType addNewExtensions()
Appends and returns a new empty "extensions" element- Specified by:
addNewExtensionsin interfaceGpxType
-
unsetExtensions
public void unsetExtensions()
Unsets the "extensions" element- Specified by:
unsetExtensionsin interfaceGpxType
-
getVersion
public String getVersion()
Gets the "version" attribute- Specified by:
getVersionin interfaceGpxType
-
xgetVersion
public org.apache.xmlbeans.XmlString xgetVersion()
Gets (as xml) the "version" attribute- Specified by:
xgetVersionin interfaceGpxType
-
setVersion
public void setVersion(String version)
Sets the "version" attribute- Specified by:
setVersionin interfaceGpxType
-
xsetVersion
public void xsetVersion(org.apache.xmlbeans.XmlString version)
Sets (as xml) the "version" attribute- Specified by:
xsetVersionin interfaceGpxType
-
getCreator
public String getCreator()
Gets the "creator" attribute- Specified by:
getCreatorin interfaceGpxType
-
xgetCreator
public org.apache.xmlbeans.XmlString xgetCreator()
Gets (as xml) the "creator" attribute- Specified by:
xgetCreatorin interfaceGpxType
-
setCreator
public void setCreator(String creator)
Sets the "creator" attribute- Specified by:
setCreatorin interfaceGpxType
-
xsetCreator
public void xsetCreator(org.apache.xmlbeans.XmlString creator)
Sets (as xml) the "creator" attribute- Specified by:
xsetCreatorin interfaceGpxType
-
-