Package ca.uqac.lif.cep.xml
Class XPathFunctionGetNumber
- java.lang.Object
-
- ca.uqac.lif.cep.functions.Function
-
- ca.uqac.lif.cep.xml.XPathFunction
-
- ca.uqac.lif.cep.xml.XPathFunctionGet<java.lang.Number>
-
- ca.uqac.lif.cep.xml.XPathFunctionGetNumber
-
- All Implemented Interfaces:
ca.uqac.lif.azrael.Printable
,ca.uqac.lif.azrael.Readable
,ca.uqac.lif.cep.Duplicable
,ca.uqac.lif.cep.functions.DuplicableFunction
public class XPathFunctionGetNumber extends XPathFunctionGet<java.lang.Number>
Utility function to evaluate an XPath expression, ending with atext()
element
-
-
Field Summary
-
Fields inherited from class ca.uqac.lif.cep.xml.XPathFunctionGet
m_outputType
-
Fields inherited from class ca.uqac.lif.cep.xml.XPathFunction
m_expression
-
-
Constructor Summary
Constructors Constructor Description XPathFunctionGetNumber(ca.uqac.lif.xml.XPathExpression exp)
XPathFunctionGetNumber(java.lang.String exp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Number
castValue(ca.uqac.lif.xml.XmlElement e)
XPathFunctionGetNumber
duplicate(boolean with_state)
-
Methods inherited from class ca.uqac.lif.cep.xml.XPathFunctionGet
postProcess
-
Methods inherited from class ca.uqac.lif.cep.xml.XPathFunction
evaluate, evaluate, evaluatePlaceholders, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, getValue, parseExpression, toString
-
-
-
-
Method Detail
-
castValue
public java.lang.Number castValue(ca.uqac.lif.xml.XmlElement e)
- Specified by:
castValue
in classXPathFunctionGet<java.lang.Number>
-
duplicate
public XPathFunctionGetNumber duplicate(boolean with_state)
- Specified by:
duplicate
in interfaceca.uqac.lif.cep.Duplicable
- Overrides:
duplicate
in classXPathFunction
-
-