org.w3c.jigsaw.ssi
Class Segment
java.lang.Object
org.w3c.jigsaw.ssi.Segment
public class Segment
- extends java.lang.Object
Represents a segment within the parsed content
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNPARSED
protected static final int UNPARSED
- See Also:
- Constant Field Values
COMMAND
protected static final int COMMAND
- See Also:
- Constant Field Values
SEPARATOR
protected static final java.lang.String SEPARATOR
- See Also:
- Constant Field Values
control
protected boolean control
ssiframe
protected SSIFrame ssiframe
request
protected Request request
Segment
public Segment(int start,
int end)
Segment
public Segment(SSIFrame ssiframe,
java.lang.String commandName,
ArrayDictionary parameters,
int start,
int end)
Segment
protected Segment()
isControl
public boolean isControl()
pickle
public java.lang.String pickle()
unpickle
public static Segment unpickle(java.lang.String value)
pickle
public void pickle(java.io.DataOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
unpickle
public static Segment unpickle(java.io.DataInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
isUnparsed
public final boolean isUnparsed()
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
jumpTo
public int jumpTo()
throws ControlCommandException
- Throws:
ControlCommandException
get
public final Reply get()
needsRevalidate
public boolean needsRevalidate()
init
public final Reply init(SSIFrame ssiframe,
Request request,
java.util.Dictionary variables,
CommandRegistry registry,
int position)