org.apache.ibatis.parsing
Class XPathParser

java.lang.Object
  extended by org.apache.ibatis.parsing.XPathParser

public class XPathParser
extends Object


Constructor Summary
XPathParser(Document document)
           
XPathParser(Document document, boolean validation)
           
XPathParser(Document document, boolean validation, Properties variables)
           
XPathParser(Document document, boolean validation, Properties variables, EntityResolver entityResolver)
           
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)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

evalString

public String evalString(String expression)

evalString

public String evalString(Object root,
                         String expression)

evalBoolean

public Boolean evalBoolean(String expression)

evalBoolean

public Boolean evalBoolean(Object root,
                           String expression)

evalShort

public Short evalShort(String expression)

evalShort

public Short evalShort(Object root,
                       String expression)

evalInteger

public Integer evalInteger(String expression)

evalInteger

public Integer evalInteger(Object root,
                           String expression)

evalLong

public Long evalLong(String expression)

evalLong

public Long evalLong(Object root,
                     String expression)

evalFloat

public Float evalFloat(String expression)

evalFloat

public Float evalFloat(Object root,
                       String expression)

evalDouble

public Double evalDouble(String expression)

evalDouble

public Double evalDouble(Object root,
                         String expression)

evalNodes

public List<XNode> evalNodes(String expression)

evalNodes

public List<XNode> evalNodes(Object root,
                             String expression)

evalNode

public XNode evalNode(String expression)

evalNode

public XNode evalNode(Object root,
                      String expression)


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.