edu.northwestern.at.utils.xml

## Class XMLUtils

- java.lang.Object
- - edu.northwestern.at.utils.xml.XMLUtils

-     public class XMLUtils
      extends java.lang.Object

  XML utilities.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XMLUtils()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `iSValidXMLText(java.lang.String xml)` Check that string contains valid XML characters.
    `java.lang.String` | `stripBadXMLCharacters(java.lang.String xml, java.lang.String rep)` Strips invalid characters from XML text.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### XMLUtils

          public XMLUtils()

  - ### Method Detail

    - #### iSValidXMLText

          public static boolean iSValidXMLText(java.lang.String xml)

      Check that string contains valid XML characters.
      Parameters:
        `xml` - The XML text to check.
      Returns:
        true if the string contains only characters valid in XML, false otherwise.

    - #### stripBadXMLCharacters

          public java.lang.String stripBadXMLCharacters(java.lang.String xml,
                                               java.lang.String rep)

      Strips invalid characters from XML text.
      Parameters:
        `xml` - XML text to check for invalid characters.
        `rep` - Replacement string for invalid characters.
      Returns:
        XML text with invalid characters removed.