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