Java Doc for NumericExpr.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » xpath » expr » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » resin » com.caucho.xpath.expr 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.xpath.Expr
      com.caucho.xpath.expr.NumericExpr

NumericExpr
public class NumericExpr extends Expr (Code)



Constructor Summary
public  NumericExpr(int code, Expr left, Expr right)
    
public  NumericExpr(int code, Expr expr)
    
public  NumericExpr(double value)
    
public  NumericExpr(int code, ArrayList<Expr> args)
    
public  NumericExpr(int code, AbstractPattern axis, AbstractPattern pattern)
    
public  NumericExpr(int code, AbstractPattern listPattern)
    

Method Summary
public  booleanevalBoolean(Node node, ExprEnvironment env)
     Evaluates the expression as a boolean.
Parameters:
  node - the current node
Parameters:
  env - the variable environment.
public  doubleevalNumber(Node node, ExprEnvironment env)
     Evaluates the expression as a number.
Parameters:
  node - the node to evaluate and use as a context.
Parameters:
  env - the variable environment.
public  ObjectevalObject(Node node, ExprEnvironment env)
     Evaluates the expression as an object.
Parameters:
  node - the current node
Parameters:
  env - the variable environment.
public  StringevalString(Node node, ExprEnvironment env)
     Evaluates the expression as a string.
Parameters:
  node - the current node
Parameters:
  env - the variable environment.
public  VarevalVar(Node node, ExprEnvironment env)
     Evaluates to a variable.
Parameters:
  node - the node to evaluate and use as a context.
Parameters:
  env - the variable environment.
public  AbstractPatterngetListContext()
    
public  doublegetValue()
     Returns the expression's value.
public  booleanisConstant()
     Returns true of the expression is constant.
public  booleanisNumber()
    
public  StringtoString()
    


Constructor Detail
NumericExpr
public NumericExpr(int code, Expr left, Expr right)(Code)



NumericExpr
public NumericExpr(int code, Expr expr)(Code)



NumericExpr
public NumericExpr(double value)(Code)



NumericExpr
public NumericExpr(int code, ArrayList<Expr> args)(Code)



NumericExpr
public NumericExpr(int code, AbstractPattern axis, AbstractPattern pattern)(Code)



NumericExpr
public NumericExpr(int code, AbstractPattern listPattern)(Code)




Method Detail
evalBoolean
public boolean evalBoolean(Node node, ExprEnvironment env) throws XPathException(Code)
Evaluates the expression as a boolean.
Parameters:
  node - the current node
Parameters:
  env - the variable environment. the boolean representation of the number.



evalNumber
public double evalNumber(Node node, ExprEnvironment env) throws XPathException(Code)
Evaluates the expression as a number.
Parameters:
  node - the node to evaluate and use as a context.
Parameters:
  env - the variable environment. the numeric value



evalObject
public Object evalObject(Node node, ExprEnvironment env) throws XPathException(Code)
Evaluates the expression as an object.
Parameters:
  node - the current node
Parameters:
  env - the variable environment. the Double representation of the number.



evalString
public String evalString(Node node, ExprEnvironment env) throws XPathException(Code)
Evaluates the expression as a string.
Parameters:
  node - the current node
Parameters:
  env - the variable environment. the string representation of the number.



evalVar
public Var evalVar(Node node, ExprEnvironment env) throws XPathException(Code)
Evaluates to a variable.
Parameters:
  node - the node to evaluate and use as a context.
Parameters:
  env - the variable environment. a variable containing the value.



getListContext
public AbstractPattern getListContext()(Code)



getValue
public double getValue()(Code)
Returns the expression's value.



isConstant
public boolean isConstant()(Code)
Returns true of the expression is constant.



isNumber
public boolean isNumber()(Code)



toString
public String toString()(Code)



Fields inherited from com.caucho.xpath.Expr
final protected static int ADD(Code)(Java Doc)
final protected static int AND(Code)(Java Doc)
final protected static int ATTRIBUTE(Code)(Java Doc)
final protected static int BASE_URI(Code)(Java Doc)
final protected static int BOOLEAN(Code)(Java Doc)
final protected static int BOOLEAN_EQ(Code)(Java Doc)
final protected static int BOOLEAN_NEQ(Code)(Java Doc)
final protected static int CEILING(Code)(Java Doc)
final protected static int CONCAT(Code)(Java Doc)
final protected static int CONST(Code)(Java Doc)
final protected static int CONTAINS(Code)(Java Doc)
final protected static int COUNT(Code)(Java Doc)
final protected static int DIV(Code)(Java Doc)
final protected static int ELEMENT(Code)(Java Doc)
final protected static int EQ(Code)(Java Doc)
final protected static int FALSE(Code)(Java Doc)
final protected static int FLOOR(Code)(Java Doc)
final protected static int FORMAT_NUMBER(Code)(Java Doc)
final protected static int FUNCTION_AVAILABLE(Code)(Java Doc)
final protected static int GE(Code)(Java Doc)
final protected static int GENERATE_ID(Code)(Java Doc)
final protected static int GT(Code)(Java Doc)
final protected static int ID(Code)(Java Doc)
final protected static int IF(Code)(Java Doc)
final protected static int LANG(Code)(Java Doc)
final protected static int LAST(Code)(Java Doc)
final protected static int LAST_FUN(Code)(Java Doc)
final protected static int LE(Code)(Java Doc)
final protected static int LOCAL_PART(Code)(Java Doc)
final protected static int LT(Code)(Java Doc)
final protected static int MOD(Code)(Java Doc)
final protected static int MUL(Code)(Java Doc)
final protected static int NAMESPACE(Code)(Java Doc)
final protected static int NEG(Code)(Java Doc)
final protected static int NEQ(Code)(Java Doc)
final protected static int NODE_SET(Code)(Java Doc)
final protected static int NORMALIZE(Code)(Java Doc)
final protected static int NOT(Code)(Java Doc)
final protected static int NUMBER(Code)(Java Doc)
final protected static int NUMBER_EQ(Code)(Java Doc)
final protected static int NUMBER_GE(Code)(Java Doc)
final protected static int NUMBER_GT(Code)(Java Doc)
final protected static int NUMBER_LE(Code)(Java Doc)
final protected static int NUMBER_LT(Code)(Java Doc)
final protected static int NUMBER_NEQ(Code)(Java Doc)
final protected static int OR(Code)(Java Doc)
final public static int POSITION(Code)(Java Doc)
final protected static int QNAME(Code)(Java Doc)
final protected static int QUO(Code)(Java Doc)
final protected static int ROUND(Code)(Java Doc)
final protected static int SELF(Code)(Java Doc)
final protected static int SELF_NAME(Code)(Java Doc)
final protected static int STARTS_WITH(Code)(Java Doc)
final protected static int STRING(Code)(Java Doc)
final protected static int STRING_EQ(Code)(Java Doc)
final protected static int STRING_LENGTH(Code)(Java Doc)
final protected static int STRING_NEQ(Code)(Java Doc)
final protected static int SUB(Code)(Java Doc)
final protected static int SUBSTRING(Code)(Java Doc)
final protected static int SUBSTRING_AFTER(Code)(Java Doc)
final protected static int SUBSTRING_BEFORE(Code)(Java Doc)
final protected static int SUM(Code)(Java Doc)
final protected static int SYSTEM_PROPERTY(Code)(Java Doc)
final protected static int TRANSLATE(Code)(Java Doc)
final protected static int TRUE(Code)(Java Doc)

Methods inherited from com.caucho.xpath.Expr
public void addParam(Env newEnv, String name, Node node, Env env) throws XPathException(Code)(Java Doc)
public void addVar(Env newEnv, String name, Node node, Env env) throws XPathException(Code)(Java Doc)
public boolean evalBoolean(Node node) throws XPathException(Code)(Java Doc)
abstract public boolean evalBoolean(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc)
public NodeIterator evalNodeSet(Node node) throws XPathException(Code)(Java Doc)
public NodeIterator evalNodeSet(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc)
public double evalNumber(Node node) throws XPathException(Code)(Java Doc)
abstract public double evalNumber(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc)
public Object evalObject(Node node) throws XPathException(Code)(Java Doc)
abstract public Object evalObject(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc)
public String evalString(Node node) throws XPathException(Code)(Java Doc)
abstract public String evalString(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc)
public void evalString(CharBuffer cb, Node node) throws XPathException(Code)(Java Doc)
public void evalString(CharBuffer cb, Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc)
public Var evalVar(Node node, ExprEnvironment env) throws XPathException(Code)(Java Doc)
public AbstractPattern getListContext()(Code)(Java Doc)
public boolean isBoolean()(Code)(Java Doc)
public boolean isNodeSet()(Code)(Java Doc)
public boolean isNumber()(Code)(Java Doc)
public boolean isString()(Code)(Java Doc)
public void setListContext(AbstractPattern listContext)(Code)(Java Doc)
public void setVar(String name, Node node, Env env) throws XPathException(Code)(Java Doc)
protected static double stringToNumber(String string) throws XPathException(Code)(Java Doc)
public static boolean toBoolean(Object value) throws XPathException(Code)(Java Doc)
public static double toDouble(Object value) throws XPathException(Code)(Java Doc)
public static Node toNode(Object value) throws XPathException(Code)(Java Doc)
protected AbstractPattern toNodeList()(Code)(Java Doc)
public static String toString(Object value) throws XPathException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.