public static enum TaggedFilterConfiguration.RULE_TYPE extends Enum<TaggedFilterConfiguration.RULE_TYPE>
AbstractMarkupFilter rule types. These rules are listed in YAML configuration files and interpreted by
the TaggedFilterConfiguration class.| Enum Constant and Description |
|---|
ATTRIBUTE_DEFAULT_WHITESPACE
Attribute rule that defines the attribute marking default whitespace state.
|
ATTRIBUTE_ID
Attribute rule that specifies the attribute has an ID.
|
ATTRIBUTE_PRESERVE_WHITESPACE
Attribute rule that defines the attribute marking preserve whitespace state.
|
ATTRIBUTE_READONLY
Attribute rule that defines the attribute as read-only.
|
ATTRIBUTE_TRANS
Attribute rule that defines the attribute as translatable.
|
ATTRIBUTE_WRITABLE
Attribute rule that defines the attribute as writable (or localizable).
|
ATTRIBUTES_ONLY
Element rule specifies a tag where only the attributes require processing.
|
ELEMENT_ATTRIBUTE_ID
Element rule that specifies the attribute has an ID.
|
ELEMENT_ATTRIBUTE_READONLY
Element rule that defines the attribute as read-only.
|
ELEMENT_ATTRIBUTE_TRANS
Element rule that defines the attribute as translatable.
|
ELEMENT_ATTRIBUTE_WRITABLE
Element rule that defines the attribute as writable (or localizable).
|
EXCLUDED_ELEMENT
Marks the beginning of an excluded block - all content in this block will be filtered as
DocumentPart
s |
EXCLUDED_ELEMENT_FAIL |
GROUP_ELEMENT
Marks a tag that is converted to an Okapi Group resource.
|
GROUP_ELEMENT_FAIL |
INCLUDED_ELEMENT
Used inside EXCLUDED_ELEMENT to mark exceptions to the excluded rule.
|
INCLUDED_ELEMENT_FAIL |
INLINE_ELEMENT
Tag that exists inside a text run, i.e., bold, underline etc.
|
INLINE_ELEMENT_FAIL |
INLINE_EXCLUDED_ELEMENT
Tag that exists inside a text run, i.e., bold, underline etc.
|
INLINE_EXCLUDED_ELEMENT_FAIL |
INLINE_INCLUDED_ELEMENT
Tag that exists inside a text run, i.e., bold, underline etc.
|
INLINE_INCLUDED_ELEMENT_FAIL |
PRESERVE_WHITESPACE
Marks a tag that triggers a preserve whitespace rule.
|
PRESERVE_WHITESPACE_FAIL |
RULE_NOT_FOUND
Rule was not found or failed - default rule.
|
SCRIPT_ELEMENT
Marks a tag begins or ends a web script (PHP, Perl, VBA etc.)
|
SERVER_ELEMENT
Marks a tag that begins or ends a server side content (SSI)
|
TEXT_UNIT_ELEMENT
Marks a tag that is converted to an Okapi TextUnit resource.
|
TEXT_UNIT_ELEMENT_FAIL |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsName(String otherName) |
static TaggedFilterConfiguration.RULE_TYPE |
toEnum(String value) |
String |
toString() |
static TaggedFilterConfiguration.RULE_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaggedFilterConfiguration.RULE_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaggedFilterConfiguration.RULE_TYPE INLINE_ELEMENT
public static final TaggedFilterConfiguration.RULE_TYPE INLINE_ELEMENT_FAIL
public static final TaggedFilterConfiguration.RULE_TYPE INLINE_EXCLUDED_ELEMENT
public static final TaggedFilterConfiguration.RULE_TYPE INLINE_EXCLUDED_ELEMENT_FAIL
public static final TaggedFilterConfiguration.RULE_TYPE INLINE_INCLUDED_ELEMENT
public static final TaggedFilterConfiguration.RULE_TYPE INLINE_INCLUDED_ELEMENT_FAIL
public static final TaggedFilterConfiguration.RULE_TYPE EXCLUDED_ELEMENT
DocumentPart
spublic static final TaggedFilterConfiguration.RULE_TYPE EXCLUDED_ELEMENT_FAIL
public static final TaggedFilterConfiguration.RULE_TYPE INCLUDED_ELEMENT
public static final TaggedFilterConfiguration.RULE_TYPE INCLUDED_ELEMENT_FAIL
public static final TaggedFilterConfiguration.RULE_TYPE GROUP_ELEMENT
public static final TaggedFilterConfiguration.RULE_TYPE GROUP_ELEMENT_FAIL
public static final TaggedFilterConfiguration.RULE_TYPE TEXT_UNIT_ELEMENT
public static final TaggedFilterConfiguration.RULE_TYPE TEXT_UNIT_ELEMENT_FAIL
public static final TaggedFilterConfiguration.RULE_TYPE PRESERVE_WHITESPACE
public static final TaggedFilterConfiguration.RULE_TYPE PRESERVE_WHITESPACE_FAIL
public static final TaggedFilterConfiguration.RULE_TYPE SCRIPT_ELEMENT
public static final TaggedFilterConfiguration.RULE_TYPE SERVER_ELEMENT
public static final TaggedFilterConfiguration.RULE_TYPE ATTRIBUTE_TRANS
public static final TaggedFilterConfiguration.RULE_TYPE ATTRIBUTE_WRITABLE
public static final TaggedFilterConfiguration.RULE_TYPE ATTRIBUTE_READONLY
public static final TaggedFilterConfiguration.RULE_TYPE ATTRIBUTE_ID
public static final TaggedFilterConfiguration.RULE_TYPE ELEMENT_ATTRIBUTE_TRANS
public static final TaggedFilterConfiguration.RULE_TYPE ELEMENT_ATTRIBUTE_WRITABLE
public static final TaggedFilterConfiguration.RULE_TYPE ELEMENT_ATTRIBUTE_READONLY
public static final TaggedFilterConfiguration.RULE_TYPE ELEMENT_ATTRIBUTE_ID
public static final TaggedFilterConfiguration.RULE_TYPE ATTRIBUTE_PRESERVE_WHITESPACE
public static final TaggedFilterConfiguration.RULE_TYPE ATTRIBUTE_DEFAULT_WHITESPACE
public static final TaggedFilterConfiguration.RULE_TYPE ATTRIBUTES_ONLY
public static final TaggedFilterConfiguration.RULE_TYPE RULE_NOT_FOUND
public static TaggedFilterConfiguration.RULE_TYPE[] values()
for (TaggedFilterConfiguration.RULE_TYPE c : TaggedFilterConfiguration.RULE_TYPE.values()) System.out.println(c);
public static TaggedFilterConfiguration.RULE_TYPE valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TaggedFilterConfiguration.RULE_TYPE toEnum(String value)
public boolean equalsName(String otherName)
public String toString()
toString in class Enum<TaggedFilterConfiguration.RULE_TYPE>Copyright © 2022. All rights reserved.