|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.icc.render.obj.ContextData
public class ContextData
Context Data is the holder for all information/data (Data Dictionary Instance, local Variables,
Session/User data) that is to be used while processing any Content
.
Constructor Summary | |
---|---|
ContextData()
|
Method Summary | |
---|---|
boolean |
forcePlaceholder(String variableName)
This method looks for a substitution rule for the specified variable that indicates whether it should always be treated as a placeholder or if it should be treated as its regular type (placeholder or DDE). |
DataDictionaryInstance |
getDataDictionaryInstance()
|
Map |
getLocalVariables()
These are the floating variables that are not bound to DD and defined in Document Composer. |
String |
getTextContentOverride()
Content to use for module resolution instead of module's persisted content. |
MimeType |
getTextContentOverrideMimeType()
The MIME Type for the textContentOverride property. |
boolean |
getUseXhtmlTextContent()
|
Object |
getValue(String variableName)
This method looks for the variable in all sources of information in the context and returns the value for the same. |
Set |
getVariableOverrides()
Set of variables to use for module resolution instead of the module's persisted set of variables. |
Map |
getVariableSubstitutionRules()
Maps a variable name to a &-delimited string of variable substitution options and associated values that provide instructions specific to the substitution of the variable within the content. |
boolean |
isIncludeEmptyConditions()
True if nested empty conditions (nested conditional modules that produce no output) should be included in the resolved content list. |
boolean |
isIncludeEmptyLists()
True if nested empty lists (nested list modules that produce no output) should be included in the resolved content list. |
boolean |
keepEmptyToken(String variableName)
This method looks for a substitution rule for the specified variable that indicates whether its token should be retained when the variable's value is empty. |
void |
setDataDictionaryInstance(DataDictionaryInstance dataDictionaryInstance)
|
void |
setIncludeEmptyConditions(boolean includeEmptyConditions)
|
void |
setIncludeEmptyLists(boolean includeEmptyLists)
|
void |
setLocalVariables(Map localVariables)
Sets the floating variables that are not bound to DD and defined in Document Composer. |
void |
setTextContentOverride(String textContentOverride)
|
void |
setTextContentOverrideMimeType(MimeType textContentOverrideMimeType)
|
void |
setUseXhtmlTextContent(boolean useXhtmlTextContent)
|
void |
setVariableOverrides(Set variableOverrides)
|
void |
setVariableSubstitutionRules(Map variableSubstitutionRules)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextData()
Method Detail |
---|
public DataDictionaryInstance getDataDictionaryInstance()
public void setDataDictionaryInstance(DataDictionaryInstance dataDictionaryInstance)
public Map getLocalVariables()
public void setLocalVariables(Map localVariables)
localVariables
- The floating variables that are not bound to dd and defined in Document Composer.public Map getVariableSubstitutionRules()
Map
of a variable name to a &-delimited string of variable substitution options and associated
values that provide instructions specific to the substitution of the variable within the content.public void setVariableSubstitutionRules(Map variableSubstitutionRules)
public boolean getUseXhtmlTextContent()
public void setUseXhtmlTextContent(boolean useXhtmlTextContent)
public String getTextContentOverride()
public void setTextContentOverride(String textContentOverride)
public MimeType getTextContentOverrideMimeType()
public void setTextContentOverrideMimeType(MimeType textContentOverrideMimeType)
public Set getVariableOverrides()
public void setVariableOverrides(Set variableOverrides)
public boolean isIncludeEmptyConditions()
public void setIncludeEmptyConditions(boolean includeEmptyConditions)
public boolean isIncludeEmptyLists()
public void setIncludeEmptyLists(boolean includeEmptyLists)
public Object getValue(String variableName)
variableName
-
public boolean keepEmptyToken(String variableName)
variableName
- The name of the variable whose substitution rule is sought.
public boolean forcePlaceholder(String variableName)
variableName
- The name of the variable whose substitution rule is sought.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |