|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.ac.waikato.mcennis.rat.graph.property.StringFactory
public class StringFactory
Factory for serializing and deserializing string objects
| Constructor Summary | |
|---|---|
StringFactory()
|
|
| Method Summary | |
|---|---|
java.lang.String |
exportToString(java.lang.String type,
Graph g)
Create a string representing the contents of this object. |
java.lang.String |
importFromString(java.lang.String data,
Graph g)
Create an instance of this type from a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringFactory()
| Method Detail |
|---|
public java.lang.String importFromString(java.lang.String data,
Graph g)
PropertyValueFactory
importFromString in interface PropertyValueFactory<java.lang.String>data - string containing the data used to create the objectg - graph context of the string
public java.lang.String exportToString(java.lang.String type,
Graph g)
PropertyValueFactory
exportToString in interface PropertyValueFactory<java.lang.String>type - object to be serializedg - graph context of the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||