Package org.graphdrawing.graphml.xmlns
Interface PortType
- All Superinterfaces:
org.apache.xmlbeans.XmlObject,org.apache.xmlbeans.XmlTokenSource
- All Known Implementing Classes:
PortTypeImpl
public interface PortType
extends org.apache.xmlbeans.XmlObject
An XML port.type(@http://graphml.graphdrawing.org/xmlns).
This is a complex type.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA factory class with static methods for creating instances of this type. -
Field Summary
FieldsFields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL -
Method Summary
Modifier and TypeMethodDescriptionAppends and returns a new empty value (as xml) as the last "data" elementAppends and returns a new empty value (as xml) as the last "port" elementDataType[]Gets array of all "data" elementsgetDataArray(int i) Gets ith "data" elementgetDesc()Gets the "desc" elementgetName()Gets the "name" attributePortType[]Gets array of all "port" elementsgetPortArray(int i) Gets ith "port" elementinsertNewData(int i) Inserts and returns a new empty value (as xml) as the ith "data" elementinsertNewPort(int i) Inserts and returns a new empty value (as xml) as the ith "port" elementbooleanTrue if has "desc" elementvoidremoveData(int i) Removes the ith "data" elementvoidremovePort(int i) Removes the ith "port" elementvoidsetDataArray(int i, DataType data) Sets ith "data" elementvoidsetDataArray(DataType[] dataArray) Sets array of all "data" elementvoidSets the "desc" elementvoidSets the "name" attributevoidsetPortArray(int i, PortType port) Sets ith "port" elementvoidsetPortArray(PortType[] portArray) Sets array of all "port" elementintReturns number of "data" elementintReturns number of "port" elementvoidUnsets the "desc" elementorg.apache.xmlbeans.XmlStringxgetDesc()Gets (as xml) the "desc" elementorg.apache.xmlbeans.XmlNMTOKENxgetName()Gets (as xml) the "name" attributevoidxsetDesc(org.apache.xmlbeans.XmlString desc) Sets (as xml) the "desc" elementvoidxsetName(org.apache.xmlbeans.XmlNMTOKEN name) Sets (as xml) the "name" attributeMethods 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, valueHashCodeMethods 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
-
Field Details
-
type
static final org.apache.xmlbeans.SchemaType type
-
-
Method Details
-
getDesc
String getDesc()Gets the "desc" element -
xgetDesc
org.apache.xmlbeans.XmlString xgetDesc()Gets (as xml) the "desc" element -
isSetDesc
boolean isSetDesc()True if has "desc" element -
setDesc
Sets the "desc" element -
xsetDesc
void xsetDesc(org.apache.xmlbeans.XmlString desc) Sets (as xml) the "desc" element -
unsetDesc
void unsetDesc()Unsets the "desc" element -
getDataArray
DataType[] getDataArray()Gets array of all "data" elements -
getDataArray
Gets ith "data" element -
sizeOfDataArray
int sizeOfDataArray()Returns number of "data" element -
setDataArray
Sets array of all "data" element -
setDataArray
Sets ith "data" element -
insertNewData
Inserts and returns a new empty value (as xml) as the ith "data" element -
addNewData
DataType addNewData()Appends and returns a new empty value (as xml) as the last "data" element -
removeData
void removeData(int i) Removes the ith "data" element -
getPortArray
PortType[] getPortArray()Gets array of all "port" elements -
getPortArray
Gets ith "port" element -
sizeOfPortArray
int sizeOfPortArray()Returns number of "port" element -
setPortArray
Sets array of all "port" element -
setPortArray
Sets ith "port" element -
insertNewPort
Inserts and returns a new empty value (as xml) as the ith "port" element -
addNewPort
PortType addNewPort()Appends and returns a new empty value (as xml) as the last "port" element -
removePort
void removePort(int i) Removes the ith "port" element -
getName
String getName()Gets the "name" attribute -
xgetName
org.apache.xmlbeans.XmlNMTOKEN xgetName()Gets (as xml) the "name" attribute -
setName
Sets the "name" attribute -
xsetName
void xsetName(org.apache.xmlbeans.XmlNMTOKEN name) Sets (as xml) the "name" attribute
-