public class DocumentDocumentAdapter extends Object implements IDocument, IStringEvaluatorAccess
IDocument| Constructor and Description |
|---|
DocumentDocumentAdapter(Document document) |
| Modifier and Type | Method and Description |
|---|---|
String |
asXML()
This
IDocument serialized as an XML string. |
Document |
getDocument() |
IElement |
getRootElement()
The root
IElement of this. |
IStringEvaluator |
getStringEvaluator()
An
IStringEvaluator that allows to evaluate expressions on the
receiver. |
void |
setRootElement(IElement element)
|
void |
setStringEvaluator(IStringEvaluator evaluator)
Assign an
IStringEvaluator that manages string expansion within
the receiver. |
String |
toString() |
public DocumentDocumentAdapter(Document document)
public String asXML()
IDocumentIDocument serialized as an XML string.public Document getDocument()
public IElement getRootElement()
IDocumentIElement of this.getRootElement in interface IDocumentpublic IStringEvaluator getStringEvaluator()
IStringEvaluatorSupportIStringEvaluator that allows to evaluate expressions on the
receiver.
The evaluator should be defined in terms of the most basic building
blocks. This means you should get an expression evaluation object here
(understands "foo.bar"), not a template evaluation object (understands
"${foo} makes ${bar}").getStringEvaluator in interface IStringEvaluatorSupportIStringEvaluator that allows to evaluate expressions
on the receiver.public void setRootElement(IElement element)
IDocumentsetRootElement in interface IDocumentpublic void setStringEvaluator(IStringEvaluator evaluator)
IStringEvaluatorAccessIStringEvaluator that manages string expansion within
the receiver.setStringEvaluator in interface IStringEvaluatorAccessCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.