Issue 342 - help text update

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2090 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2011-06-06 22:38:50 +00:00
parent eebc225abc
commit a52c25272e

View File

@ -45,6 +45,7 @@ import com.google.refine.grel.Function;
public class OwnText implements Function {
@Override
public Object call(Properties bindings, Object[] args) {
if (args.length >= 1) {
Object o1 = args[0];
@ -60,11 +61,12 @@ public class OwnText implements Function {
}
@Override
public void write(JSONWriter writer, Properties options)
throws JSONException {
writer.object();
writer.key("description"); writer.value("Gets the text owned by this element only; does not get the combined text of all children.");
writer.key("description"); writer.value("Gets the text owned by this HTML element only; does not get the combined text of all children.");
writer.key("params"); writer.value("Element e");
writer.key("returns"); writer.value("String ownText");
writer.endObject();