public class Xhtml extends Object
e.g. the following code can be represented in a sequence of two XHTML nodes in this object:
<notes>
<p>
some text
</p>
<ul>
<li>
list item
</li>
</ul>
</notes>
Of course, you can also create two Xhtml objects, each storing one node. Whatever you prefer.
| Constructor and Description |
|---|
Xhtml()
Instantiates a new Xhtml object.
|
| Modifier and Type | Method and Description |
|---|---|
de.unirostock.sems.xmlutils.ds.DocumentNode |
getDocumentNode()
Gets the corresponding document node.
|
void |
reportDelete(MarkupElement me)
Report this object as deleted.
|
void |
reportInsert(MarkupElement me)
Report this object as inserted.
|
void |
reportModification(SimpleConnectionManager conMgmt,
Xhtml a,
Xhtml b,
MarkupElement me)
Report a modification between to Xhtml objects.
|
void |
setXhtml(de.unirostock.sems.xmlutils.ds.DocumentNode node)
Adds an XHTML subtree.
|
String |
toString()
Prints the sequence of subtrees, all in one string.
|
public de.unirostock.sems.xmlutils.ds.DocumentNode getDocumentNode()
public void setXhtml(de.unirostock.sems.xmlutils.ds.DocumentNode node)
node - the node that roots the subtreepublic String toString()
toString in class ObjectObject.toString()public void reportModification(SimpleConnectionManager conMgmt, Xhtml a, Xhtml b, MarkupElement me)
conMgmt - the connectiona - the original versionb - the modified versionme - the markup elementpublic void reportInsert(MarkupElement me)
me - the MarkupElementpublic void reportDelete(MarkupElement me)
me - the MarkupElementCopyright © 2019 SEMS project @ University of Rostock. All rights reserved.