public class XHTMLOptions
extends java.lang.Object
implements java.io.Serializable
XHTML filter have the following options ([+] means default on).
Translatable attributes:
Constructor and Description |
---|
XHTMLOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
getParagraphOnBr()
Returns whether a new paragraph should be started on BR.
|
java.lang.String |
getSkipMeta()
Returns the meta-tag attribute key-value pairs of which meta-tags should
not be translated
|
java.lang.String |
getSkipRegExp()
Returns the regular expression that matches text not to be translated
|
boolean |
getTranslateButtonValue()
Returns whether button value attributes should be translated.
|
boolean |
getTranslateHref()
Returns whether href attributes should be translated.
|
boolean |
getTranslateHreflang()
Returns whether hreflang attributes should be translated.
|
boolean |
getTranslateLang()
Returns whether lang attributes should be translated.
|
boolean |
getTranslateSrc()
Returns whether src attributes should be translated.
|
boolean |
getTranslateValue()
Returns whether value attributes should be translated.
|
void |
setParagraphOnBr(boolean paragraphOnBr)
Sets whether a new paragraph should be started on BR.
|
void |
setSkipMeta(java.lang.String skipMeta)
Sets the meta-tag attribute key-value pairs of which meta-tags should not
be translated
|
void |
setSkipRegExp(java.lang.String skipRegExp)
Sets the regular expression that matches text not to be translated
|
void |
setTranslateButtonValue(boolean translateButtonValue)
Sets whether button value attributes should be translated.
|
void |
setTranslateHref(boolean translateHref)
Sets whether href attributes should be translated.
|
void |
setTranslateHreflang(boolean translateHreflang)
Sets whether hreflang attributes should be translated.
|
void |
setTranslateLang(boolean translateLang)
Sets whether lang attributes should be translated.
|
void |
setTranslateSrc(boolean translateSrc)
Sets whether src attributes should be translated.
|
void |
setTranslateValue(boolean translateValue)
Sets whether value attributes should be translated.
|
public boolean getTranslateHref()
public void setTranslateHref(boolean translateHref)
public boolean getTranslateSrc()
public void setTranslateSrc(boolean translateSrc)
public boolean getTranslateLang()
public void setTranslateLang(boolean translateLang)
public boolean getTranslateHreflang()
public void setTranslateHreflang(boolean translateHreflang)
public void setTranslateValue(boolean translateValue)
public boolean getTranslateValue()
public void setTranslateButtonValue(boolean translateButtonValue)
public boolean getTranslateButtonValue()
public boolean getParagraphOnBr()
public void setParagraphOnBr(boolean paragraphOnBr)
public java.lang.String getSkipRegExp()
public void setSkipRegExp(java.lang.String skipRegExp)
public java.lang.String getSkipMeta()
public void setSkipMeta(java.lang.String skipMeta)