|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.sourceforge.gxl.GXLElement
|
+--net.sourceforge.gxl.GXLType
Represents the GXL type element.
The type element is used in conjuction with a GXL schema to define types of graphs, nodes etc.
The URI of a type element must always point to a GXL schema entity. If types are used, then
all elements in the GXL graph MUST be typed and point to the SAME GXL schema.
Children
The type element may not contain any children.
Attributes
xlink:type - Fixed string = "simple"
xlink:href - Required uri pointing to a GXL schema.
GXLTypedElement| Constructor Summary | |
GXLType(URI uri)
Creates a new GXLType element. |
|
| Method Summary | |
boolean |
equals(Object o)
Compares this type to another object. |
URI |
getURI()
Returns the URI of this type. |
void |
setURI(URI uri)
Sets the URI of this type. |
| Methods inherited from class net.sourceforge.gxl.GXLElement |
add, getAttribute, getChildAt, getChildCount, getDocument, getParent, indexOf, insert, remove, setAttribute |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GXLType(URI uri)
GXLType element.
uri - A URI pointing to a GXL schema.| Method Detail |
public URI getURI()
public void setURI(URI uri)
uri - The new URI.public boolean equals(Object o)
equals in class Objecto - The object to compare this type to.
ClassCastException - If the specified object is not an instance of GXLType.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||