public interface IMicroPattern
*!
' for the COBOL languagename="value"
expressions following the XML syntactical rules for DOM Node Attributes declaration/
' for the COBOL language*!WF namespace="com.ibm.pdp" enable="false"/ DSL=IZ
*SEL=60 DSP=SD
01 SD00.
05 SD00-SUITE.
15 FILLER PICTURE X(002016).
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTE_NAMESPACE
The Namespace standard attribute name
|
static java.lang.String |
copyright |
static java.lang.String |
MICRO_PATTERN_LIST_CONTEXT_KEY
key used to retrieve the list of declared Micro-Patterns in the same source from the execution context
|
static java.lang.String |
MICRO_PATTERN_TAG_CATEGORY
SyntacticTag category for Micro-Pattern Tags
|
static int |
STATUS_OK
The default processing status
|
static int |
UNRECOVERABLE_ERROR |
static int |
WARNING_RAISED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(java.lang.String attributeName) |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes() |
java.util.List<IMicroPattern> |
getChildren() |
java.lang.String |
getConfigurationArea() |
java.lang.String |
getHeaderDelimiterSequence() |
java.lang.String |
getId() |
com.ibm.pdp.engine.ITextArtefactLocation |
getLocation() |
java.lang.String |
getOriginalHeaderDeclaration() |
IMicroPatternProcessingContext |
getProcessingContext() |
java.lang.String |
getStandardHeaderArea() |
boolean |
isWellFormed() |
void |
setUsageId(java.lang.String usageId)
This method is intended to be used by Filters in such case as where several Micro-Patterns (with different names) are handled by the same IMicroPatternHandler
Example : imagine the Micro-Pattern ID mask as Xnn where nn may be any character string. |
static final java.lang.String ATTRIBUTE_NAMESPACE
static final java.lang.String copyright
static final java.lang.String MICRO_PATTERN_LIST_CONTEXT_KEY
static final java.lang.String MICRO_PATTERN_TAG_CATEGORY
static final int STATUS_OK
static final int UNRECOVERABLE_ERROR
static final int WARNING_RAISED
java.lang.String getAttribute(java.lang.String attributeName)
attributeName
- : the name of an existing attributenull
in case this attribute is not defined in the MP HeadergetAttribute("namespace")
returns com.ibm.pdp
java.util.Map<java.lang.String,java.lang.String> getAttributes()
java.util.List<IMicroPattern> getChildren()
java.lang.String getConfigurationArea()
DSL=IZ SEL=60 DSP=SD
java.lang.String getHeaderDelimiterSequence()
/
java.lang.String getId()
namespace
attribute further describes the Micro Pattern*!WF namespace="com.ibm.pdp" enable="false"/ DSL=IZ
getId()
returns WF
com.ibm.pdp.engine.ITextArtefactLocation getLocation()
java.lang.String getOriginalHeaderDeclaration()
*!WF namespace="com.ibm.pdp" / 00012345 Z
IMicroPatternProcessingContext getProcessingContext()
java.lang.String getStandardHeaderArea()
boolean isWellFormed()
void setUsageId(java.lang.String usageId)
nn
may be any character string. To have one single Handler handle all this mask occurrences,
let define a filter that parses the mask and changes the UsageId (defaults to the ID) and replace nn
by a specific attributeusageId
-