public class ParsingContext
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ParsingContext.Builder |
Modifier and Type | Field and Description |
---|---|
static ParsingContext |
DYNAMIC_PARSING_CONTEXT
ParsingContext representing dynamic runtime metadata (e.g.
|
static ParsingContext |
UNBOUNDED_PARSING_CONTEXT
ParsingContext representing unbounded flow.
|
static java.lang.String |
WEB_INF_ADFC_CONFIG_FILE_NAME |
static ParsingContext |
WEB_INF_ADFC_CONFIG_NON_MUTABLE_PARSING_CONTEXT |
Constructor and Description |
---|
ParsingContext(java.lang.String documentName,
TaskFlowId taskFlowId,
boolean isMutable)
Constructor.
|
ParsingContext(java.lang.String documentName,
TaskFlowId taskFlowId,
java.lang.String location,
boolean isMutable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocumentName() |
java.lang.String |
getLocation() |
TaskFlowId |
getTaskFlowId() |
boolean |
isCustomized()
Has the underlaying document been customized?
|
boolean |
isMobile() |
boolean |
isMutable() |
java.lang.String |
toString() |
public static final ParsingContext DYNAMIC_PARSING_CONTEXT
public static final ParsingContext UNBOUNDED_PARSING_CONTEXT
public static final java.lang.String WEB_INF_ADFC_CONFIG_FILE_NAME
public static final ParsingContext WEB_INF_ADFC_CONFIG_NON_MUTABLE_PARSING_CONTEXT
public ParsingContext(java.lang.String documentName, TaskFlowId taskFlowId, boolean isMutable)
documentName
- the name of the document that this element is defined intaskFlowId
- the id of the bounded task flow, or task flow template that
contains this document.isMutable
- indicates whether resource corresponding to this context can be modifiedpublic ParsingContext(java.lang.String documentName, TaskFlowId taskFlowId, java.lang.String location, boolean isMutable)
documentName
- the name of the document that this element is defined intaskFlowId
- the id of the bounded task flow, or task flow template that
contains this document.location
- the physical location of the document, or nullisMutable
- indicates whether resource corresponding to this context can be modifiedpublic java.lang.String getDocumentName()
public TaskFlowId getTaskFlowId()
public boolean isMutable()
public java.lang.String getLocation()
public boolean isCustomized()
true
if the framework can determine customizations have been applied
to the underlaying document.public boolean isMobile()
public java.lang.String toString()
toString
in class java.lang.Object