public class Graph extends Object implements Serializable
Constructor and Description |
---|
Graph() |
Modifier and Type | Method and Description |
---|---|
void |
addGraph_element(Graph_element vGraph_element) |
void |
addGraph_element(int index,
Graph_element vGraph_element) |
Enumeration<Graph_element> |
enumerateGraph_element()
Method enumerateGraph_element.
|
Graph_element[] |
getGraph_element()
Method getGraph_element.Returns the contents of the
collection in an Array.
|
Graph_element |
getGraph_element(int index)
Method getGraph_element.
|
List<Graph_element> |
getGraph_elementCollection()
Method getGraph_elementCollection.Returns a reference to
'_graph_elementList'.
|
int |
getGraph_elementCount()
Method getGraph_elementCount.
|
boolean |
isValid()
Method isValid.
|
Iterator<Graph_element> |
iterateGraph_element()
Method iterateGraph_element.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllGraph_element() |
boolean |
removeGraph_element(Graph_element vGraph_element)
Method removeGraph_element.
|
Graph_element |
removeGraph_elementAt(int index)
Method removeGraph_elementAt.
|
void |
setGraph_element(Graph_element[] vGraph_elementArray) |
void |
setGraph_element(int index,
Graph_element vGraph_element) |
void |
setGraph_element(List<Graph_element> vGraph_elementList)
Sets the value of '_graph_elementList' by copying the given
Vector.
|
void |
setGraph_elementCollection(List<Graph_element> graph_elementList)
Deprecated.
|
static Graph |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addGraph_element(Graph_element vGraph_element) throws IndexOutOfBoundsException
vGraph_element
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addGraph_element(int index, Graph_element vGraph_element) throws IndexOutOfBoundsException
index
- vGraph_element
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<Graph_element> enumerateGraph_element()
public Graph_element getGraph_element(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Graph_element[] getGraph_element()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Graph_element> getGraph_elementCollection()
public int getGraph_elementCount()
public boolean isValid()
public Iterator<Graph_element> iterateGraph_element()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllGraph_element()
public boolean removeGraph_element(Graph_element vGraph_element)
vGraph_element
- public Graph_element removeGraph_elementAt(int index)
index
- public void setGraph_element(int index, Graph_element vGraph_element) throws IndexOutOfBoundsException
index
- vGraph_element
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setGraph_element(Graph_element[] vGraph_elementArray)
vGraph_elementArray
- public void setGraph_element(List<Graph_element> vGraph_elementList)
vGraph_elementList
- the Vector to copy.public void setGraph_elementCollection(List<Graph_element> graph_elementList)
graph_elementList
- the Vector to set.public static Graph unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All rights reserved.