Package de.uplanet.util.encoder
Class XmlMarkupEncoder
java.lang.Object
de.uplanet.util.encoder.XmlMarkupEncoder
Replace <, >, &, ", and ' with their respective XML entities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic final StringBuilder
decode
(StringBuilder p_out, CharSequence p_in) static final <T extends Appendable>
Tdecode
(T p_out, CharSequence p_in) static final StringBuilder
encode
(StringBuilder p_out, char[] p_in) static final StringBuilder
encode
(StringBuilder p_out, CharSequence p_in) static final <T extends Appendable>
Tencode
(T p_out, char[] p_in) static final <T extends Appendable>
Tencode
(T p_out, CharSequence p_in)
-
Method Details
-
encode
- See Also:
-
encode
- Parameters:
p_out
- The object to write output to.p_in
- The character data to be encoded.- Returns:
- The given
p_out
. - Throws:
IOException
-
encode
- See Also:
-
encode
- Parameters:
p_out
- The object to write output to.p_in
- The character data to be encoded.- Returns:
- The given
p_out
. - Throws:
IOException
-
decode
- See Also:
-
decode
- Parameters:
p_out
- The object to write output to.p_in
- The character data to be decoded.- Returns:
- The given
p_out
. - Throws:
IOException
-