use of com.twinsoft.convertigo.engine.requesters.GenericRequester in project convertigo by convertigo.
the class Sequence method createDOM.
public Document createDOM() throws EngineException {
Document doc = null;
try {
if (requester == null)
doc = new DefaultRequester().createDomWithNoXMLDeclaration(getEncodingCharSet());
else
doc = ((GenericRequester) requester).createDomWithNoXMLDeclaration(getEncodingCharSet());
Element rootElement = doc.createElement("document");
doc.appendChild(rootElement);
} catch (Exception e) {
}
return doc;
}
Aggregations