java.lang.Object | +----javax.help.TOCView.DefaultTOCFactory
public TOCView.DefaultTOCFactory()
public void parsingStarted(java.net.URL source)
public void processDOCTYPE(java.lang.String root, java.lang.String publicID, java.lang.String systemID)
public void processPI(HelpSet hs, java.lang.String target, java.lang.String data)
public TreeItem createItem(java.lang.String tagName, java.util.Hashtable atts, HelpSet hs, java.util.Locale locale)
tagName
- The TOC type to create.
Valid types are "tocitem". Null or invalid types will throw an
IllegalArgumentException
atts
- Attributes of the Item. Valid attributes are "target",
"image", and "text". A null atts is valid and means no attributes
hs
- HelpSet this item was created under.
locale
- Locale of this item. A null locale is valid.
public TreeItem createItem()
public void reportMessage(java.lang.String msg, boolean validParse)
public java.util.Enumeration listMessages()
public javax.swing.tree.DefaultMutableTreeNode parsingEnded(javax.swing.tree.DefaultMutableTreeNode node)
node
- The DefaultMutableTreeNode that has been built during the
the parsing. If node is null or there were parsing errors a null
is returned.