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