Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionUse
com.sun.tools.jxc.api.J2SJAXBModelinstead.Usecom.sun.tools.jxc.api.JavaCompilerinstead.Usecom.sun.tools.jxc.api.Referenceinstead.UseDTDEventListener.OCCURRENCE_ONCEinstead.UseDTDEventListener.OCCURRENCE_ONE_OR_MOREinstead.UseDTDEventListener.OCCURRENCE_ZERO_OR_MOREinstead.UseDTDEventListener.OCCURRENCE_ZERO_OR_ONEinstead.
-
Deprecated InterfacesInterfaceDescriptionThis interface is deprecated, will be removed in JAX-WS 2.2 RI.This interface is deprecated, will be removed in JAX-WS 2.2 RI.This interface is deprecated, will be removed in JAX-WS 2.2 RI.This interface is deprecated, will be removed in JAX-WS 2.2 RI.Use
com.sun.tools.jxc.api.J2SJAXBModelinstead.Usecom.sun.tools.jxc.api.JavaCompilerinstead.
-
Deprecated ClassesClassDescriptionThis class is deprecated, will be removed in JAX-WS 2.2 RI.This class is deprecated, will be removed in JAX-WS 2.2 RI.Use
com.sun.tools.jxc.api.Referenceinstead.
-
Deprecated FieldsFieldDescriptionUse
DTDEventListener.OCCURRENCE_ONCEinstead.UseDTDEventListener.OCCURRENCE_ONE_OR_MOREinstead.UseDTDEventListener.OCCURRENCE_ZERO_OR_MOREinstead.UseDTDEventListener.OCCURRENCE_ZERO_OR_ONEinstead.
-
Deprecated MethodsMethodDescriptionThe naming convention doesn't match the rest of the CodeModel. Use
JCodeModel.anonymousClass(JClass)instead.@see #getEndColumn@see #getEndLineUseOptions.addGeneratedFile(javax.tools.FileObject)instead.this method is provided for now to allow gradual migration for JAX-RPC.This method is not really "deprecated" (in the sense of being removed from future versions), but the JAXB team is not committed to evolveOptionsclass in the compatible fashion. So please don't use this method unless you know what you're doing.always return null at this level.why are you calling a method whose return value is always known?always return null at this level.always return false at this level.if you are calling this method directly, you must be doing something wrong.why are you calling a method that returns this?why are you calling the method whose return value is known?marked as deprecated so that we can spot the use of this method.No line number available for the "root" component.Always return null. Perhaps you are interested inModel.schemaComponent?no class generated by XJC is final.if you statically call this method, there's something wrong.not much need for JAXB2, as we now use much less stack.use the isGlobal method, which always returns the opposite of this function. Or the isLocal method.this method allocates a new array every time, so it could be inefficient when working with a large schema. UseXSElementDecl.getSubstitutables()instead.Since this method always returns null, if you are calling this method from and not fromXSComponent, there's something wrong with your code.
-
Deprecated Constructors