Package org.omegat.util.xml
Class DefaultEntityFilter
java.lang.Object
org.omegat.util.xml.DefaultEntityFilter
Deprecated, for removal: This API element is subject to removal in a future version.
Entity filter for XML.
Does XML Entity -> Symbol conversion on source file read and Symbol -> XML Entity conversion on translation write.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionconvertToEntity(int cp) Deprecated, for removal: This API element is subject to removal in a future version.Converts plaintext symbol to XML entity.intconvertToSymbol(String escapeSequence) Deprecated, for removal: This API element is subject to removal in a future version.Converts XML entity to plaintext character.
-
Constructor Details
-
DefaultEntityFilter
public DefaultEntityFilter()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
convertToEntity
Deprecated, for removal: This API element is subject to removal in a future version.Converts plaintext symbol to XML entity. -
convertToSymbol
Deprecated, for removal: This API element is subject to removal in a future version.Converts XML entity to plaintext character. If the entity cannot be converted, returns 0.
-