|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.formula.FlVariableDepend
com.ihr.xbrl.formula.FlXPathObject
com.ihr.xbrl.formula.FlVariable
public class FlVariable
| Method Summary | |
|---|---|
boolean |
bindAsSequence()
|
void |
compile()
|
boolean |
evaluateVariable()
If the variable hasn't been evaluated before or is on the reset state a call to this method will evaluate the XPath expression associated to the variable |
java.lang.Object |
getLastReturnedValue()
This method does not calculate the variable and can be called multiple times wihtout modifying the status of this object |
javax.xml.namespace.QName |
getName()
|
net.sf.saxon.s9api.XdmValue |
getXPathResult()
This method return the value calculated as a call to the evaluate method |
boolean |
hasNext()
Returns true if the FlVariable has been evaluated, does not bind as a sequence, and the sequence has a next value to return |
java.lang.Object |
next()
Return the next object in the sequence if the FlVariable has been evaluated |
void |
remove()
|
void |
reset()
|
java.lang.String |
toString()
|
java.lang.Object |
valueOrNext()
Return the FlVariable value or the next value in the sequence if this variable does not bind as sequence |
| Methods inherited from class com.ihr.xbrl.formula.FlXPathObject |
|---|
getXPathString, setNamespace, setNamespaces |
| Methods inherited from class com.ihr.xbrl.formula.FlVariableDepend |
|---|
evaluate, getFormulaProcessor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public javax.xml.namespace.QName getName()
public void compile()
throws FlCompilationException
FlCompilationExceptionpublic boolean bindAsSequence()
public void reset()
public boolean evaluateVariable()
throws FormulaRuntimeException
FormulaRuntimeExceptionpublic boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Object>public java.lang.Object next()
next in interface java.util.Iterator<java.lang.Object>public void remove()
remove in interface java.util.Iterator<java.lang.Object>public java.lang.Object getLastReturnedValue()
public java.lang.Object valueOrNext()
public net.sf.saxon.s9api.XdmValue getXPathResult()
getXPathResult in interface FlValuepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||