Class StreamedVar

java.lang.Object
org.apache.juneau.commons.svl.Var
org.apache.juneau.commons.svl.StreamedVar
Direct Known Subclasses:
SerializedRequestAttrVar

public abstract class StreamedVar extends Var
Abstract superclass of all Simple Var Language variables that write their values directly to a writer.

Note the difference between this class and SimpleVar that returns simple string values.
Unlike the SimpleVar class, the output from this class cannot contain nested variables.
However, this class can be more efficient for variables that produce large amounts of output so that the creation of large in-memory strings is avoided.

Subclasses must implement the following method:

See Also: