| /openjdk7/jdk/test/java/beans/XMLEncoder/6777487/ |
| H A D | TestEncoder.java | 28 private Expression expression; field in class:TestEncoder 35 public void writeExpression(Expression expression) { argument 36 if (this.expression == null) { 37 this.expression = expression; 39 super.writeExpression(expression); 52 if (encoder.expression != null) { 53 for (Object argument : encoder.expression.getArguments()) {
|
| /openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/ |
| H A D | REUtil.java | 34 * Creates a regular expression, permitting simple or complex syntax 35 * @param expression The expression, beginning with a prefix if it's complex or 38 * @return The regular expression object 41 public static RE createRE(String expression, int matchFlags) throws RESyntaxException argument 43 if (expression.startsWith(complexPrefix)) 45 return new RE(expression.substring(complexPrefix.length()), matchFlags); 47 return new RE(RE.simplePatternToFullRegularExpression(expression), matchFlags); 51 * Creates a regular expression, permitting simple or complex syntax 52 * @param expression Th 57 createRE(String expression) argument [all...] |
| /openjdk7/jaxp/src/org/w3c/dom/xpath/ |
| H A D | XPathEvaluator.java | 68 * Creates a parsed XPath expression with resolved namespaces. This is 69 * useful when an expression will be reused in an application since it 70 * makes it possible to compile the expression string into a more 72 * occur within the expression. 73 * @param expression The XPath expression string to be parsed. 75 * prefixes within the XPath expression into appropriate namespace URIs 77 * within the expression will result in <code>DOMException</code> 79 * @return The compiled form of the XPath expression. 81 * INVALID_EXPRESSION_ERR: Raised if the expression i 88 createExpression(String expression, XPathNSResolver resolver) argument 155 evaluate(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result) argument [all...] |
| /openjdk7/langtools/test/tools/javac/api/evalexpr/ |
| H A D | CompileFromString.java | 57 * Compile and evaluate the specified expression using the 59 * @param compiler a JSR 199 compiler tool used to compile the given expression 60 * @param expression a Java Programming Language expression 61 * @return the value of the expression; ERROR if any errors occured during compilation 67 String expression) 78 " return " + expression + ";\n" + 111 String expression = "System.getProperty(\"java.vendor\")"; 113 expression = JOptionPane.showInputDialog("Please enter a Java expression", 64 evalExpression(JavaCompiler compiler, DiagnosticListener<JavaFileObject> listener, List<String> flags, String expression) argument [all...] |
| /openjdk7/jaxp/src/javax/xml/xpath/ |
| H A D | XPath.java | 46 * If a request is made to evaluate the expression in the absence 55 * If the expression contains a variable reference, its value will be found through the {@link XPathVariableResolver} 65 * If the expression contains a function reference, the function will be found through the {@link XPathFunctionResolver} 74 * QNames in the expression are resolved against the XPath namespace context 81 * This result of evaluating an expression is converted to an instance of the desired return type. 179 * <p>Compile an XPath expression for later evaluation.</p> 181 * <p>If <code>expression</code> contains any {@link XPathFunction}s, 187 * <p>If <code>expression</code> contains any variables, the 191 * <p>If <code>expression</code> is <code>null</code>, a <code>NullPointerException</code> is thrown.</p> 193 * @param expression Th 200 compile(String expression) argument 233 evaluate(String expression, Object item, QName returnType) argument 259 evaluate(String expression, Object item) argument 289 evaluate( String expression, InputSource source, QName returnType) argument 317 evaluate(String expression, InputSource source) argument [all...] |
| /openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/spec/ |
| H A D | XPathType.java | 107 private final String expression; field in class:XPathType 113 * expression and filter. 115 * @param expression the XPath expression to be evaluated 118 * @throws NullPointerException if <code>expression</code> or 121 public XPathType(String expression, Filter filter) { argument 122 if (expression == null) { 123 throw new NullPointerException("expression cannot be null"); 128 this.expression = expression; 150 XPathType(String expression, Filter filter, Map namespaceMap) argument [all...] |
| /openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/domapi/ |
| H A D | XPathEvaluatorImpl.java | 130 * Constructor in the case that the XPath expression can be evaluated 139 * Creates a parsed XPath expression with resolved namespaces. This is 140 * useful when an expression will be reused in an application since it 141 * makes it possible to compile the expression string into a more 143 * occur within the expression. 145 * @param expression The XPath expression string to be parsed. 147 * prefixes within the XPath expression into appropriate namespace URIs 149 * within the expression will result in <code>DOMException</code> 151 * @return The compiled form of the XPath expression 162 createExpression( String expression, XPathNSResolver resolver) argument 260 evaluate( String expression, Node contextNode, XPathNSResolver resolver, short type, Object result) argument [all...] |
| /openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/ |
| H A D | Arg.java | 32 * XObject or a String containing an expression. 107 /** Field m_expression: Stored expression value of this argument. 114 * Get the value expression for this argument. 116 * @return String containing the expression previously stored into this 126 * Set the value expression for this argument. 128 * @param expr String containing the expression to be stored as this 179 * value (either expression string or value XObject). isVisible 194 * Construct a parameter argument that contains an expression. 197 * @param expression String to be stored as this argument's value expression 200 Arg(QName qname, String expression, boolean isFromWithParam) argument [all...] |
| /openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/jaxp/ |
| H A D | XPathImpl.java | 53 * of an XPath expression. 186 private XObject eval(String expression, Object contextItem) argument 188 com.sun.org.apache.xpath.internal.XPath xpath = new com.sun.org.apache.xpath.internal.XPath( expression, 215 * <p>Evaluate an <code>XPath</code> expression in the specified context and return the result as the specified type.</p> 232 * If <code>expression</code> or <code>returnType</code> is <code>null</code>, then a 235 * @param expression The XPath expression. 239 * @return Result of evaluating an XPath expression as an <code>Object</code> of <code>returnType</code>. 241 * @throws XPathExpressionException If <code>expression</code> cannot be evaluated. 243 * @throws NullPointerException If <code>expression</cod 245 evaluate(String expression, Object item, QName returnType) argument 358 evaluate(String expression, Object item) argument 380 compile(String expression) argument 430 evaluate(String expression, InputSource source, QName returnType) argument 508 evaluate(String expression, InputSource source) argument [all...] |
| /openjdk7/jdk/src/share/classes/sun/tools/jstat/ |
| H A D | ColumnFormat.java | 43 private Expression expression; field in class:ColumnFormat 59 if (expression == null) { 117 return expression; 121 this.expression = e; 142 + ";data=" + expression.toString() + ";header=" + header
|
| H A D | Parser.java | 311 e = expression(); 431 private Expression expression() throws ParserException, IOException { method in class:Parser 433 log(pdebug, "Parsed: expression -> " + e); 438 * datastmt -> 'data' expression 442 Expression e = expression(); 449 * optionalstmt -> 'data' expression
|
| /openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ |
| H A D | Internalizer.java | 381 private Node evaluateXPathNode(Node bindings, Node target, String expression, NamespaceContext namespaceContext) { argument 385 nlst = (NodeList) xpath.evaluate(expression, target, XPathConstants.NODESET); 392 reportError((Element) bindings, WsdlMessages.INTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(expression)); 397 reportError((Element) bindings, WsdlMessages.INTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(expression, nlst.getLength())); 403 reportError((Element) bindings, WsdlMessages.INTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(expression)); 409 private NodeList evaluateXPathMultiNode(Node bindings, Node target, String expression, NamespaceContext namespaceContext) { argument 413 nlst = (NodeList) xpath.evaluate(expression, target, XPathConstants.NODESET); 420 reportError((Element) bindings, WsdlMessages.INTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(expression));
|
| H A D | JAXWSBindingExtensionHandler.java | 296 private Element evaluateXPathNode(Node target, String expression, NamespaceContext namespaceContext) { argument 300 nlst = (NodeList)xpath.evaluate(expression, target, XPathConstants.NODESET); 307 Util.fail("internalizer.XPathEvaluatesToNoTarget", new Object[]{expression}); 312 Util.fail("internalizer.XPathEvaulatesToTooManyTargets", new Object[]{expression, nlst.getLength()}); 318 Util.fail("internalizer.XPathEvaluatesToNonElement", new Object[]{expression});
|
| /openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/ |
| H A D | XPathParser.java | 874 * String representation of the expression being parsed. 879 * Line number where this expression/pattern was declared. 1032 * Parse the expression passed to the current scanner. If this 1033 * expression contains references to local variables and it will be 1037 * @param lineNumber Line where the current expression is defined. 1038 * @param external Set to <tt>true</tt> if this expression is 1042 public Symbol parse(String expression, int lineNumber) throws Exception { argument 1044 _expression = expression; 1706 * namespace info in the literal expression. This is used for
|
| H A D | Parser.java | 1075 * Parse an XPath expression: 1076 * @param parent - XSL element where the expression occured 1077 * @param exp - textual representation of the expression 1084 * Parse an XPath expression: 1085 * @param parent - XSL element where the expression occured 1086 * @param attr - name of this element's attribute to get expression from 1087 * @param def - default expression (if the attribute was not found) 1091 // Get the textual representation of the expression (if any) 1093 // Use the default expression if none was found 1125 * Parse an XPath expression o 1128 parseTopLevel(SyntaxTreeNode parent, String text, String expression) argument [all...] |
| /openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/ |
| H A D | XPathParser.java | 94 * have to be done each time the expression is evaluated. 97 * @param expression A string conforming to the XPath grammar. 104 Compiler compiler, String expression, PrefixResolver namespaceContext) 114 lexer.tokenize(expression); 171 * have to be done each time the expression is evaluated. 173 * @param expression A String representing the XPath. 180 Compiler compiler, String expression, PrefixResolver namespaceContext) 190 lexer.tokenize(expression); 742 * the length value for the total expression. 765 * the length value for the total expression 103 initXPath( Compiler compiler, String expression, PrefixResolver namespaceContext) argument 179 initMatchPattern( Compiler compiler, String expression, PrefixResolver namespaceContext) argument [all...] |
| /openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/ |
| H A D | Metacity.java | 1809 return Math.round(expression()); 1816 public float expression() { method in class:Metacity.ArithmeticExpressionEvaluator 1869 value = expression();
|
| /openjdk7/hotspot/src/share/vm/adlc/ |
| H A D | dfa.cpp | 483 // Confirm that this is a separate sub-expression. 543 // If the Predicate contains a common sub-expression, replace the Predicate's 570 // Output the hoisted common sub-expression if we found it in predicates 667 Expr::Expr(const char *name, const char *expression, int min_value, int max_value) { argument 669 _expr = expression ? expression : name;
|
| /openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/ |
| H A D | Lower.java | 272 /** If tree refers to a class instance creation expression 285 /** If tree refers to a qualified this or super expression 346 * expression, we maintain an EnumMapping to assist in the 494 /** Make an attributed class instance creation expression. 507 /** Make an attributed unary expression. 519 /** Make an attributed binary expression. 532 /** Make an attributed assignop expression. 702 * expression. If that is found to be the case, create an empty class here. 1414 /** Construct a tree simulating the expression <C.this>. 1480 // Add resource declaration or expression t 1578 makeNonNullCheck(JCExpression expression) argument [all...] |
| /openjdk7/hotspot/src/share/vm/c1/ |
| H A D | c1_LinearScan.cpp | 2339 assert(stack_end >= -Bytecodes::depth(code), "must have non-empty expression stack at if bytecode"); 2875 // describe expression stack 2882 Value expression = cur_state->stack_at_inc(pos); local 2883 append_scope_value(op_id, expression, expressions);
|