Class HTML$PPR


  • public class HTML$PPR
    extends java.lang.Object
    The contents of the JsonAST-Package are, in general, provided strictly for informational & reference purposes. If further research & investigation of Google's CDP API are necessary, one may deserialize the Browser-API and / or the JavaScript-API from the Java-HTML '.jar' file, and review the AST's programmatically. The AST Node Java-Classes have been meticulously documented exactly for that purpose.

    Generally, though, there really is very little need to review, understand, or programmatically analyze the CDP API. And the contents of this entire package, again, are largely here for reference only.



    This particular class falls under the Package "Sub-Category" of "HTML Generators". These classes are used, literally, for one purpose only - and that is to generate the two HTML Files: browser.html and js.html. Literally, that's it! Abstract Syntax Tree code usually (at least to me), feels an order of magnitude more complicated than some other kinds of Java Code. Separating, isolating & compartmentalizing the Java Source which is used, strictly, to generate the "HTML-ified" version of the API / Protocol makes it a lot easier to read and understand what the hell this code is doing, and why it's even here.

    Why do these methods exist? Easy - to convert the AST into something (HTML to be specific) which you can sort of click through and read, easily, inside of a Web-Browser. Attempting to read and understand their '.json' definition files is an exercise in futility: browser_protocol.json and js_protocol.json. Clicking through the actual classes which have been produced by the code generator is easier, but somewhat slow and hides certain aspects of the CDP API's definition files.
    Generates HTML for all Properties, Parameters and Return-Values, which are all stored in the AST as PPR nodes.



    Stateless Class:
    This class neither contains any program-state, nor can it be instantiated. The @StaticFunctional Annotation may also be called 'The Spaghetti Report'. Static-Functional classes are, essentially, C-Styled Files, without any constructors or non-static member fields. It is a concept very similar to the Java-Bean's @Stateless Annotation.

    • 1 Constructor(s), 1 declared private, zero-argument constructor
    • 2 Method(s), 2 declared static
    • 0 Field(s)


    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait