Class LayoutParser
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.builders.LayoutParser
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler,org.xml.sax.DTDHandler,org.xml.sax.EntityResolver,org.xml.sax.ErrorHandler
@Deprecated public class LayoutParser extends org.xml.sax.helpers.DefaultHandlerDeprecated.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:
SAXParser
-
-
Field Summary
Fields Modifier and Type Field Description private ConfigurationconfigurationDeprecated.private XMLNodecurrentNodeDeprecated.private java.lang.StringcurrentRootDeprecated.private booleanisParsingDeprecated.private java.util.Map<java.lang.String,XMLNode>xmlElementsMapDeprecated.The map of XML elements that have been parsed.
-
Constructor Summary
Constructors Modifier Constructor Description privateLayoutParser(Configuration configuration)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidendElement(java.lang.String namespaceURI, java.lang.String sName, java.lang.String qName)Deprecated.static LayoutParsergetInstance(Configuration configuration)Deprecated.Return an instance of the BuilderXML.XMLNodeparseXML(java.lang.String root)Deprecated.Parse the XML specifying the layout of the documentation.voidstartElement(java.lang.String namespaceURI, java.lang.String sName, java.lang.String qName, org.xml.sax.Attributes attrs)Deprecated.
-
-
-
Field Detail
-
xmlElementsMap
private java.util.Map<java.lang.String,XMLNode> xmlElementsMap
Deprecated.The map of XML elements that have been parsed.
-
currentNode
private XMLNode currentNode
Deprecated.
-
configuration
private final Configuration configuration
Deprecated.
-
currentRoot
private java.lang.String currentRoot
Deprecated.
-
isParsing
private boolean isParsing
Deprecated.
-
-
Constructor Detail
-
LayoutParser
private LayoutParser(Configuration configuration)
Deprecated.
-
-
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(java.lang.String root)
Deprecated.Parse the XML specifying the layout of the documentation.- Returns:
- the list of XML elements parsed.
-
startElement
public void startElement(java.lang.String namespaceURI, java.lang.String sName, java.lang.String qName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXExceptionDeprecated.- Specified by:
startElementin interfaceorg.xml.sax.ContentHandler- Overrides:
startElementin classorg.xml.sax.helpers.DefaultHandler- Throws:
org.xml.sax.SAXException
-
endElement
public void endElement(java.lang.String namespaceURI, java.lang.String sName, java.lang.String qName) throws org.xml.sax.SAXExceptionDeprecated.- Specified by:
endElementin interfaceorg.xml.sax.ContentHandler- Overrides:
endElementin classorg.xml.sax.helpers.DefaultHandler- Throws:
org.xml.sax.SAXException
-
-