| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: The escaped content ornull if the content was
nullThe content to escape content)Escape content for use in HTML. |
| public static String | Returns: The escaped content or"?" if obj is
nullThe object to convert to String and then escape obj)Convert the object to a string via |
| public static String | |
| public static String | |
| public static String |
| Escape | back to summary |
|---|---|
| private Escape() | |
| htmlElementContent | back to summary |
|---|---|
| public static String htmlElementContent(String content) Escape content for use in HTML. This escaping is suitable for the following uses:
| |
| htmlElementContent | back to summary |
|---|---|
| public static String htmlElementContent(Object obj) Convert the object to a string via | |
| xml | back to summary |
|---|---|
| public static String xml(String content) Escape content for use in XML. | |
| xml | back to summary |
|---|---|
| public static String xml(String ifNull, String content) Escape content for use in XML. | |
| xml | back to summary |
|---|---|
| public static String xml(String ifNull, boolean escapeCRLF, String content) Escape content for use in XML. | |