public class FilemakerLayoutDocument extends FilemakerDocument<FMPXMLLAYOUT>
| Constructor and Description |
|---|
FilemakerLayoutDocument(Document document)
Create from a
Document. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isReadable(Document doc)
Checks, if a
Document is readable as a FilemakerLayoutDocument. |
static FilemakerLayoutDocument |
newDocument()
Creates an empty
FilemakerLayoutDocument. |
static FilemakerLayoutDocument |
newDocument(FMPXMLLAYOUT xmlLayout)
Creates a
FilemakerLayoutDocument from a FMPXMLLAYOUT object. |
FMPXMLLAYOUT |
toObject()
Creates a
FMPXMLLAYOUT object from the contained Document. |
isLayout, isResultgetDocument, isTextWrittenAsCDATA, prepareDocumentBeforeWritingToXml, setTextWrittenAsCDATA, toXml, toXml, toXml, toXml, toXml, toXml, toXmlString, toXmlStringpublic static boolean isReadable(Document doc)
Document is readable as a FilemakerLayoutDocument.doc - document to checkpublic static FilemakerLayoutDocument newDocument() throws ParserConfigurationException, JAXBException
FilemakerLayoutDocument.ParserConfigurationException - if the parser is not properly configuredJAXBException - if a problem with JAXB occuredpublic static FilemakerLayoutDocument newDocument(FMPXMLLAYOUT xmlLayout) throws ParserConfigurationException, JAXBException
FilemakerLayoutDocument from a FMPXMLLAYOUT object.xmlLayout - Java object, that represents the <FMPXMLLAYOUT> root elementParserConfigurationException - if the parser is not properly configuredJAXBException - if a problem with JAXB occuredpublic FMPXMLLAYOUT toObject() throws JAXBException
FMPXMLLAYOUT object from the contained Document.toObject in class XmlDocument<FMPXMLLAYOUT>JAXBException - if a problem with JAXB occuredCopyright © 2017 OpenEstate. All rights reserved.