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.
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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Configuration
Deprecated.private XMLNode
Deprecated.private String
Deprecated.private boolean
Deprecated.Deprecated.The map of XML elements that have been parsed. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
endElement
(String namespaceURI, String sName, String qName) Deprecated.static LayoutParser
getInstance
(Configuration configuration) Deprecated.Return an instance of the BuilderXML.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
xmlElementsMap
Deprecated.The map of XML elements that have been parsed. -
currentNode
Deprecated. -
configuration
Deprecated. -
currentRoot
Deprecated. -
isParsing
private boolean isParsingDeprecated.
-
-
Constructor Details
-
LayoutParser
Deprecated.
-
-
Method Details
-
getInstance
Deprecated.Return an instance of the BuilderXML.- Parameters:
configuration
- the current configuration of the doclet.- Returns:
- an instance of the BuilderXML.
-
parseXML
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
Deprecated.- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-