Package org.apache.ibatis.parsing
Class XPathParser
- java.lang.Object
-
- org.apache.ibatis.parsing.XPathParser
-
public class XPathParser extends Object
- Author:
- Clinton Begin, Kazuki Shimizu
-
-
Constructor Summary
Constructors Constructor Description XPathParser(InputStream inputStream)
XPathParser(InputStream inputStream, boolean validation)
XPathParser(InputStream inputStream, boolean validation, Properties variables)
XPathParser(InputStream inputStream, boolean validation, Properties variables, EntityResolver entityResolver)
XPathParser(Reader reader)
XPathParser(Reader reader, boolean validation)
XPathParser(Reader reader, boolean validation, Properties variables)
XPathParser(Reader reader, boolean validation, Properties variables, EntityResolver entityResolver)
XPathParser(String xml)
XPathParser(String xml, boolean validation)
XPathParser(String xml, boolean validation, Properties variables)
XPathParser(String xml, boolean validation, Properties variables, EntityResolver entityResolver)
XPathParser(Document document)
XPathParser(Document document, boolean validation)
XPathParser(Document document, boolean validation, Properties variables)
XPathParser(Document document, boolean validation, Properties variables, EntityResolver entityResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
evalBoolean(Object root, String expression)
Boolean
evalBoolean(String expression)
Double
evalDouble(Object root, String expression)
Double
evalDouble(String expression)
Float
evalFloat(Object root, String expression)
Float
evalFloat(String expression)
Integer
evalInteger(Object root, String expression)
Integer
evalInteger(String expression)
Long
evalLong(Object root, String expression)
Long
evalLong(String expression)
XNode
evalNode(Object root, String expression)
XNode
evalNode(String expression)
List<XNode>
evalNodes(Object root, String expression)
List<XNode>
evalNodes(String expression)
Short
evalShort(Object root, String expression)
Short
evalShort(String expression)
String
evalString(Object root, String expression)
String
evalString(String expression)
void
setVariables(Properties variables)
-
-
-
Constructor Detail
-
XPathParser
public XPathParser(String xml)
-
XPathParser
public XPathParser(Reader reader)
-
XPathParser
public XPathParser(InputStream inputStream)
-
XPathParser
public XPathParser(Document document)
-
XPathParser
public XPathParser(String xml, boolean validation)
-
XPathParser
public XPathParser(Reader reader, boolean validation)
-
XPathParser
public XPathParser(InputStream inputStream, boolean validation)
-
XPathParser
public XPathParser(Document document, boolean validation)
-
XPathParser
public XPathParser(String xml, boolean validation, Properties variables)
-
XPathParser
public XPathParser(Reader reader, boolean validation, Properties variables)
-
XPathParser
public XPathParser(InputStream inputStream, boolean validation, Properties variables)
-
XPathParser
public XPathParser(Document document, boolean validation, Properties variables)
-
XPathParser
public XPathParser(String xml, boolean validation, Properties variables, EntityResolver entityResolver)
-
XPathParser
public XPathParser(Reader reader, boolean validation, Properties variables, EntityResolver entityResolver)
-
XPathParser
public XPathParser(InputStream inputStream, boolean validation, Properties variables, EntityResolver entityResolver)
-
XPathParser
public XPathParser(Document document, boolean validation, Properties variables, EntityResolver entityResolver)
-
-
Method Detail
-
setVariables
public void setVariables(Properties variables)
-
-