public class XMLSpreadsheetDialect extends DefaultXMLDialect
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
ROOT_PATTERN |
CONSTRAINT_DOCTYPE, CONSTRAINT_DOCTYPE_UNBOXED, CONSTRAINT_PUBLIC_DOCTYPE, CONSTRAINT_PUBLIC_DOCTYPE_UNBOXED, CONSTRAINT_ROOT, CONSTRAINT_ROOT_UNBOXED, CONSTRAINT_SYSTEM_DOCTYPE, CONSTRAINT_SYSTEM_DOCTYPE_UNBOXED, CONSTRAINT_XMLNS, CONSTRAINT_XMLNS_UNBOXED
Constructor and Description |
---|
XMLSpreadsheetDialect() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
validateIntactTag(java.lang.String tag,
Attributes atts)
In the XML Spreadsheet filter, content should not be translated in the following
condition: When the tag is <Data> with the attribute ss:Type="Number".
|
constructShortcuts, defineConstraint, defineContentBasedTag, defineIntactTag, defineIntactTags, defineOutOfTurnTag, defineOutOfTurnTags, defineParagraphTag, defineParagraphTags, definePreformatTag, definePreformatTags, defineShortcut, defineShortcuts, defineTranslatableAttribute, defineTranslatableAttributes, defineTranslatableTagAttribute, defineTranslatableTagAttributes, defineTranslatableTagsAttribute, getClosingTagRequired, getConstraints, getContentBasedTags, getForceSpacePreserving, getIntactTags, getOutOfTurnTags, getParagraphTags, getPreformatTags, getShortcuts, getTagsAggregationEnabled, getTranslatableAttributes, getTranslatableTagAttributes, handleXMLTag, resolveEntity, setClosingTagRequired, setForceSpacePreserving, setTagsAggregationEnabled, validateContentBasedTag, validateParagraphTag, validatePreformatTag, validateTranslatableTag, validateTranslatableTagAttribute
public java.lang.Boolean validateIntactTag(java.lang.String tag, Attributes atts)
validateIntactTag
in interface XMLDialect
validateIntactTag
in class DefaultXMLDialect
tag
- An XML tagatts
- The attributes associated with the tagfalse
if the content of this tag should be
translated, true
otherwise