Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    com.sun.codemodel.JAnnotationArrayMember.param(JAnnotationUse)
    use JAnnotationArrayMember.annotate(java.lang.Class<? extends java.lang.annotation.Annotation>)
    com.sun.xml.xsom.impl.scd.SimpleCharStream.getColumn()
     
    com.sun.xml.xsom.impl.scd.SimpleCharStream.getLine()
     
  • Deprecated Interfaces
    Interface
    Description
    com.sun.tools.ws.api.wsdl.TWSDLExtensible
    This interface is deprecated, will be removed in JAX-WS 2.2 RI.
    com.sun.tools.ws.api.wsdl.TWSDLExtension
    This interface is deprecated, will be removed in JAX-WS 2.2 RI.
    com.sun.tools.ws.api.wsdl.TWSDLOperation
    This interface is deprecated, will be removed in JAX-WS 2.2 RI.
    com.sun.tools.ws.api.wsdl.TWSDLParserContext
    This interface is deprecated, will be removed in JAX-WS 2.2 RI.
  • Deprecated Classes
    Class
    Description
    com.sun.tools.ws.api.TJavaGeneratorExtension
    This class is deprecated, will be removed in JAX-WS 2.2 RI.
    com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler
    This class is deprecated, will be removed in JAX-WS 2.2 RI.
    com.sun.xml.xsom.impl.parser.SAXParserFactoryAdaptor
     
  • Deprecated Methods
    Method
    Description
    com.sun.codemodel.JAnnotationArrayMember.param(JAnnotationUse)
    use JAnnotationArrayMember.annotate(java.lang.Class<? extends java.lang.annotation.Annotation>)
    com.sun.codemodel.JAnnotationUse.annotate(Class<? extends Annotation>)
    use JAnnotationArrayMember.annotate(java.lang.Class<? extends java.lang.annotation.Annotation>)
    com.sun.codemodel.JClass.boxify()
    com.sun.codemodel.JClassContainer._class(int, String, boolean)
    use JClassContainer._class(int, String, ClassType)
    com.sun.codemodel.JCodeModel.newAnonymousClass(JClass)
    The naming convention doesn't match the rest of the CodeModel. Use JCodeModel.anonymousClass(JClass) instead.
    com.sun.codemodel.JDefinedClass._class(int, String, boolean)
     
    com.sun.codemodel.JPackage._class(int, String, boolean)
     
    com.sun.codemodel.JPrimitiveType.getWrapperClass()
    Use JPrimitiveType.boxify().
    com.sun.codemodel.JPrimitiveType.unboxify()
    com.sun.tools.rngom.parse.compact.JavaCharStream.getColumn()
     
    com.sun.tools.rngom.parse.compact.JavaCharStream.getLine()
     
    com.sun.tools.rngom.parse.compact.UCode_UCodeESC_CharStream.getColumn()
     
    com.sun.tools.rngom.parse.compact.UCode_UCodeESC_CharStream.getLine()
     
    com.sun.tools.ws.wscompile.Options.addGeneratedFile(File)
    Use Options.addGeneratedFile(javax.tools.FileObject) instead.
    com.sun.tools.xjc.api.JAXBModel.getClassList()
    this method is provided for now to allow gradual migration for JAX-RPC.
    com.sun.tools.xjc.api.SchemaCompiler.getOptions()
    This method is not really "deprecated" (in the sense of being removed from future versions), but the JAXB team is not committed to evolve Options class in the compatible fashion. So please don't use this method unless you know what you're doing.
    com.sun.tools.xjc.model.CArrayInfo.getInfo()
    com.sun.tools.xjc.model.CBuiltinLeafInfo.asElement()
    always return null at this level.
    com.sun.tools.xjc.model.CBuiltinLeafInfo.canBeReferencedByIDREF()
    why are you calling a method whose return value is always known?
    com.sun.tools.xjc.model.CBuiltinLeafInfo.getAdapterUse()
    com.sun.tools.xjc.model.CBuiltinLeafInfo.getElementName()
    always return null at this level.
    com.sun.tools.xjc.model.CBuiltinLeafInfo.getInfo()
    com.sun.tools.xjc.model.CBuiltinLeafInfo.isCollection()
    com.sun.tools.xjc.model.CBuiltinLeafInfo.isElement()
    always return false at this level.
    com.sun.tools.xjc.model.CClassInfo.getInfo()
    com.sun.tools.xjc.model.CClassInfo.isFinal()
    if you are calling this method directly, you must be doing something wrong.
    com.sun.tools.xjc.model.CClassRef.getInfo()
    com.sun.tools.xjc.model.CElementInfo.getType()
    why are you calling a method that returns this?
    com.sun.tools.xjc.model.CElementPropertyInfo.getXmlName()
    com.sun.tools.xjc.model.CEnumLeafInfo.canBeReferencedByIDREF()
    why are you calling the method whose return value is known?
    com.sun.tools.xjc.model.CEnumLeafInfo.getAdapterUse()
    com.sun.tools.xjc.model.CEnumLeafInfo.getInfo()
    com.sun.tools.xjc.model.CEnumLeafInfo.isCollection()
    com.sun.tools.xjc.model.CNonElement.getAdapterUse()
    com.sun.tools.xjc.model.CNonElement.getInfo()
    com.sun.tools.xjc.model.CNonElement.isCollection()
    com.sun.tools.xjc.model.CPropertyInfo.getName()
    marked as deprecated so that we can spot the use of this method.
    com.sun.tools.xjc.model.CReferencePropertyInfo.getXmlName()
    com.sun.tools.xjc.model.Model.getLocator()
    No line number available for the "root" component.
    com.sun.tools.xjc.model.Model.getSchemaComponent()
    Always return null. Perhaps you are interested in Model.schemaComponent?
    com.sun.tools.xjc.model.nav.NavigatorImpl.isFinal(NClass)
    no class generated by XJC is final.
    com.sun.tools.xjc.reader.gbind.Element.iterator()
    if you statically call this method, there's something wrong.
    com.sun.tools.xjc.XJCBase.setStackSize(String)
    not much need for JAXB2, as we now use much less stack.
    com.sun.xml.xsom.impl.ElementDecl.listSubstitutables()
     
    com.sun.xml.xsom.impl.scd.SimpleCharStream.getColumn()
     
    com.sun.xml.xsom.impl.scd.SimpleCharStream.getLine()
     
    com.sun.xml.xsom.XSDeclaration.isAnonymous()
    use the isGlobal method, which always returns the opposite of this function. Or the isLocal method.
    com.sun.xml.xsom.XSElementDecl.listSubstitutables()
    this method allocates a new array every time, so it could be inefficient when working with a large schema. Use XSElementDecl.getSubstitutables() instead.
    com.sun.xml.xsom.XSSchema.getSourceDocument()
    Since this method always returns null, if you are calling this method from and not from XSComponent, there's something wrong with your code.
  • Deprecated Constructors
    Constructor
    Description
    com.sun.tools.xjc.reader.xmlschema.bindinfo.BIConversion(Locator)

Copyright © 2005–2022 Eclipse Foundation. All rights reserved.