| Modifier and Type | Class and Description |
|---|---|
class |
XmlConvertableDocument<JavaType,VersionType extends XmlVersion>
An extended
XmlDocument with versioning functionality. |
class |
XmlConverter<DocumentType extends XmlConvertableDocument,VersionType extends XmlVersion>
A general class, that converts a
XmlConvertableDocument into another
XmlVersion. |
| Modifier and Type | Method and Description |
|---|---|
XmlVersion |
XmlVersion.getNextVersion()
Returns the next version relative to this version.
|
XmlVersion |
XmlVersion.getPreviousVersion()
Returns the previous version relative to this version.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
XmlVersion.isNewerThen(XmlVersion v)
Check, if this version is newer then another version.
|
boolean |
XmlVersion.isOlderThen(XmlVersion v)
Check, if this version is older then another version.
|
void |
XmlConvertableDocument.upgrade(XmlVersion targetVersion)
Upgrades the contained
Document to a newer version. |
Copyright © 2018 OpenEstate. All rights reserved.