com.jaxfront.core.jep
Class FullCaption
java.lang.Object
org.nfunk.jep.function.PostfixMathCommand
com.jaxfront.core.jep.JaxfrontMathCommand
com.jaxfront.core.jep.SuperTypeNode
com.jaxfront.core.jep.FullCaption
- All Implemented Interfaces:
- org.nfunk.jep.function.PostfixMathCommandI
public class FullCaption
- extends SuperTypeNode
Returns the nls translated (if any) xpath of a type up to its upper most represented tree node parent. All parent types are checked (unlike getShortCaption()). The parent type that are represented as tree nodes will be listed with their nls treeEntry label. Each element caption will be cut by the
global defined length and will get the string "...". The elements will be separated by the string " - ". For elements with cardinality n, the index within the list will be added at the end. If a schema key has been defined for an element, the key will be used as index for n, else the xpath-index
will be applied.
Example: /purchaseOrder/item[s]/item[1]/productDescription This would give following expression: purchaseOrder - item - item[1] - productDescription
| Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
getNumberOfParameters, getRootNode, isFastFailable, run, setCurNumberOfParameters |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullCaption
public FullCaption()
- Constructor.
run
public void run(MathEvaluator.MathCommunicator communicator,
java.util.Stack stack)
throws org.nfunk.jep.ParseException
- Specified by:
run in class JaxfrontMathCommand
- Throws:
org.nfunk.jep.ParseException- See Also:
org.nfunk.jep.function.PostfixMathCommandI#run(Stack)