public class XhtmlParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
XhtmlParser.ParserSecurityPolicy |
| Constructor and Description |
|---|
XhtmlParser() |
| Modifier and Type | Method and Description |
|---|---|
XhtmlParser.ParserSecurityPolicy |
getPolicy() |
boolean |
isMustBeWellFormed() |
boolean |
isTrimWhitespace() |
XhtmlDocument |
parse(InputStream input,
String entryName) |
XhtmlDocument |
parse(String source,
String entryName) |
XhtmlNode |
parseFragment(InputStream input) |
XhtmlNode |
parseFragment(String source) |
XhtmlNode |
parseHtmlNode(org.xmlpull.v1.XmlPullParser xpp) |
void |
setMustBeWellFormed(boolean mustBeWellFormed) |
void |
setPolicy(XhtmlParser.ParserSecurityPolicy policy) |
void |
setTrimWhitespace(boolean trimWhitespace) |
public boolean isTrimWhitespace()
public void setTrimWhitespace(boolean trimWhitespace)
public boolean isMustBeWellFormed()
public void setMustBeWellFormed(boolean mustBeWellFormed)
public XhtmlParser.ParserSecurityPolicy getPolicy()
public void setPolicy(XhtmlParser.ParserSecurityPolicy policy)
public XhtmlNode parseHtmlNode(org.xmlpull.v1.XmlPullParser xpp) throws Exception
Exceptionpublic XhtmlDocument parse(String source, String entryName) throws Exception
Exceptionpublic XhtmlDocument parse(InputStream input, String entryName) throws Exception
Exceptionpublic XhtmlNode parseFragment(InputStream input) throws Exception
ExceptionCopyright © 2014–2015 University Health Network. All rights reserved.