Package Torello.Browser.BrowserAPI
Class Accessibility.AXValueSource
- java.lang.Object
-
- Torello.Browser.BaseType<Accessibility.AXValueSource>
-
- Torello.Browser.BrowserAPI.Accessibility.AXValueSource
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Accessibility
public static class Accessibility.AXValueSource extends BaseType<Accessibility.AXValueSource> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theAccessibilitydomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.A single source for a computed AX property.- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/Accessibility.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/Accessibility.java
File Size: 4,074 Bytes Line Count: 106 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Accessibility$$AXValueSource$$.java
- Open New Browser-Tab: Accessibility$$AXValueSource$$.java
File Size: 12,986 Bytes Line Count: 311 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description StringattributeThe name of the relevant attribute, if any.Accessibility.AXValueattributeValueThe value of the relevant attribute, if any.BooleaninvalidWhether the value for this property is invalid.StringinvalidReasonReason for the value being invalid, if it is.StringnativeSourceThe native markup source for this value, e.g.Accessibility.AXValuenativeSourceValueThe value, such as a node or node list, of the native source.BooleansupersededWhether this source is superseded by a higher priority source.StringtypeWhat type of source this is.Accessibility.AXValuevalueThe value of this property source.
-
Constructor Summary
Constructors Constructor Description AXValueSource(ReadOnlyList<Boolean> isPresent, String type, Accessibility.AXValue value, String attribute, Accessibility.AXValue attributeValue, Boolean superseded, String nativeSource, Accessibility.AXValue nativeSourceValue, Boolean invalid, String invalidReason)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Accessibility.AXValueSourcefromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<Accessibility.AXValueSource>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
type
public final java.lang.String type
What type of source this is.This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎Accessibility.AXValueSourceType
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = Accessibility.AXValueSourceType.enumStrList("type"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
value
public final Accessibility.AXValue value
The value of this property source.
OPTIONAL
-
attribute
public final java.lang.String attribute
The name of the relevant attribute, if any.
OPTIONAL
-
attributeValue
public final Accessibility.AXValue attributeValue
The value of the relevant attribute, if any.
OPTIONAL
-
superseded
public final java.lang.Boolean superseded
Whether this source is superseded by a higher priority source.
OPTIONAL
-
nativeSource
public final java.lang.String nativeSource
The native markup source for this value, e.g. aelement.<label>
OPTIONALThis particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎Accessibility.AXValueNativeSourceType
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = Accessibility.AXValueNativeSourceType.enumStrList("nativeSource"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
nativeSourceValue
public final Accessibility.AXValue nativeSourceValue
The value, such as a node or node list, of the native source.
OPTIONAL
-
invalid
public final java.lang.Boolean invalid
Whether the value for this property is invalid.
OPTIONAL
-
invalidReason
public final java.lang.String invalidReason
Reason for the value being invalid, if it is.
OPTIONAL
-
-
Constructor Detail
-
AXValueSource
public AXValueSource(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String type, Accessibility.AXValue value, java.lang.String attribute, Accessibility.AXValue attributeValue, java.lang.Boolean superseded, java.lang.String nativeSource, Accessibility.AXValue nativeSourceValue, java.lang.Boolean invalid, java.lang.String invalidReason)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Accessibility.AXValueSource fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Accessibility.AXValueSource> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-