Class NodeTypeImpl

java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.XmlComplexContentImpl
com.yworks.xml.graphml.impl.NodeTypeImpl
All Implemented Interfaces:
NodeType, Serializable, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
Direct Known Subclasses:
GenericNodeTypeImpl, GroupNodeTypeImpl, ImageNodeTypeImpl, ShapeNodeTypeImpl

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

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    An XML Fill(@http://www.yworks.com/xml/graphml).

    Nested classes/interfaces inherited from interface com.yworks.xml.graphml.NodeType

    NodeType.Factory, NodeType.Fill

    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 com.yworks.xml.graphml.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 "BorderStyle" element
    Appends and returns a new empty "Fill" element
    Appends and returns a new empty "Geometry" element
    Appends and returns a new empty value (as xml) as the last "NodeLabel" element
    Appends and returns a new empty "NodePorts" element
    Gets the "BorderStyle" element
    Gets the "Fill" element
    Gets the "Geometry" element
    Gets array of all "NodeLabel" elements
    Gets ith "NodeLabel" element
    Gets the "NodePorts" element
    boolean
    Gets the "selected" attribute
    Inserts and returns a new empty value (as xml) as the ith "NodeLabel" element
    boolean
    True if has "BorderStyle" element
    boolean
    True if has "Fill" element
    boolean
    True if has "Geometry" element
    boolean
    True if has "NodePorts" element
    boolean
    True if has "selected" attribute
    void
    Removes the ith "NodeLabel" element
    void
    Sets the "BorderStyle" element
    void
    Sets the "Fill" element
    void
    Sets the "Geometry" element
    void
    setNodeLabelArray(int i, NodeLabelType nodeLabel)
    Sets ith "NodeLabel" element
    void
    setNodeLabelArray(NodeLabelType[] nodeLabelArray)
    Sets array of all "NodeLabel" element
    void
    Sets the "NodePorts" element
    void
    setSelected(boolean selected)
    Sets the "selected" attribute
    int
    Returns number of "NodeLabel" element
    void
    Unsets the "BorderStyle" element
    void
    Unsets the "Fill" element
    void
    Unsets the "Geometry" element
    void
    Unsets the "NodePorts" element
    void
    Unsets the "selected" attribute
    org.apache.xmlbeans.XmlBoolean
    Gets (as xml) the "selected" attribute
    void
    xsetSelected(org.apache.xmlbeans.XmlBoolean selected)
    Sets (as xml) the "selected" 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

    • getGeometry

      public GeometryType getGeometry()
      Gets the "Geometry" element
      Specified by:
      getGeometry in interface NodeType
    • isSetGeometry

      public boolean isSetGeometry()
      True if has "Geometry" element
      Specified by:
      isSetGeometry in interface NodeType
    • setGeometry

      public void setGeometry(GeometryType geometry)
      Sets the "Geometry" element
      Specified by:
      setGeometry in interface NodeType
    • addNewGeometry

      public GeometryType addNewGeometry()
      Appends and returns a new empty "Geometry" element
      Specified by:
      addNewGeometry in interface NodeType
    • unsetGeometry

      public void unsetGeometry()
      Unsets the "Geometry" element
      Specified by:
      unsetGeometry in interface NodeType
    • getFill

      public NodeType.Fill getFill()
      Gets the "Fill" element
      Specified by:
      getFill in interface NodeType
    • isSetFill

      public boolean isSetFill()
      True if has "Fill" element
      Specified by:
      isSetFill in interface NodeType
    • setFill

      public void setFill(NodeType.Fill fill)
      Sets the "Fill" element
      Specified by:
      setFill in interface NodeType
    • addNewFill

      public NodeType.Fill addNewFill()
      Appends and returns a new empty "Fill" element
      Specified by:
      addNewFill in interface NodeType
    • unsetFill

      public void unsetFill()
      Unsets the "Fill" element
      Specified by:
      unsetFill in interface NodeType
    • getBorderStyle

      public LineStyleType getBorderStyle()
      Gets the "BorderStyle" element
      Specified by:
      getBorderStyle in interface NodeType
    • isSetBorderStyle

      public boolean isSetBorderStyle()
      True if has "BorderStyle" element
      Specified by:
      isSetBorderStyle in interface NodeType
    • setBorderStyle

      public void setBorderStyle(LineStyleType borderStyle)
      Sets the "BorderStyle" element
      Specified by:
      setBorderStyle in interface NodeType
    • addNewBorderStyle

      public LineStyleType addNewBorderStyle()
      Appends and returns a new empty "BorderStyle" element
      Specified by:
      addNewBorderStyle in interface NodeType
    • unsetBorderStyle

      public void unsetBorderStyle()
      Unsets the "BorderStyle" element
      Specified by:
      unsetBorderStyle in interface NodeType
    • getNodeLabelArray

      public NodeLabelType[] getNodeLabelArray()
      Gets array of all "NodeLabel" elements
      Specified by:
      getNodeLabelArray in interface NodeType
    • getNodeLabelArray

      public NodeLabelType getNodeLabelArray(int i)
      Gets ith "NodeLabel" element
      Specified by:
      getNodeLabelArray in interface NodeType
    • sizeOfNodeLabelArray

      public int sizeOfNodeLabelArray()
      Returns number of "NodeLabel" element
      Specified by:
      sizeOfNodeLabelArray in interface NodeType
    • setNodeLabelArray

      public void setNodeLabelArray(NodeLabelType[] nodeLabelArray)
      Sets array of all "NodeLabel" element
      Specified by:
      setNodeLabelArray in interface NodeType
    • setNodeLabelArray

      public void setNodeLabelArray(int i, NodeLabelType nodeLabel)
      Sets ith "NodeLabel" element
      Specified by:
      setNodeLabelArray in interface NodeType
    • insertNewNodeLabel

      public NodeLabelType insertNewNodeLabel(int i)
      Inserts and returns a new empty value (as xml) as the ith "NodeLabel" element
      Specified by:
      insertNewNodeLabel in interface NodeType
    • addNewNodeLabel

      public NodeLabelType addNewNodeLabel()
      Appends and returns a new empty value (as xml) as the last "NodeLabel" element
      Specified by:
      addNewNodeLabel in interface NodeType
    • removeNodeLabel

      public void removeNodeLabel(int i)
      Removes the ith "NodeLabel" element
      Specified by:
      removeNodeLabel in interface NodeType
    • getNodePorts

      public NodePortsType getNodePorts()
      Gets the "NodePorts" element
      Specified by:
      getNodePorts in interface NodeType
    • isSetNodePorts

      public boolean isSetNodePorts()
      True if has "NodePorts" element
      Specified by:
      isSetNodePorts in interface NodeType
    • setNodePorts

      public void setNodePorts(NodePortsType nodePorts)
      Sets the "NodePorts" element
      Specified by:
      setNodePorts in interface NodeType
    • addNewNodePorts

      public NodePortsType addNewNodePorts()
      Appends and returns a new empty "NodePorts" element
      Specified by:
      addNewNodePorts in interface NodeType
    • unsetNodePorts

      public void unsetNodePorts()
      Unsets the "NodePorts" element
      Specified by:
      unsetNodePorts in interface NodeType
    • getSelected

      public boolean getSelected()
      Gets the "selected" attribute
      Specified by:
      getSelected in interface NodeType
    • xgetSelected

      public org.apache.xmlbeans.XmlBoolean xgetSelected()
      Gets (as xml) the "selected" attribute
      Specified by:
      xgetSelected in interface NodeType
    • isSetSelected

      public boolean isSetSelected()
      True if has "selected" attribute
      Specified by:
      isSetSelected in interface NodeType
    • setSelected

      public void setSelected(boolean selected)
      Sets the "selected" attribute
      Specified by:
      setSelected in interface NodeType
    • xsetSelected

      public void xsetSelected(org.apache.xmlbeans.XmlBoolean selected)
      Sets (as xml) the "selected" attribute
      Specified by:
      xsetSelected in interface NodeType
    • unsetSelected

      public void unsetSelected()
      Unsets the "selected" attribute
      Specified by:
      unsetSelected in interface NodeType