Package Torello.Browser.JsonAST
Class ExtraData
- java.lang.Object
-
- Torello.Browser.JsonAST.ExtraData
-
public class ExtraData extends java.lang.Object
The contents of theJsonAST-Package are, in general, provided strictly for informational & reference purposes. If further research & investigation of Google's CDP API are necessary, one may deserialize theBrowser-APIand / or theJavaScript-APIfrom 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"Data Serializers". These classes actually just store some (extremely uninteresting) data which is eventually utilized by the Code Generator to convert the two AST's from Java Memory into actual, reified Java POJO's / Classes.
It might be somewhat important to recognize that though the Java-HTML Library makes theJsonASTPackage source files public in the documentation files for this library, the CDP API Code Generator is not in the public docs, nor are its included in the'.jar'file, either. Generally, what there is to know, is that if you think this JsonAST stuff is actually kind of boring, and not that useful as a reference tool, wait until you get a load of what "Code Generator" code actually looks like. Keeping your eyes open is quite difficult!This is a "Cute Little Tree Walk" or "Tree Traversal" class that simply iterates every single node inside of an AST, and fills theInfoDatawith the relevant facts that are needed to buid anInfoDataobject.
There is absolutely nothing complicated going on here. This class just "traverses" an AST, and then calls & invokes all of the Data Collection Methods that are exposed inside of theInfoDataclass.
For all intents and purposes, this class functions as "the constructor" for theInfoDataclass. It actually iterates the nodes in the Abstract Syntax Tree and builds the data-lists which are eventually stored into an instance of classInfoData. No more, no less.- See Also:
InfoData
Hi-Lited Source-Code:- View Here: Torello/Browser/JsonAST/ExtraData.java
- Open New Browser-Tab: Torello/Browser/JsonAST/ExtraData.java
File Size: 6,273 Bytes Line Count: 152 '\n' Characters Found
Stateless Class:This class neither contains any program-state, nor can it be instantiated. The@StaticFunctionalAnnotation may also be called 'The Spaghetti Report'.Static-Functionalclasses are, essentially, C-Styled Files, without any constructors or non-static member fields. It is a concept very similar to the Java-Bean's@StatelessAnnotation.
- 1 Constructor(s), 1 declared private, zero-argument constructor
- 4 Method(s), 4 declared static
- 3 Field(s), 3 declared static, 3 declared final
-
-
Field Summary
Fields Modifier and Type Field Description static StringMARKER_EVENT_TYPES_DATA_FILE_NAMEThe packageTorello.Browseruses this filename for event processing
-
-
-
Field Detail
-
MARKER_EVENT_TYPES_DATA_FILE_NAME
public static final java.lang.String MARKER_EVENT_TYPES_DATA_FILE_NAME
The packageTorello.Browseruses this filename for event processing- See Also:
MarkerEvent,BrowserEvent- Code:
- Exact Field Declaration Expression:
public static final String MARKER_EVENT_TYPES_DATA_FILE_NAME = "Torello" + FS + "Browser" + FS + "data-files" + FS + "marker-events.roldat";
-
-