Lines Matching refs:value

88      * Returns the value of the variable with specified identifier.
91 * @return the value of the variable
95 ValueObject value = getValueObject();
96 if (value.isVoid()) {
97 throw new IllegalStateException("The element does not return value");
99 return value.getValue();
107 * Returns the value of the parent element.
109 * @return the value of the parent element
113 ValueObject value = this.parent.getValueObject();
114 if (!value.isVoid()) {
115 return value.getValue();
117 throw new IllegalStateException("The outer element does not return value");
119 Object value = this.owner.getOwner();
120 if (value != null) {
121 return value;
136 * @param value the attribute value
138 public void addAttribute(String name, String value) {
140 this.id = value;
156 * By default, it calculates the value of this element.
157 * The following tasks are executing for any non-void value:
160 * the value of the variable with the specified identifier
161 * is set to the value of this element.</li>
168 // do nothing if no value returned
169 ValueObject value = getValueObject();
170 if (!value.isVoid()) {
172 this.owner.setVariable(this.id, value.getValue());
176 this.parent.addArgument(value.getValue());
178 this.owner.addObject(value.getValue());
197 * Adds the argument that is used to calculate the value of this element.
200 * @param argument the value of the element that contained in this one
207 * Tests whether the value of this element can be used
210 * @return {@code true} if the value of this element can be used
219 * Returns the value of this element.
221 * @return the value of this element