Package com.adobe.xfa
Class SOMParser.SomResultInfo
- java.lang.Object
-
- com.adobe.xfa.SOMParser.SomResultInfo
-
- Enclosing class:
- SOMParser
public static final class SOMParser.SomResultInfo extends java.lang.Object
Describes one returned value from the SOM parser.
-
-
Field Summary
Fields Modifier and Type Field Description Obj
object
The object member represents the Obj that the SOM expression refers to.int
occurrence
The occurrence member indicates the occurrence number of the referenced property (if propertyName is not empty).java.lang.String
propertyName
If the SOM expression refers to a property then the propertyName field contains the name of the property.Arg
value
The value field indicates the "answer" to the SOM expression.
-
-
-
Field Detail
-
object
public final Obj object
The object member represents the Obj that the SOM expression refers to. This is often, but not always, actually a Node.
-
occurrence
public final int occurrence
The occurrence member indicates the occurrence number of the referenced property (if propertyName is not empty).
-
propertyName
public final java.lang.String propertyName
If the SOM expression refers to a property then the propertyName field contains the name of the property. For example, for the SOM expression"datavalue.value"
, the property name would be"value"
in this example). This is useful for the left hand side of expressions involving SOM statements. Note that if a method is invoked, then this contains the text representation of the method call (not that this is terribly useful in this case).
-
value
public final Arg value
The value field indicates the "answer" to the SOM expression. For example, for datavalue.value, value would be set to be a string containing the value of the datavalue. In the case of a method call, value contains the return value of the method. For convenience, if the SOM expression returns an Obj without any properties, then value is set to contain the Obj. Note that value does not contain the "default value" of the Obj in this case.
-
-