Class 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.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
    See Also:
    SAXParser
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private LayoutParser​(Configuration configuration)
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void endElement​(java.lang.String namespaceURI, java.lang.String sName, java.lang.String qName)
      Deprecated.
      static LayoutParser getInstance​(Configuration configuration)
      Deprecated.
      Return an instance of the BuilderXML.
      XMLNode parseXML​(java.lang.String root)
      Deprecated.
      Parse the XML specifying the layout of the documentation.
      void startElement​(java.lang.String namespaceURI, java.lang.String sName, java.lang.String qName, org.xml.sax.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
    • 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.SAXException
        Deprecated.
        Specified by:
        startElement in interface org.xml.sax.ContentHandler
        Overrides:
        startElement in class org.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.SAXException
        Deprecated.
        Specified by:
        endElement in interface org.xml.sax.ContentHandler
        Overrides:
        endElement in class org.xml.sax.helpers.DefaultHandler
        Throws:
        org.xml.sax.SAXException