< prev index next >

src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/wscompile/Options.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 174,183 **** --- 174,184 ---- } public Target target = Target.V2_2; /** + * Type of input schema language. One of the {@code SCHEMA_XXX} * strictly follow the compatibility rules specified in JAXWS spec */ public static final int STRICT = 1; /**
*** 186,197 **** */ public static final int EXTENSION = 2; /** * this switch determines how carefully the compiler will follow ! * the compatibility rules in the spec. Either <code>STRICT</code> ! * or <code>EXTENSION</code>. */ public int compatibilityMode = STRICT; public boolean isExtensionMode() { return compatibilityMode == EXTENSION; --- 187,198 ---- */ public static final int EXTENSION = 2; /** * this switch determines how carefully the compiler will follow ! * the compatibility rules in the spec. Either {@code STRICT} ! * or {@code EXTENSION}. */ public int compatibilityMode = STRICT; public boolean isExtensionMode() { return compatibilityMode == EXTENSION;
*** 291,301 **** * @param arg a file, could be a wsdl or xsd or a Class */ protected void addFile(String arg) throws BadCommandLineException {} /** ! * Parses an option <code>args[i]</code> and return * the number of tokens consumed. * * @return * 0 if the argument is not understood. Returning 0 * will let the caller report an error. --- 292,302 ---- * @param arg a file, could be a wsdl or xsd or a Class */ protected void addFile(String arg) throws BadCommandLineException {} /** ! * Parses an option {@code args[i]} and return * the number of tokens consumed. * * @return * 0 if the argument is not understood. Returning 0 * will let the caller report an error.
< prev index next >