public class FilemakerResultDocument extends FilemakerDocument<FMPXMLRESULT>
Constructor and Description |
---|
FilemakerResultDocument(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 FilemakerResultDocument . |
static FilemakerResultDocument |
newDocument()
Creates an empty
FilemakerResultDocument . |
static FilemakerResultDocument |
newDocument(FMPXMLRESULT xmlResult)
Creates a
FilemakerResultDocument from a FMPXMLRESULT object. |
FilemakerResultMapping |
toMapping()
Creates a
FilemakerResultMapping object from the contained Document . |
FMPXMLRESULT |
toObject()
Creates a
FMPXMLRESULT object from the contained Document . |
isLayout, isResult
getDocument, isTextWrittenAsCDATA, prepareDocumentBeforeWritingToXml, setTextWrittenAsCDATA, toXml, toXml, toXml, toXml, toXml, toXml, toXmlString, toXmlString
public static boolean isReadable(Document doc)
Document
is readable as a FilemakerResultDocument
.doc
- document to checkpublic static FilemakerResultDocument newDocument() throws ParserConfigurationException, JAXBException
FilemakerResultDocument
.ParserConfigurationException
- if the parser is not properly configuredJAXBException
- if a problem with JAXB occuredpublic static FilemakerResultDocument newDocument(FMPXMLRESULT xmlResult) throws ParserConfigurationException, JAXBException
FilemakerResultDocument
from a FMPXMLRESULT
object.xmlResult
- Java object, that represents the <FMPXMLRESULT> root elementParserConfigurationException
- if the parser is not properly configuredJAXBException
- if a problem with JAXB occuredpublic FilemakerResultMapping toMapping() throws JAXBException
FilemakerResultMapping
object from the contained Document
.FMPXMLRESULT
JAXBException
- if a problem with JAXB occuredpublic FMPXMLRESULT toObject() throws JAXBException
FMPXMLRESULT
object from the contained Document
.toObject
in class XmlDocument<FMPXMLRESULT>
JAXBException
- if a problem with JAXB occuredCopyright © 2017 OpenEstate. All rights reserved.