if (parser.isWhiteSpace() && parserOptions.getIgnoreWhitespace()) return createOMText("",type);
TextFilter filter = parserOptions.getTextFilter();
if (filter != null) {
String value = parser.getText();
if (!lastNode.isComplete())
value = filter.filterText(value, (Element)lastNode);
return createOMText(value, type);
}
}
return createOMText(type);
}