| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final char | |
| public static final char | |
| pack-priv static final boolean | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| pack-priv CharsetEncoder | |
| pack-priv boolean | fEscapeCharacters
XXX: This feature is only used when writing element content values. |
| pack-priv Writer | fWriter
Writer object |
| public static final String | |
| public static final char | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private CharsetEncoder | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | writeXMLContent(char[] content, int start, int length)
writes xml content (characters and element content |
| private void | writeXMLContent(char[] content, int start, int length, boolean escapeCharacter)
writes xml content (characters and element content |
| public void |
| CLOSE_EMPTY_ELEMENT | back to summary |
|---|---|
| public static final String CLOSE_EMPTY_ELEMENT | |
| CLOSE_END_TAG | back to summary |
|---|---|
| public static final char CLOSE_END_TAG | |
| CLOSE_START_TAG | back to summary |
|---|---|
| public static final char CLOSE_START_TAG | |
| DEBUG_XML_CONTENT | back to summary |
|---|---|
| pack-priv static final boolean DEBUG_XML_CONTENT | |
| DEFAULT_ENCODING | back to summary |
|---|---|
| public static final String DEFAULT_ENCODING | |
| DEFAULT_XML_VERSION | back to summary |
|---|---|
| public static final String DEFAULT_XML_VERSION | |
| DEFAULT_XMLDECL | back to summary |
|---|---|
| public static final String DEFAULT_XMLDECL | |
| END_CDATA | back to summary |
|---|---|
| public static final String END_CDATA | |
| END_COMMENT | back to summary |
|---|---|
| public static final String END_COMMENT | |
| fEncoder | back to summary |
|---|---|
| pack-priv CharsetEncoder fEncoder | |
| fEscapeCharacters | back to summary |
|---|---|
| pack-priv boolean fEscapeCharacters XXX: This feature is only used when writing element content values. default value is 'true' however, if the feature is set to false characters won't be escaped. This feature has no effect when writing Attribute values, character would still be escaped. I can't think of any reason why this would be useful when writing attribute values. However, this can be reconsidered if there is any usecase. | |
| fWriter | back to summary |
|---|---|
| pack-priv Writer fWriter Writer object | |
| OPEN_END_TAG | back to summary |
|---|---|
| public static final String OPEN_END_TAG | |
| OPEN_START_TAG | back to summary |
|---|---|
| public static final char OPEN_START_TAG | |
| SPACE | back to summary |
|---|---|
| public static final String SPACE | |
| START_CDATA | back to summary |
|---|---|
| public static final String START_CDATA | |
| START_COMMENT | back to summary |
|---|---|
| public static final String START_COMMENT | |
| UTF_8 | back to summary |
|---|---|
| public static final String UTF_8 | |
| WriterUtility | back to summary |
|---|---|
| public WriterUtility() | |
| WriterUtility | back to summary |
|---|---|
| public WriterUtility(Writer writer) Creates a new instance of WriterUtility | |
| getDefaultEncoder | back to summary |
|---|---|
| private CharsetEncoder getDefaultEncoder() | |
| getEscapeCharacters | back to summary |
|---|---|
| public boolean getEscapeCharacters() | |
| setEscapeCharacters | back to summary |
|---|---|
| public void setEscapeCharacters(boolean escape) | |
| setWriter | back to summary |
|---|---|
| public void setWriter(Writer writer) sets the writer object
| |
| writeXMLAttributeValue | back to summary |
|---|---|
| public void writeXMLAttributeValue(String value) throws IOException Write Attribute value to the underlying stream. | |
| writeXMLContent | back to summary |
|---|---|
| public void writeXMLContent(char[] content, int start, int length) throws IOException writes xml content (characters and element content | |
| writeXMLContent | back to summary |
|---|---|
| private void writeXMLContent(char[] content, int start, int length, boolean escapeCharacter) throws IOException writes xml content (characters and element content | |
| writeXMLContent | back to summary |
|---|---|
| public void writeXMLContent(String content) throws IOException writes xml content (characters and element content | |