Package org.ametys.runtime.i18n
Interface I18nizable
-
- All Known Subinterfaces:
FormatableI18nizable
- All Known Implementing Classes:
I18nizableDate,I18nizableDateTime,I18nizableText
public interface I18nizable
Interface for all internationalizable or localizable objects (dates, texts, numbers...).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidtoSAX(ContentHandler handler)Represents thisI18nizableas SAX events.default voidtoSAX(ContentHandler handler, String tagName)Represents thisI18nizableas SAX events, surrounded by the provided tag.
-
-
-
Method Detail
-
toSAX
void toSAX(ContentHandler handler) throws SAXException
Represents thisI18nizableas SAX events.- Parameters:
handler- the SAX content handler- Throws:
SAXException- if an error occurs
-
toSAX
default void toSAX(ContentHandler handler, String tagName) throws SAXException
Represents thisI18nizableas SAX events, surrounded by the provided tag.- Parameters:
handler- the SAX content handlertagName- the tag name- Throws:
SAXException- if an error occurs
-
-