Class PtsegTypeImpl

  • All Implemented Interfaces:
    PtsegType, Serializable, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource

    public class PtsegTypeImpl
    extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl
    implements PtsegType
    An XML ptsegType(@http://www.topografix.com/GPX/1/1). This is a complex type.
    See Also:
    Serialized Form
    • 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 org.apache.xmlbeans.XmlObject

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PtType addNewPt()
      Appends and returns a new empty value (as xml) as the last "pt" element
      PtType[] getPtArray()
      Gets array of all "pt" elements
      PtType getPtArray​(int i)
      Gets ith "pt" element
      List<PtType> getPtList()
      Gets a List of "pt" elements
      PtType insertNewPt​(int i)
      Inserts and returns a new empty value (as xml) as the ith "pt" element
      void removePt​(int i)
      Removes the ith "pt" element
      void setPtArray​(int i, PtType pt)
      Sets ith "pt" element
      void setPtArray​(PtType[] ptArray)
      Sets array of all "pt" element WARNING: This method is not atomicaly synchronized.
      int sizeOfPtArray()
      Returns number of "pt" element
      • 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 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 Detail

      • PtsegTypeImpl

        public PtsegTypeImpl​(org.apache.xmlbeans.SchemaType sType)
    • Method Detail

      • getPtArray

        public PtType[] getPtArray()
        Gets array of all "pt" elements
        Specified by:
        getPtArray in interface PtsegType
      • sizeOfPtArray

        public int sizeOfPtArray()
        Returns number of "pt" element
        Specified by:
        sizeOfPtArray in interface PtsegType
      • setPtArray

        public void setPtArray​(PtType[] ptArray)
        Sets array of all "pt" element WARNING: This method is not atomicaly synchronized.
        Specified by:
        setPtArray in interface PtsegType
      • setPtArray

        public void setPtArray​(int i,
                               PtType pt)
        Sets ith "pt" element
        Specified by:
        setPtArray in interface PtsegType
      • insertNewPt

        public PtType insertNewPt​(int i)
        Inserts and returns a new empty value (as xml) as the ith "pt" element
        Specified by:
        insertNewPt in interface PtsegType
      • addNewPt

        public PtType addNewPt()
        Appends and returns a new empty value (as xml) as the last "pt" element
        Specified by:
        addNewPt in interface PtsegType
      • removePt

        public void removePt​(int i)
        Removes the ith "pt" element
        Specified by:
        removePt in interface PtsegType