Filemaker/src/main/java/org/openestate/io/filemaker/FilemakerResultDocument.java
public static FilemakerResultDocument newDocument(FMPXMLRESULT xmlResult) throws ParserConfigurationException, JAXBException {
        Document document = XmlUtils.newDocument();
        FilemakerUtils.createMarshaller("UTF-8", true).marshal(xmlResult, document);
        return new FilemakerResultDocument(document);
    }
public static FilemakerResultDocument newDocument(FMPXMLRESULT xmlResult) throws ParserConfigurationException, JAXBException {
        Document document = XmlUtils.newDocument();
        FilemakerUtils.createMarshaller("UTF-8", true).marshal(xmlResult, document);
        return new FilemakerResultDocument(document);
    }
public static FilemakerResultDocument newDocument ( FMPXMLRESULT xmlResult ) throws ParserConfigurationException , JAXBException { Document document = XmlUtils . newDocument ( ) ; FilemakerUtils . createMarshaller ( "UTF-8" , true ) . marshal ( xmlResult , document ) ; return new FilemakerResultDocument ( document ) ; }
Creates a {@link FilemakerResultDocument} from a {@link FMPXMLRESULT} object.

@param xmlResult Java object, that represents the &lt;FMPXMLRESULT&gt; root element
@return created document
@throws ParserConfigurationException if the parser is not properly configured
@throws JAXBException                if a problem with JAXB occurred
Creates a { @link FilemakerResultDocument } from a { @link FMPXMLRESULT } object .