Class NodeTypeImpl

java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.XmlComplexContentImpl
org.graphdrawing.graphml.xmlns.impl.NodeTypeImpl
All Implemented Interfaces:
Serializable, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource, NodeType

public class NodeTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements NodeType
An XML node.type(@http://graphml.graphdrawing.org/xmlns). This is a complex type.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.graphdrawing.graphml.xmlns.NodeType

    NodeType.Factory

    Nested classes/interfaces inherited from interface org.apache.xmlbeans.XmlObject

    org.apache.xmlbeans.XmlObject.Factory
  • 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.graphdrawing.graphml.xmlns.NodeType

    type

    Fields inherited from interface org.apache.xmlbeans.XmlObject

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

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

    Modifier and Type
    Method
    Description
    Appends and returns a new empty value (as xml) as the last "data" element
    Appends and returns a new empty value (as xml) as the last "graph" element
    Appends and returns a new empty "locator" element
    Appends and returns a new empty value (as xml) as the last "port" element
    Gets array of all "data" elements
    getDataArray(int i)
    Gets ith "data" element
    Gets the "desc" element
    Gets array of all "graph" elements
    Gets ith "graph" element
    Gets the "id" attribute
    Gets the "locator" element
    Gets the "parse.indegree" attribute
    Gets the "parse.outdegree" attribute
    Gets array of all "port" elements
    getPortArray(int i)
    Gets ith "port" element
    Gets the "yfiles.foldertype" attribute
    Inserts and returns a new empty value (as xml) as the ith "data" element
    Inserts and returns a new empty value (as xml) as the ith "graph" element
    Inserts and returns a new empty value (as xml) as the ith "port" element
    boolean
    True if has "desc" element
    boolean
    True if has "locator" element
    boolean
    True if has "parse.indegree" attribute
    boolean
    True if has "parse.outdegree" attribute
    boolean
    True if has "yfiles.foldertype" attribute
    void
    removeData(int i)
    Removes the ith "data" element
    void
    removeGraph(int i)
    Removes the ith "graph" element
    void
    removePort(int i)
    Removes the ith "port" element
    void
    setDataArray(int i, DataType data)
    Sets ith "data" element
    void
    setDataArray(DataType[] dataArray)
    Sets array of all "data" element
    void
    Sets the "desc" element
    void
    setGraphArray(int i, GraphType graph)
    Sets ith "graph" element
    void
    setGraphArray(GraphType[] graphArray)
    Sets array of all "graph" element
    void
    Sets the "id" attribute
    void
    Sets the "locator" element
    void
    Sets the "parse.indegree" attribute
    void
    setParseOutdegree(BigInteger parseOutdegree)
    Sets the "parse.outdegree" attribute
    void
    setPortArray(int i, PortType port)
    Sets ith "port" element
    void
    setPortArray(PortType[] portArray)
    Sets array of all "port" element
    void
    Sets the "yfiles.foldertype" attribute
    int
    Returns number of "data" element
    int
    Returns number of "graph" element
    int
    Returns number of "port" element
    void
    Unsets the "desc" element
    void
    Unsets the "locator" element
    void
    Unsets the "parse.indegree" attribute
    void
    Unsets the "parse.outdegree" attribute
    void
    Unsets the "yfiles.foldertype" attribute
    org.apache.xmlbeans.XmlString
    Gets (as xml) the "desc" element
    org.apache.xmlbeans.XmlNMTOKEN
    Gets (as xml) the "id" attribute
    Gets (as xml) the "parse.indegree" attribute
    Gets (as xml) the "parse.outdegree" attribute
    Gets (as xml) the "yfiles.foldertype" attribute
    void
    xsetDesc(org.apache.xmlbeans.XmlString desc)
    Sets (as xml) the "desc" element
    void
    xsetId(org.apache.xmlbeans.XmlNMTOKEN id)
    Sets (as xml) the "id" attribute
    void
    Sets (as xml) the "parse.indegree" attribute
    void
    Sets (as xml) the "parse.outdegree" attribute
    void
    Sets (as xml) the "yfiles.foldertype" 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, bigDecimalValue, bigIntegerValue, booleanValue, build_nil, build_text, byteArrayValue, byteValue, calendarValue, changeType, check_dated, check_orphaned, compare_to, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, dateValue, disconnect_store, documentProperties, doubleValue, dump, elementFlags, enumValue, equals, execQuery, execQuery, floatValue, gDateValue, gDurationValue, 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, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, has_store, hashCode, init_flags, initComplexType, instanceType, intValue, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_defaultable_ws, is_orphaned, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, java_value, listValue, longValue, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, objectSet, objectValue, qNameValue, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, 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, shortValue, stringValue, substitute, toString, uses_invalidate_value, validate, validate, validate_now, validate_simpleval, valueEquals, valueHashCode, writeReplace, xgetListValue, xlistValue, 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, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
  • Constructor Details

    • NodeTypeImpl

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

    • getDesc

      public String getDesc()
      Gets the "desc" element
      Specified by:
      getDesc in interface NodeType
    • xgetDesc

      public org.apache.xmlbeans.XmlString xgetDesc()
      Gets (as xml) the "desc" element
      Specified by:
      xgetDesc in interface NodeType
    • isSetDesc

      public boolean isSetDesc()
      True if has "desc" element
      Specified by:
      isSetDesc in interface NodeType
    • setDesc

      public void setDesc(String desc)
      Sets the "desc" element
      Specified by:
      setDesc in interface NodeType
    • xsetDesc

      public void xsetDesc(org.apache.xmlbeans.XmlString desc)
      Sets (as xml) the "desc" element
      Specified by:
      xsetDesc in interface NodeType
    • unsetDesc

      public void unsetDesc()
      Unsets the "desc" element
      Specified by:
      unsetDesc in interface NodeType
    • getDataArray

      public DataType[] getDataArray()
      Gets array of all "data" elements
      Specified by:
      getDataArray in interface NodeType
    • getDataArray

      public DataType getDataArray(int i)
      Gets ith "data" element
      Specified by:
      getDataArray in interface NodeType
    • sizeOfDataArray

      public int sizeOfDataArray()
      Returns number of "data" element
      Specified by:
      sizeOfDataArray in interface NodeType
    • setDataArray

      public void setDataArray(DataType[] dataArray)
      Sets array of all "data" element
      Specified by:
      setDataArray in interface NodeType
    • setDataArray

      public void setDataArray(int i, DataType data)
      Sets ith "data" element
      Specified by:
      setDataArray in interface NodeType
    • insertNewData

      public DataType insertNewData(int i)
      Inserts and returns a new empty value (as xml) as the ith "data" element
      Specified by:
      insertNewData in interface NodeType
    • addNewData

      public DataType addNewData()
      Appends and returns a new empty value (as xml) as the last "data" element
      Specified by:
      addNewData in interface NodeType
    • removeData

      public void removeData(int i)
      Removes the ith "data" element
      Specified by:
      removeData in interface NodeType
    • getPortArray

      public PortType[] getPortArray()
      Gets array of all "port" elements
      Specified by:
      getPortArray in interface NodeType
    • getPortArray

      public PortType getPortArray(int i)
      Gets ith "port" element
      Specified by:
      getPortArray in interface NodeType
    • sizeOfPortArray

      public int sizeOfPortArray()
      Returns number of "port" element
      Specified by:
      sizeOfPortArray in interface NodeType
    • setPortArray

      public void setPortArray(PortType[] portArray)
      Sets array of all "port" element
      Specified by:
      setPortArray in interface NodeType
    • setPortArray

      public void setPortArray(int i, PortType port)
      Sets ith "port" element
      Specified by:
      setPortArray in interface NodeType
    • insertNewPort

      public PortType insertNewPort(int i)
      Inserts and returns a new empty value (as xml) as the ith "port" element
      Specified by:
      insertNewPort in interface NodeType
    • addNewPort

      public PortType addNewPort()
      Appends and returns a new empty value (as xml) as the last "port" element
      Specified by:
      addNewPort in interface NodeType
    • removePort

      public void removePort(int i)
      Removes the ith "port" element
      Specified by:
      removePort in interface NodeType
    • getGraphArray

      public GraphType[] getGraphArray()
      Gets array of all "graph" elements
      Specified by:
      getGraphArray in interface NodeType
    • getGraphArray

      public GraphType getGraphArray(int i)
      Gets ith "graph" element
      Specified by:
      getGraphArray in interface NodeType
    • sizeOfGraphArray

      public int sizeOfGraphArray()
      Returns number of "graph" element
      Specified by:
      sizeOfGraphArray in interface NodeType
    • setGraphArray

      public void setGraphArray(GraphType[] graphArray)
      Sets array of all "graph" element
      Specified by:
      setGraphArray in interface NodeType
    • setGraphArray

      public void setGraphArray(int i, GraphType graph)
      Sets ith "graph" element
      Specified by:
      setGraphArray in interface NodeType
    • insertNewGraph

      public GraphType insertNewGraph(int i)
      Inserts and returns a new empty value (as xml) as the ith "graph" element
      Specified by:
      insertNewGraph in interface NodeType
    • addNewGraph

      public GraphType addNewGraph()
      Appends and returns a new empty value (as xml) as the last "graph" element
      Specified by:
      addNewGraph in interface NodeType
    • removeGraph

      public void removeGraph(int i)
      Removes the ith "graph" element
      Specified by:
      removeGraph in interface NodeType
    • getLocator

      public LocatorType getLocator()
      Gets the "locator" element
      Specified by:
      getLocator in interface NodeType
    • isSetLocator

      public boolean isSetLocator()
      True if has "locator" element
      Specified by:
      isSetLocator in interface NodeType
    • setLocator

      public void setLocator(LocatorType locator)
      Sets the "locator" element
      Specified by:
      setLocator in interface NodeType
    • addNewLocator

      public LocatorType addNewLocator()
      Appends and returns a new empty "locator" element
      Specified by:
      addNewLocator in interface NodeType
    • unsetLocator

      public void unsetLocator()
      Unsets the "locator" element
      Specified by:
      unsetLocator in interface NodeType
    • getParseIndegree

      public BigInteger getParseIndegree()
      Gets the "parse.indegree" attribute
      Specified by:
      getParseIndegree in interface NodeType
    • xgetParseIndegree

      public NodeIndegreeType xgetParseIndegree()
      Gets (as xml) the "parse.indegree" attribute
      Specified by:
      xgetParseIndegree in interface NodeType
    • isSetParseIndegree

      public boolean isSetParseIndegree()
      True if has "parse.indegree" attribute
      Specified by:
      isSetParseIndegree in interface NodeType
    • setParseIndegree

      public void setParseIndegree(BigInteger parseIndegree)
      Sets the "parse.indegree" attribute
      Specified by:
      setParseIndegree in interface NodeType
    • xsetParseIndegree

      public void xsetParseIndegree(NodeIndegreeType parseIndegree)
      Sets (as xml) the "parse.indegree" attribute
      Specified by:
      xsetParseIndegree in interface NodeType
    • unsetParseIndegree

      public void unsetParseIndegree()
      Unsets the "parse.indegree" attribute
      Specified by:
      unsetParseIndegree in interface NodeType
    • getParseOutdegree

      public BigInteger getParseOutdegree()
      Gets the "parse.outdegree" attribute
      Specified by:
      getParseOutdegree in interface NodeType
    • xgetParseOutdegree

      public NodeOutdegreeType xgetParseOutdegree()
      Gets (as xml) the "parse.outdegree" attribute
      Specified by:
      xgetParseOutdegree in interface NodeType
    • isSetParseOutdegree

      public boolean isSetParseOutdegree()
      True if has "parse.outdegree" attribute
      Specified by:
      isSetParseOutdegree in interface NodeType
    • setParseOutdegree

      public void setParseOutdegree(BigInteger parseOutdegree)
      Sets the "parse.outdegree" attribute
      Specified by:
      setParseOutdegree in interface NodeType
    • xsetParseOutdegree

      public void xsetParseOutdegree(NodeOutdegreeType parseOutdegree)
      Sets (as xml) the "parse.outdegree" attribute
      Specified by:
      xsetParseOutdegree in interface NodeType
    • unsetParseOutdegree

      public void unsetParseOutdegree()
      Unsets the "parse.outdegree" attribute
      Specified by:
      unsetParseOutdegree in interface NodeType
    • getYfilesFoldertype

      public YfilesFoldertypeType.Enum getYfilesFoldertype()
      Gets the "yfiles.foldertype" attribute
      Specified by:
      getYfilesFoldertype in interface NodeType
    • xgetYfilesFoldertype

      public YfilesFoldertypeType xgetYfilesFoldertype()
      Gets (as xml) the "yfiles.foldertype" attribute
      Specified by:
      xgetYfilesFoldertype in interface NodeType
    • isSetYfilesFoldertype

      public boolean isSetYfilesFoldertype()
      True if has "yfiles.foldertype" attribute
      Specified by:
      isSetYfilesFoldertype in interface NodeType
    • setYfilesFoldertype

      public void setYfilesFoldertype(YfilesFoldertypeType.Enum yfilesFoldertype)
      Sets the "yfiles.foldertype" attribute
      Specified by:
      setYfilesFoldertype in interface NodeType
    • xsetYfilesFoldertype

      public void xsetYfilesFoldertype(YfilesFoldertypeType yfilesFoldertype)
      Sets (as xml) the "yfiles.foldertype" attribute
      Specified by:
      xsetYfilesFoldertype in interface NodeType
    • unsetYfilesFoldertype

      public void unsetYfilesFoldertype()
      Unsets the "yfiles.foldertype" attribute
      Specified by:
      unsetYfilesFoldertype in interface NodeType
    • getId

      public String getId()
      Gets the "id" attribute
      Specified by:
      getId in interface NodeType
    • xgetId

      public org.apache.xmlbeans.XmlNMTOKEN xgetId()
      Gets (as xml) the "id" attribute
      Specified by:
      xgetId in interface NodeType
    • setId

      public void setId(String id)
      Sets the "id" attribute
      Specified by:
      setId in interface NodeType
    • xsetId

      public void xsetId(org.apache.xmlbeans.XmlNMTOKEN id)
      Sets (as xml) the "id" attribute
      Specified by:
      xsetId in interface NodeType