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 ConfigurationDeprecated.private XMLNodeDeprecated.private StringDeprecated.private booleanDeprecated.Deprecated.The map of XML elements that have been parsed. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String namespaceURI, String sName, String qName) Deprecated.static LayoutParsergetInstance(Configuration configuration) Deprecated.Return an instance of the BuilderXML.Deprecated.Parse the XML specifying the layout of the documentation.voidstartElement(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, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
Deprecated.- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-