Class AXValueSource


  • public class AXValueSource
    extends java.lang.Object
    A single source for a computed AX property.
    • Constructor Summary

      Constructors 
      Constructor Description
      AXValueSource​(AXValueSourceType type, java.util.Optional<AXValue> value, java.util.Optional<java.lang.String> attribute, java.util.Optional<AXValue> attributeValue, java.util.Optional<java.lang.Boolean> superseded, java.util.Optional<AXValueNativeSourceType> nativeSource, java.util.Optional<AXValue> nativeSourceValue, java.util.Optional<java.lang.Boolean> invalid, java.util.Optional<java.lang.String> invalidReason)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getAttribute()
      The name of the relevant attribute, if any.
      java.util.Optional<AXValue> getAttributeValue()
      The value of the relevant attribute, if any.
      java.util.Optional<java.lang.Boolean> getInvalid()
      Whether the value for this property is invalid.
      java.util.Optional<java.lang.String> getInvalidReason()
      Reason for the value being invalid, if it is.
      java.util.Optional<AXValueNativeSourceType> getNativeSource()
      The native markup source for this value, e.g.
      java.util.Optional<AXValue> getNativeSourceValue()
      The value, such as a node or node list, of the native source.
      java.util.Optional<java.lang.Boolean> getSuperseded()
      Whether this source is superseded by a higher priority source.
      AXValueSourceType getType()
      What type of source this is.
      java.util.Optional<AXValue> getValue()
      The value of this property source.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AXValueSource

        public AXValueSource​(AXValueSourceType type,
                             java.util.Optional<AXValue> value,
                             java.util.Optional<java.lang.String> attribute,
                             java.util.Optional<AXValue> attributeValue,
                             java.util.Optional<java.lang.Boolean> superseded,
                             java.util.Optional<AXValueNativeSourceType> nativeSource,
                             java.util.Optional<AXValue> nativeSourceValue,
                             java.util.Optional<java.lang.Boolean> invalid,
                             java.util.Optional<java.lang.String> invalidReason)
    • Method Detail

      • getValue

        public java.util.Optional<AXValue> getValue()
        The value of this property source.
      • getAttribute

        public java.util.Optional<java.lang.String> getAttribute()
        The name of the relevant attribute, if any.
      • getAttributeValue

        public java.util.Optional<AXValue> getAttributeValue()
        The value of the relevant attribute, if any.
      • getSuperseded

        public java.util.Optional<java.lang.Boolean> getSuperseded()
        Whether this source is superseded by a higher priority source.
      • getNativeSource

        public java.util.Optional<AXValueNativeSourceType> getNativeSource()
        The native markup source for this value, e.g. a
      • getNativeSourceValue

        public java.util.Optional<AXValue> getNativeSourceValue()
        The value, such as a node or node list, of the native source.
      • getInvalid

        public java.util.Optional<java.lang.Boolean> getInvalid()
        Whether the value for this property is invalid.
      • getInvalidReason

        public java.util.Optional<java.lang.String> getInvalidReason()
        Reason for the value being invalid, if it is.