Class DocumentBinding

    • Constructor Detail

      • DocumentBinding

        public DocumentBinding​(File file,
                               String rootElementName)
        Parameters:
        file -
      • DocumentBinding

        public DocumentBinding​(File file,
                               org.jdom.Namespace namespace,
                               String rootElementName)
        Parameters:
        file -
        namespace -
    • Method Detail

      • getDocument

        public final org.jdom.Document getDocument()
        Returns the JDOM document associated with this meta folder.
        Returns:
        a JDOM document
        Throws:
        org.jdom.JDOMException - thrown if the specified file is not a valid XML document
        IOException - thrown if an error occurs reading the specified file