public class SheetNameMetadataParser extends MetadataParser
SheetNameMetadataParser
is a MetadataParser
that disallows certain metadata keys that do not make sense when present as
part of a sheet name.Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ABBR_INDEX_VAR |
Abbreviation for
MetadataParser.VAR_NAME_INDEXVAR . |
static java.lang.String |
ABBR_LIMIT |
Abbreviation for
MetadataParser.VAR_NAME_LIMIT . |
static java.lang.String |
ABBR_REPLACE_VALUE |
Abbreviation for
MetadataParser.VAR_NAME_REPLACE_VALUE . |
static java.lang.String |
ABBR_VAR_STATUS |
Abbreviation for
MetadataParser.VAR_NAME_VAR_STATUS . |
VAR_NAME_COLLAPSE, VAR_NAME_COPY_RIGHT, VAR_NAME_EXTRA_ROWS, VAR_NAME_FIXED, VAR_NAME_GROUP_DIR, VAR_NAME_INDEXVAR, VAR_NAME_LEFT, VAR_NAME_LIMIT, VAR_NAME_ON_LOOP_PROCESSED, VAR_NAME_ON_PROCESSED, VAR_NAME_PAST_END_ACTION, VAR_NAME_REPLACE_VALUE, VAR_NAME_RIGHT, VAR_NAME_VAR_STATUS
Constructor | Description |
---|---|
SheetNameMetadataParser() |
Create a
SheetNameMetadataParser . |
SheetNameMetadataParser(java.lang.String metadataText) |
Create a
SheetNameMetadataParser object that will parse the given
metadata text. |
Modifier and Type | Method | Description |
---|---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
getAbbreviations() |
This parser will recognize abbreviations in the returned map.
|
protected boolean |
isRestricted(java.lang.String metadataKey) |
Restricts many metadata keys that don't make sense in the context of a
sheet name.
|
getCollapsingGroup, getColsLeft, getColsRight, getCopyingRight, getExtraRows, getFixed, getGroupDir, getIndexVarName, getLimit, getPastEndAction, getReplacementValue, getTagListener, getTagLoopListener, getVarStatusName, isDefiningCols, parse, setCell, setMetadataText
public static final java.lang.String ABBR_INDEX_VAR
MetadataParser.VAR_NAME_INDEXVAR
.public static final java.lang.String ABBR_LIMIT
MetadataParser.VAR_NAME_LIMIT
.public static final java.lang.String ABBR_REPLACE_VALUE
MetadataParser.VAR_NAME_REPLACE_VALUE
.public static final java.lang.String ABBR_VAR_STATUS
MetadataParser.VAR_NAME_VAR_STATUS
.public SheetNameMetadataParser()
SheetNameMetadataParser
.public SheetNameMetadataParser(java.lang.String metadataText)
SheetNameMetadataParser
object that will parse the given
metadata text.metadataText
- The text of the metadata.protected boolean isRestricted(java.lang.String metadataKey)
isRestricted
in class MetadataParser
metadataKey
- The metadata key.true
if it's restricted, else false
.protected java.util.Map<java.lang.String,java.lang.String> getAbbreviations()
getAbbreviations
in class MetadataParser
Map
of abbreviations to metadata keys.Copyright © 2012–2018 Jett Team. All rights reserved.