public class ParserImpl
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ParserImpl.ParseBlock |
static class |
ParserImpl.ParseBody |
static class |
ParserImpl.ParseColGroup |
static class |
ParserImpl.ParseDefList |
static class |
ParserImpl.ParseFrameSet |
static class |
ParserImpl.ParseHead |
static class |
ParserImpl.ParseHTML |
static class |
ParserImpl.ParseInline |
static class |
ParserImpl.ParseList |
static class |
ParserImpl.ParseNoFrames |
static class |
ParserImpl.ParseOptGroup |
static class |
ParserImpl.ParsePre |
static class |
ParserImpl.ParseRow |
static class |
ParserImpl.ParseRowGroup |
static class |
ParserImpl.ParseScript |
static class |
ParserImpl.ParseSelect |
static class |
ParserImpl.ParseTableTag |
static class |
ParserImpl.ParseText |
static class |
ParserImpl.ParseTitle |
Constructor and Description |
---|
ParserImpl() |
Modifier and Type | Method and Description |
---|---|
static Parser |
getParseBlock() |
static Parser |
getParseBody() |
static Parser |
getParseColGroup() |
static Parser |
getParseDefList() |
static Parser |
getParseFrameSet() |
static Parser |
getParseHead() |
static Parser |
getParseHTML() |
static Parser |
getParseInline() |
static Parser |
getParseList() |
static Parser |
getParseNoFrames() |
static Parser |
getParseOptGroup() |
static Parser |
getParsePre() |
static Parser |
getParseRow() |
static Parser |
getParseRowGroup() |
static Parser |
getParseScript() |
static Parser |
getParseSelect() |
static Parser |
getParseTableTag() |
static Parser |
getParseText() |
static Parser |
getParseTitle() |
static boolean |
isJavaScript(Node node) |
static Node |
parseDocument(Lexer lexer) |
static Node |
parseXMLDocument(Lexer lexer) |
static void |
parseXMLElement(Lexer lexer,
Node element,
short mode) |
static boolean |
XMLPreserveWhiteSpace(Node element,
TagTable tt)
Indicates whether or not whitespace should be preserved for this element.
|
public static Parser getParseHTML()
public static Parser getParseHead()
public static Parser getParseTitle()
public static Parser getParseScript()
public static Parser getParseBody()
public static Parser getParseFrameSet()
public static Parser getParseInline()
public static Parser getParseList()
public static Parser getParseDefList()
public static Parser getParsePre()
public static Parser getParseBlock()
public static Parser getParseTableTag()
public static Parser getParseColGroup()
public static Parser getParseRowGroup()
public static Parser getParseRow()
public static Parser getParseNoFrames()
public static Parser getParseSelect()
public static Parser getParseText()
public static Parser getParseOptGroup()
public static boolean XMLPreserveWhiteSpace(Node element, TagTable tt)
xml:space
attribute is found, then if the attribute value is
preserve
, returns true
. For any other value, returns
false
. If an xml:space
attribute was not
found, then the following element names result in a return value of true:
pre, script, style,
and xsl:text
. Finally, if a
TagTable
was passed in and the element appears as the "pre" element
in the TagTable
, then true
will be returned.
Otherwise, false
is returned.element
- The Node
to test to see if whitespace should be
preserved.tt
- The TagTable
to test for the getNodePre()
function. This may be null
, in which case this test
is bypassed.true
or false
, as explained above.public static boolean isJavaScript(Node node)