public void setFrom(int from) {
        if (from < 0) {
            throw new IllegalArgumentException("From cannot be < 0. (Was " + from + ").");
        }
        this.from = from;
    }
NOTE: DO NOT USE. Should only be used by {@link com.yahoo.document.serialization.SpanNodeReader}.
@param from the from value to set
document/src/main/java/com/yahoo/document/annotation/Span.java