MCPcopy Create free account
hub / github.com/GateNLP/gate-core / toString

Method toString

src/main/java/gate/corpora/ObjectWrapper.java:86–91  ·  view source on GitHub ↗

Produces an XML serialisation of this ObjectWrapper instance, that can be deserialised by using the #ObjectWrapper(String) constructor. @see java.lang.Object#toString()

()

Source from the content-addressed store, hash-verified

84 * @see java.lang.Object#toString()
85 */
86 @Override
87 public String toString() {
88 StringWriter out = new StringWriter();
89 xstream.toXML(this, out);
90 return out.toString();
91 }
92
93 /**
94 * Gets the wrapped value.

Callers 1

writeRelationSetMethod · 0.95

Calls 2

toXMLMethod · 0.80
toStringMethod · 0.65

Tested by

no test coverage detected