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

@param xmlLayout Java object, that represents the &lt;FMPXMLLAYOUT&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 FilemakerLayoutDocument } from a { @link FMPXMLLAYOUT } object .