|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.html.parsers.swing.ParserAdaptor
Wrapper around the Swing HTML parser that attempts to correct for various problems in different versions of the Swing. This code is tightly bound to the Swing code.
This corrects the following problems
Nested Class Summary | |
(package private) class |
ParserAdaptor.DocumentParser11
DocumentParser for 1.1 that allows LINKs in headers. |
(package private) class |
ParserAdaptor.DocumentParserBase
Base for all DocumentParser adaptors. |
Field Summary | |
static String |
IMPLIED_PSEUDO_ATTR
Name of attribute added to HEAD tag when an empty one is created by the parser. |
static String |
MAGIC_END_TAG
Magic tag name that is generate as a simple tag at the end of the parse in Swing 1.2. |
static int |
SWING_1_1
Swing version constants, can be compared numerically |
static int |
SWING_1_2
|
static int |
SWING_1_3
|
Constructor Summary | |
(package private) |
ParserAdaptor()
|
Method Summary | |
DocumentParser |
getParser()
Create a parser base on the version of swing we are linked to. |
int |
getSwingVersion()
Get the guessed version of swing being used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SWING_1_1
public static final int SWING_1_2
public static final int SWING_1_3
public static final String MAGIC_END_TAG
public static final String IMPLIED_PSEUDO_ATTR
Constructor Detail |
ParserAdaptor()
Method Detail |
public int getSwingVersion()
public DocumentParser getParser()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |