/openjdk7/jdk/src/share/classes/com/sun/beans/decoder/ |
H A D | BooleanElementHandler.java | 56 * @param argument the text of the body 60 public Object getValue(String argument) { argument 61 if (Boolean.TRUE.toString().equalsIgnoreCase(argument)) { 64 if (Boolean.FALSE.toString().equalsIgnoreCase(argument)) { 67 throw new IllegalArgumentException("Unsupported boolean argument: " + argument);
|
H A D | ByteElementHandler.java | 56 * @param argument the text of the body 60 public Object getValue(String argument) { argument 61 return Byte.decode(argument);
|
H A D | ClassElementHandler.java | 55 * @param argument the text of the body 59 public Object getValue(String argument) { argument 60 return getOwner().findClass(argument);
|
H A D | DoubleElementHandler.java | 56 * @param argument the text of the body 60 public Object getValue(String argument) { argument 61 return Double.valueOf(argument);
|
H A D | FloatElementHandler.java | 56 * @param argument the text of the body 60 public Object getValue(String argument) { argument 61 return Float.valueOf(argument);
|
H A D | IntElementHandler.java | 56 * @param argument the text of the body 60 public Object getValue(String argument) { argument 61 return Integer.decode(argument);
|
H A D | LongElementHandler.java | 56 * @param argument the text of the body 60 public Object getValue(String argument) { argument 61 return Long.decode(argument);
|
H A D | ShortElementHandler.java | 56 * @param argument the text of the body 60 public Object getValue(String argument) { argument 61 return Short.decode(argument);
|
H A D | CharElementHandler.java | 82 * @param argument the text of the body 86 public Object getValue(String argument) { argument 87 if (argument.length() != 1) { 90 return Character.valueOf(argument.charAt(0));
|
H A D | AccessorElementHandler.java | 30 * The element defines getter if it contains no argument 31 * or setter if it contains one argument. 64 * Adds the argument that is used to set the value of this element. 66 * @param argument the value of the element that contained in this one 69 protected final void addArgument(Object argument) { argument 71 throw new IllegalStateException("Could not add argument to evaluated element"); 73 setValue(this.name, argument);
|
H A D | JavaElementHandler.java | 83 * Adds the argument to the list of readed objects. 85 * @param argument the value of the element that contained in this one 88 protected void addArgument(Object argument) { argument 89 getOwner().addObject(argument); 94 * as an argument of the element that contained in this one. 97 * as an argument of the element that contained in this one,
|
H A D | StringElementHandler.java | 71 * Adds the string value of the argument to the string value of this element. 73 * @param argument the value of the element that contained in this one 76 protected final void addArgument(Object argument) { argument 78 throw new IllegalStateException("Could not add argument to evaluated string element"); 80 this.sb.append(argument); 110 * @param argument the text of the body 113 protected Object getValue(String argument) { argument 114 return argument;
|
H A D | NewElementHandler.java | 87 * Adds the argument to the list of arguments 90 * @param argument the value of the element that contained in this one 93 protected final void addArgument(Object argument) { argument 95 throw new IllegalStateException("Could not add argument to evaluated element"); 97 this.arguments.add(argument); 161 * If argument is {@code null} the class is {@code null} too. 186 Object argument = arguments[index]; 187 if (argument == null) { 191 if (type.isAssignableFrom(argument.getClass())) {
|
H A D | ElementHandler.java | 162 * <li>This element is used as an argument of parent element if it is possible.</li> 197 * Adds the argument that is used to calculate the value of this element. 200 * @param argument the value of the element that contained in this one 202 protected void addArgument(Object argument) { argument 203 throw new IllegalStateException("Could not add argument to simple element"); 208 * as an argument of the element that contained in this one. 211 * as an argument of the element that contained in this one,
|
/openjdk7/jdk/src/share/classes/sun/applet/ |
H A D | AppletEvent.java | 43 public AppletEvent(Object source, int id, Object argument) { argument 45 this.arg = argument;
|
/openjdk7/hotspot/test/serviceability/ |
H A D | ParserTest.java | 136 // try with a quoted argument 138 // try with both a quoted value and a quoted argument 145 // try with a quoted argument 147 // try with both a quoted value and a quoted argument 197 private void shouldFail(String argument, DiagnosticCommand[] argumentTypes) throws Exception { argument 199 wb.parseCommandLine(argument, argumentTypes); 200 throw new Exception("Parser accepted argument: " + argument);
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/ |
H A D | MessageOutput.java | 77 * Fetch and format a message with one string argument. 80 static String format(String key, String argument) { argument 81 return format(key, new Object [] {argument}); 140 * Fetch, format and print a message with one string argument. 143 static void print(String key, String argument) { argument 144 System.out.print(format(key, argument)); 146 static void println(String key, String argument) { argument 147 System.out.println(format(key, argument)); 166 static void lnprint(String key, String argument) { argument 168 System.out.print(format(key, argument)); [all...] |
H A D | TTY.java | 787 static void usageError(String messageKey, String argument) { argument 788 MessageOutput.println(messageKey, argument); 827 private static String addArgument(String string, String argument) { argument 828 if (hasWhitespace(argument) || argument.indexOf(',') != -1) { 829 // Quotes were stripped out for this argument, add 'em back. 832 for (int i = 0; i < argument.length(); i++) { 833 char c = argument.charAt(i); 842 return string + argument + ' ';
|
/openjdk7/jdk/src/share/classes/sun/security/jca/ |
H A D | ProviderConfig.java | 37 * (className plus optional argument), the provider loading logic, and 52 // config file argument of the SunPKCS11-Solaris provider 66 // argument to the provider constructor, 68 private final String argument; field in class:ProviderConfig 80 ProviderConfig(String className, String argument) { argument 81 if (className.equals(P11_SOL_NAME) && argument.equals(P11_SOL_ARG)) { 85 this.argument = expand(argument); 94 this.argument = ""; 122 return argument [all...] |
/openjdk7/hotspot/src/share/vm/prims/wbtestmethods/ |
H A D | parserTests.cpp | 41 //the value of an argument. 48 * this argument represents. (JLONG, BOOLEAN etc). 67 static void fill_in_parser(DCmdParser* parser, oop argument) argument 69 const char* name = WhiteBox::lookup_jstring("name", argument); 70 const char* desc = WhiteBox::lookup_jstring("desc", argument); 71 const char* default_value = WhiteBox::lookup_jstring("defaultValue", argument); 72 bool mandatory = WhiteBox::lookup_bool("mandatory", argument); 73 const char* type = lookup_diagnosticArgumentEnum("type", argument); 76 DCmdArgument<char*>* argument = new DCmdArgument<char*>( local 79 parser->add_dcmd_option(argument); 81 DCmdArgument<NanoTimeArgument>* argument = new DCmdArgument<NanoTimeArgument>( local 86 DCmdArgument<jlong>* argument = new DCmdArgument<jlong>( local 91 DCmdArgument<bool>* argument = new DCmdArgument<bool>( local 96 DCmdArgument<MemorySizeArgument>* argument = new DCmdArgument<MemorySizeArgument>( local 101 DCmdArgument<StringArrayArgument*>* argument = new DCmdArgument<StringArrayArgument*>( local [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/ |
H A D | ConnectorImpl.java | 264 ArgumentImpl argument = (ArgumentImpl)iter.next(); 265 defaults.put(argument.name(), argument.clone()); 309 ArgumentImpl argument(String name, Map arguments) method in class:ConnectorImpl 312 ArgumentImpl argument = (ArgumentImpl)arguments.get(name); 313 if (argument == null) { 317 String value = argument.value(); 319 if (argument.mustSpecify()) { 323 } else if(!argument.isValid(value)) { 328 return argument; [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/ |
H A D | ConnectorImpl.java | 54 ArgumentImpl argument = (ArgumentImpl)iter.next(); 55 defaults.put(argument.name(), (Argument)argument.clone()); 99 ArgumentImpl argument(String name, Map arguments) method in class:ConnectorImpl 102 ArgumentImpl argument = (ArgumentImpl)arguments.get(name); 103 if (argument == null) { 107 String value = argument.value(); 109 if (argument.mustSpecify()) { 113 } else if(!argument.isValid(value)) { 118 return argument; [all...] |
/openjdk7/jdk/src/macosx/bundle/appbundler/src/com/oracle/appbundler/ |
H A D | AppBundlerTask.java | 164 public void addConfiguredArgument(Argument argument) throws BuildException { argument 165 String value = argument.getValue(); 387 for (String argument : arguments) { 388 writeString(xout, argument);
|
/openjdk7/jdk/src/share/back/ |
H A D | invoker.c | 99 * Note: argument refs may be destroyed on out-of-memory error 109 jvalue *argument; local 143 argument = request->arguments; 150 /* Create a global ref for any non-null argument */ 151 if (argument->l != NULL) { 152 saveGlobalRef(env, argument->l, &argRefs[argIndex]); 159 argument++; 166 /* Make sure the argument count matches */ 179 argument = request->arguments; 183 argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/ |
H A D | Start.java | 457 * Error and exit if one argument is not provided. 494 * indicate an option with one argument was given. 496 private void setOption(String opt, String argument) { argument 497 String[] option = { opt, argument };
|