| Modifier and Type | Field and Description |
|---|---|
| private static final String | EOL
Platform specific end of line |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | appendAttributes(IBuffer
the buffer to append attributes to. result, Properties the attributes to append (may be null). attributes)Appends the attributes to result. |
| public static String | |
| public static String | |
| public static String | Returns: The String value of the generated tagindent indent, String name of the tag name, String content for this tag (or null) content, Properties tag attributes (or null) attributes)Generate tag. |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void |
| EOL | back to summary |
|---|---|
| private static final String EOL Platform specific end of line | |
| XMLUtils | back to summary |
|---|---|
| private XMLUtils() | |
| appendAttributes | back to summary |
|---|---|
| public static void appendAttributes(IBuffer result, Properties attributes) Appends the attributes to result. The attributes are added on a single line as: key1="value1" key2="value2" ... (a space is added before the first key)
| |
| escape | back to summary |
|---|---|
| public static String escape(String input) | |
| extractComment | back to summary |
|---|---|
| public static String extractComment(String tag, Properties properties) | |
| xml | back to summary |
|---|---|
| public static String xml(String indent, String name, String content, Properties attributes) Generate tag. An opening and closing tag will be generated even if value is null.
| |
| xmlClose | back to summary |
|---|---|
| public static void xmlClose(IBuffer result, String indent, String tag, String comment) | |
| xmlOpen | back to summary |
|---|---|
| public static void xmlOpen(IBuffer result, String indent, String tag, Properties attributes) | |
| xmlOpen | back to summary |
|---|---|
| public static void xmlOpen(IBuffer result, String indent, String tag, Properties attributes, boolean noNewLine) | |
| xmlOptional | back to summary |
|---|---|
| public static void xmlOptional(IBuffer result, String sp, String elementName, Boolean value, Properties attributes) | |
| xmlOptional | back to summary |
|---|---|
| public static void xmlOptional(IBuffer result, String sp, String elementName, String value, Properties attributes) | |
| xmlRequired | back to summary |
|---|---|
| public static void xmlRequired(IBuffer result, String sp, String elementName, String value, Properties attributes) | |