public class AndroidDialect 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 |
---|
AndroidDialect() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
validateIntactTag(java.lang.String tag,
Attributes atts)
For a given tag, return whether the content of this tag should be
translated, depending on the content of one attribute and the presence or
absence of other attributes.
|
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)
DefaultXMLDialect
validateIntactTag
in interface XMLDialect
validateIntactTag
in class DefaultXMLDialect
tag
- The tag that could be translatedatts
- The list of the tag attributestrue
or false