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
Modifier and TypeMethodDescriptionvoid
toSAX
(ContentHandler handler) Represents thisI18nizable
as SAX events.default void
toSAX
(ContentHandler handler, String tagName) Represents thisI18nizable
as SAX events, surrounded by the provided tag.
-
Method Details
-
toSAX
Represents thisI18nizable
as SAX events.- Parameters:
handler
- the SAX content handler- Throws:
SAXException
- if an error occurs
-
toSAX
Represents thisI18nizable
as SAX events, surrounded by the provided tag.- Parameters:
handler
- the SAX content handlertagName
- the tag name- Throws:
SAXException
- if an error occurs
-