replaces the '<' symbol with "<"
replaces the '>' symbol with ">"
replaces the '"' symbol with """
replaces the ' symbol with "'"
NOTE: This method does not replace & with &
If you wish to replace all entities with &, you can
simply call this method and then call:String convertApos(String)
For example, a message can not contain the < or the > character as
it will be mistaken as an XML processing instruction.
Replaces the ' symbol with "'"
For example, a paramater may not be able to contain the ' character as
it will be mistaken as an XML processing instruction.
replaces the '>' symbol with ">"
For example, a message can not contain the < or the > character as
it will be mistaken as an XML processing instruction.
replaces the '<' symbol with "<"
For example, a message can not contain the < or the > character as
it will be mistaken as an XML processing instruction.