edu.northwestern.at.utils.xml

## Class JDOMFragmentParser

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

-     public class JDOMFragmentParser
      extends java.lang.Object

  Parse an XML fragment for use with a JDOM document.
  Author:
    Per Norrman.

    Minor modifications by Pib.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected org.jdom2.input.SAXBuilder` | `_builder`
    `protected java.lang.String` | `_fragment`
    `protected java.lang.String` | `_xml`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JDOMFragmentParser(org.jdom2.Namespace[] namespaces)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<org.jdom2.Element>` | `parseFragment(java.lang.String fragment)`

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

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

- - ### Field Detail

    - #### _xml

          protected java.lang.String _xml

    - #### _builder

          protected org.jdom2.input.SAXBuilder _builder

    - #### _fragment

          protected java.lang.String _fragment

  - ### Constructor Detail

    - #### JDOMFragmentParser

          public JDOMFragmentParser(org.jdom2.Namespace[] namespaces)

  - ### Method Detail

    - #### parseFragment

          public java.util.List<org.jdom2.Element> parseFragment(java.lang.String fragment)
                                                          throws java.lang.Exception

      Throws:
        `java.lang.Exception`