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 void
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 Detail
-
toSAX
void toSAX(ContentHandler handler) throws SAXException
Represents thisI18nizable
as 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 thisI18nizable
as SAX events, surrounded by the provided tag.- Parameters:
handler
- the SAX content handlertagName
- the tag name- Throws:
SAXException
- if an error occurs
-
-