|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
org.eclipse.soda.dk.device.servlet.TemplateInputStream
public class TemplateInputStream
ByteArrayOutputStream,
Vector| Field Summary | |
|---|---|
(package private) boolean |
commentLine
Define the comment line (boolean) field. |
(package private) int |
depth
Define the depth (int) field. |
(package private) boolean |
entityRef
Define the entity ref (boolean) field. |
| Constructor Summary | |
|---|---|
TemplateInputStream()
Constructs an DkSsiInputStream object using the input parameter(s). |
|
TemplateInputStream(java.io.InputStream inputStream)
Constructs an DkSsiInputStream object using the input parameter(s). |
|
| Method Summary | |
|---|---|
void |
addEntity(java.lang.String key,
java.lang.String value)
Add entity with the specified key and value parameters. |
void |
addVariable(java.lang.String key,
java.lang.String value)
Add variable with the specified key and value parameters. |
boolean |
expr(java.lang.String variableName)
Expr with the specified variable name parameter and return the boolean result. |
java.io.InputStream |
getBlankStream()
Gets the blank stream (InputStream) value. |
java.io.InputStream |
getEchoVar(java.lang.String variableName)
Perform the getEchoVar method and return the InputStream result. |
java.util.Hashtable |
getEntities()
Gets the entities (Hashtable) value. |
java.lang.String |
getEntity(java.lang.String key)
Get entity with the specified key parameter and return the String result. |
java.io.InputStream |
getIncludeFile(java.lang.String value)
Perform the getIncludeFile method and return the InputStream result. |
java.io.InputStream |
getIncludeVirtual(java.lang.String value)
Perform the getIncludeVirtual method and return the InputStream result. |
java.io.InputStream |
getInputStream()
Gets the InputStream inputStream property value. |
java.util.ArrayList |
getStack()
Gets the ArrayList stack property value. |
java.io.InputStream |
getStream(java.lang.String commentLine)
Perform the getStream method and return the InputStream result. |
java.lang.String |
getVariable(java.lang.String key)
Get variable with the specified key parameter and return the String result. |
java.util.Hashtable |
getVariables()
Gets the variables (Hashtable) value. |
void |
initializeVariables()
Initialize variables. |
java.io.InputStream |
pop()
Perform the pop method and return the InputStream result. |
java.io.InputStream |
processComment(java.lang.String comment)
Perform the processComment method and return the InputStream result. |
java.io.InputStream |
processElse(java.lang.String variableName)
Process else with the specified variable name parameter and return the InputStream result. |
java.io.InputStream |
processEndif(java.lang.String variableName)
Process endif with the specified variable name parameter and return the InputStream result. |
java.io.InputStream |
processEntityReference(java.lang.String comment)
Process entity reference with the specified comment parameter and return the InputStream result. |
java.io.InputStream |
processIf(java.lang.String variableName)
Process if with the specified variable name parameter and return the InputStream result. |
java.io.InputStream |
processSsiCommand(java.lang.String command,
java.lang.String tag,
java.lang.String value)
Perform the processSsiCommand method and return the InputStream result. |
java.io.InputStream |
processSsiLogicCommand(java.lang.String command,
java.lang.String tag,
java.lang.String value)
Process ssi logic command with the specified command, tagAsVersion and value parameters and return the InputStream result. |
void |
push(java.io.InputStream inputStream)
Perform the push action method. |
int |
read()
Perform the read method and return the int result. |
java.io.InputStream |
setEchoVar(java.lang.String variableName)
Sets the echo var value. |
void |
setEntities(java.util.Hashtable entities)
Sets the entities value. |
void |
setVariables(java.util.Hashtable variables)
Sets the variables value. |
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
int depth
boolean commentLine
boolean entityRef
| Constructor Detail |
|---|
public TemplateInputStream()
DkSsiInputStream object using the input parameter(s).
inputStream - java.io.InputStreamTemplateInputStream(InputStream)public TemplateInputStream(java.io.InputStream inputStream)
DkSsiInputStream object using the input parameter(s).
inputStream - java.io.InputStreamTemplateInputStream()| Method Detail |
|---|
public void addEntity(java.lang.String key,
java.lang.String value)
key - The key (String) parameter.value - The value (String) parameter.getEntity(String)
public void addVariable(java.lang.String key,
java.lang.String value)
key - The key (String) parameter.value - The value (String) parameter.getVariable(String)public boolean expr(java.lang.String variableName)
variableName - The variable name (String) parameter.
boolean) value.public java.io.InputStream getBlankStream()
InputStream) value.public java.io.InputStream getEchoVar(java.lang.String variableName)
InputStream result.
value - java.lang.StringvariableName - The variable name (String) parameter.
InputStream) value.setEchoVar(String)public java.util.Hashtable getEntities()
Hashtable) value.setEntities(Hashtable)public java.lang.String getEntity(java.lang.String key)
key - The key (String) parameter.
String) value.addEntity(String,String)public java.io.InputStream getIncludeFile(java.lang.String value)
InputStream result.
value - java.lang.String
InputStream) value.public java.io.InputStream getIncludeVirtual(java.lang.String value)
InputStream result.
value - java.lang.String
InputStream) value.public java.io.InputStream getInputStream()
InputStream inputStream property value.
InputStream) value.TemplateInputStream(),
TemplateInputStream(InputStream)public java.util.ArrayList getStack()
ArrayList stack property value.
ArrayList) value.public java.io.InputStream getStream(java.lang.String commentLine)
InputStream result.
commentLine - java.lang.String
InputStream) value.TemplateInputStream(),
TemplateInputStream(InputStream),
getBlankStream(),
getInputStream()public java.lang.String getVariable(java.lang.String key)
key - The key (String) parameter.
String) value.addVariable(String,String)public java.util.Hashtable getVariables()
Hashtable) value.initializeVariables(),
setVariables(Hashtable)public void initializeVariables()
getVariables(),
setVariables(Hashtable)public java.io.InputStream pop()
InputStream result.
InputStream) value.public java.io.InputStream processComment(java.lang.String comment)
InputStream result.
comment - java.lang.String
InputStream) value.public java.io.InputStream processElse(java.lang.String variableName)
variableName - The variable name (String) parameter.
InputStream) value.public java.io.InputStream processEndif(java.lang.String variableName)
variableName - The variable name (String) parameter.
InputStream) value.public java.io.InputStream processEntityReference(java.lang.String comment)
comment - The comment (String) parameter.
InputStream) value.public java.io.InputStream processIf(java.lang.String variableName)
variableName - The variable name (String) parameter.
InputStream) value.
public java.io.InputStream processSsiCommand(java.lang.String command,
java.lang.String tag,
java.lang.String value)
InputStream result.
command - java.lang.StringtagAsVersion - java.lang.Stringvalue - java.lang.Stringtag - The tag (String) parameter.
InputStream) value.
public java.io.InputStream processSsiLogicCommand(java.lang.String command,
java.lang.String tag,
java.lang.String value)
command - The command (String) parameter.tagAsVersion - The tagAsVersion (String) parameter.value - The value (String) parameter.tag - The tag (String) parameter.
InputStream) value.public void push(java.io.InputStream inputStream)
inputStream - java.io.InputStream
public int read()
throws java.io.IOException
int result.
read in class java.io.InputStreamint) value.
- href="java.io.IOException.html">IOException Thrown if the IOException exception condition occurs.
IOException.
java.io.IOExceptionpublic java.io.InputStream setEchoVar(java.lang.String variableName)
variableName - The variable name (String) parameter.
InputStream) value.getEchoVar(String)public void setEntities(java.util.Hashtable entities)
entities - The entities (Hashtable) parameter.getEntities()public void setVariables(java.util.Hashtable variables)
variables - The variables (Hashtable) parameter.getVariables(),
initializeVariables()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||