@SuppressWarnings("unchecked")
public synchronized <T extends Element>Document<T> getDocument()
throws ParseException,
IOException {
if (document == null) {
Abdera abdera = context.getAbdera();
Parser parser = abdera.getParser();
ParserOptions options = parser.getDefaultParserOptions();
document = getDocument(parser, options);
}
return document;
}