Class LayoutParser
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.LayoutParser
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
@Deprecated public class LayoutParser extends DefaultHandler
Deprecated.Parse the XML that specified the order of operation for the builders. This Parser uses SAX parsing.This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Since:
- 1.5
- Author:
- Jamie Ho
- See Also:
SAXParser
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
endElement(String namespaceURI, String sName, String qName)
Deprecated.static LayoutParser
getInstance(Configuration configuration)
Deprecated.Return an instance of the BuilderXML.XMLNode
parseXML(String root)
Deprecated.Parse the XML specifying the layout of the documentation.void
startElement(String namespaceURI, String sName, String qName, Attributes attrs)
Deprecated.-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
getInstance
public static LayoutParser getInstance(Configuration configuration)
Deprecated.Return an instance of the BuilderXML.- Parameters:
configuration
- the current configuration of the doclet.- Returns:
- an instance of the BuilderXML.
-
parseXML
public XMLNode parseXML(String root)
Deprecated.Parse the XML specifying the layout of the documentation.- Returns:
- the list of XML elements parsed.
-
startElement
public void startElement(String namespaceURI, String sName, String qName, Attributes attrs) throws SAXException
Deprecated.- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
endElement
public void endElement(String namespaceURI, String sName, String qName) throws SAXException
Deprecated.- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
-