|
Deprecated Methods |
com.sun.codemodel.JPackage._class(int, String, boolean)
|
com.sun.codemodel.JDefinedClass._class(int, String, boolean)
|
com.sun.codemodel.JClassContainer._class(int, String, boolean)
use JClassContainer._class(int, String, ClassType) |
com.sun.org.apache.xml.internal.resolver.CatalogManager.allowOasisXMLCatalogPI()
No longer static; use get/set methods. |
com.sun.codemodel.JAnnotationUse.annotate(Class extends Annotation>)
use JAnnotationArrayMember.annotate(java.lang.Class extends java.lang.annotation.Annotation>) |
com.sun.xml.bind.v2.model.impl.BuiltinLeafInfoImpl.asElement()
always return null at this level. |
com.sun.codemodel.JClass.boxify()
calling this method from JClass
would be meaningless, since it's always guaranteed to
return this. |
com.sun.xml.bind.v2.model.impl.ArrayInfoImpl.canBeReferencedByIDREF()
why are you calling a method whose return value is always known? |
com.sun.org.apache.xml.internal.resolver.CatalogManager.catalogClassName()
No longer static; use get/set methods. |
com.sun.org.apache.xml.internal.resolver.CatalogManager.catalogFiles()
No longer static; use get/set methods. |
org.jvnet.ws.message.MessageContextFactory.create(ClassLoader...)
|
org.jvnet.ws.message.MessageContextFactory.create(SOAPMessage, ClassLoader...)
|
org.jvnet.ws.message.MessageContextFactory.create(Source, SOAPVersion, ClassLoader...)
|
com.sun.xml.bind.v2.ContextFactory.createContext(Class[], Collection, Map, String, boolean, RuntimeAnnotationReader, boolean, boolean, boolean)
use createContext(Class[] classes, Map properties) method instead |
com.sun.xml.bind.v2.ContextFactory.createContext(Class[], Collection, Map, String, boolean, RuntimeAnnotationReader, boolean, boolean, boolean, boolean)
use createContext( Class[] classes, Map properties) method instead |
org.jvnet.ws.message.BasePropertySet.createMapView()
use newer implementation PropertySet.asMap() which produces
readwrite BasePropertySet.PropertyMap |
org.jvnet.ws.message.PropertySet.createMapView()
use newer implementation BasePropertySet.asMap() which produces
readwrite Map |
org.jvnet.ws.message.MessageContextFactory.doCreate()
|
org.jvnet.ws.message.MessageContextFactory.doCreate(SOAPMessage)
|
org.jvnet.ws.message.MessageContextFactory.doCreate(Source, SOAPVersion)
|
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.expectText()
|
com.sun.xml.messaging.saaj.packaging.mime.util.ASCIIUtility.getBytes(InputStream)
this is an expensive operation that require an additional
buffer reallocation just to get the array of an exact size.
Unless you absolutely need the exact size array, don't use this.
Use ByteOutputStream and ByteOutputStream.write(InputStream). |
com.sun.xml.bind.v2.runtime.XMLSerializer.getCachedBase64DataInstance()
Base64Data is no longer cached, so that
XMLStreamWriterEx impl can retain the data, like JAX-WS does. |
com.sun.xml.xsom.impl.scd.SimpleCharStream.getColumn()
|
org.kohsuke.rngom.parse.compact.UCode_UCodeESC_CharStream.getColumn()
|
org.kohsuke.rngom.parse.compact.JavaCharStream.getColumn()
|
com.sun.xml.bind.v2.model.impl.BuiltinLeafInfoImpl.getElementName()
always return null at this level. |
org.jvnet.fastinfoset.FastInfosetParser.getExternalVocabularies()
The map returned will not be the same instance and contain
the same entries as the map set by FastInfosetParser.setExternalVocabularies(java.util.Map)
method. |
org.codehaus.stax2.XMLStreamReader2.getFeature(String)
Should use XMLStreamReader.getProperty(java.lang.String) instead |
com.sun.xml.bind.marshaller.DataWriter.getIndentStep()
Only return the length of the indent string. |
com.sun.xml.txw2.output.IndentingXMLStreamWriter.getIndentStep()
Only return the length of the indent string. |
com.sun.xml.txw2.output.IndentingXMLFilter.getIndentStep()
Only return the length of the indent string. |
com.sun.xml.txw2.output.DataWriter.getIndentStep()
Only return the length of the indent string. |
com.sun.xml.xsom.impl.scd.SimpleCharStream.getLine()
|
org.kohsuke.rngom.parse.compact.UCode_UCodeESC_CharStream.getLine()
|
org.kohsuke.rngom.parse.compact.JavaCharStream.getLine()
|
com.sun.codemodel.JMethod.getMods()
use JMethod.mods() |
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.getPredictor()
|
com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getScope()
you shouldn't be invoking this method on ClassInfoImpl. |
org.jvnet.ws.message.MessageContext.getSOAPMessage()
use getAsSOAPMessage |
com.sun.xml.xsom.XSSchema.getSourceDocument()
Since this method always returns null, if you are calling
this method from XSSchema and not from XSComponent,
there's something wrong with your code. |
com.sun.xml.fastinfoset.stax.StAXDocumentParser.getTextAlgorithmBytes()
was deprecated due to security reasons. Now the method return cloned byte[]. |
com.sun.codemodel.JPrimitiveType.getWrapperClass()
Use JPrimitiveType.boxify(). |
com.sun.org.apache.xml.internal.resolver.CatalogManager.ignoreMissingProperties(boolean)
No longer static; use get/set methods. |
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.bind.v2.model.impl.BuiltinLeafInfoImpl.isElement()
always return false at this level. |
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.isValidating()
since 2.0 |
com.sun.xml.xsom.impl.ElementDecl.listSubstitutables()
|
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.codemodel.JCodeModel.newAnonymousClass(JClass)
The naming convention doesn't match the rest of the CodeModel.
Use JCodeModel.anonymousClass(JClass) instead. |
com.sun.xml.bind.api.JAXBRIContext.newInstance(Class[], Collection, String, boolean)
Compatibility with older versions. |
com.sun.codemodel.JAnnotationArrayMember.param(JAnnotationUse)
use JAnnotationArrayMember.annotate(java.lang.Class extends java.lang.annotation.Annotation>) |
com.sun.xml.bind.unmarshaller.DOMScanner.parse(Element, ContentHandler)
in JAXB 2.0
Use DOMScanner.scan(Element) |
com.sun.xml.bind.DatatypeConverterImpl.parseAnySimpleType(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseBase64Binary(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseBoolean(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseByte(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseDate(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseDateTime(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseDecimal(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseDouble(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseFloat(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseHexBinary(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseInt(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseInteger(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseLong(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseQName(String, NamespaceContext)
|
com.sun.xml.bind.DatatypeConverterImpl.parseShort(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseString(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseTime(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseUnsignedInt(String)
|
com.sun.xml.bind.DatatypeConverterImpl.parseUnsignedShort(String)
|
com.sun.xml.bind.unmarshaller.DOMScanner.parseWithContext(Element, ContentHandler)
in JAXB 2.0
Use DOMScanner.scan(Element) |
com.sun.org.apache.xml.internal.resolver.CatalogManager.preferPublic()
No longer static; use get/set methods. |
com.sun.xml.bind.DatatypeConverterImpl.printAnySimpleType(String)
|
com.sun.xml.bind.DatatypeConverterImpl.printBase64Binary(byte[])
|
com.sun.xml.bind.DatatypeConverterImpl.printBoolean(boolean)
|
com.sun.xml.bind.DatatypeConverterImpl.printByte(byte)
|
com.sun.xml.bind.DatatypeConverterImpl.printDate(Calendar)
|
com.sun.xml.bind.DatatypeConverterImpl.printDateTime(Calendar)
|
com.sun.xml.bind.DatatypeConverterImpl.printDecimal(BigDecimal)
|
com.sun.xml.bind.DatatypeConverterImpl.printDouble(double)
|
com.sun.xml.bind.DatatypeConverterImpl.printFloat(float)
|
com.sun.xml.bind.DatatypeConverterImpl.printHexBinary(byte[])
|
com.sun.xml.bind.DatatypeConverterImpl.printInt(int)
|
com.sun.xml.bind.DatatypeConverterImpl.printInteger(BigInteger)
|
com.sun.xml.bind.DatatypeConverterImpl.printLong(long)
|
com.sun.xml.bind.DatatypeConverterImpl.printQName(QName, NamespaceContext)
|
com.sun.xml.bind.DatatypeConverterImpl.printShort(short)
|
com.sun.xml.bind.DatatypeConverterImpl.printString(String)
|
com.sun.xml.bind.DatatypeConverterImpl.printTime(Calendar)
|
com.sun.xml.bind.DatatypeConverterImpl.printUnsignedInt(long)
|
com.sun.xml.bind.DatatypeConverterImpl.printUnsignedShort(int)
|
com.sun.xml.stream.buffer.sax.SAXBufferProcessor.process(XMLStreamBuffer)
Use SAXBufferProcessor.process(XMLStreamBuffer, boolean) |
com.sun.xml.stream.buffer.XMLStreamBuffer.readAsXMLReader()
Use XMLStreamBuffer.readAsXMLReader(boolean) |
com.sun.org.apache.xml.internal.resolver.CatalogManager.relativeCatalogs()
No longer static; use get/set methods. |
com.sun.xml.stream.buffer.AbstractProcessor.setBuffer(XMLStreamBuffer)
Use AbstractProcessor.setBuffer(XMLStreamBuffer, boolean) |
org.codehaus.stax2.XMLStreamReader2.setFeature(String, Object)
Should use XMLStreamReader2.setProperty(java.lang.String, java.lang.Object) instead |
com.sun.xml.bind.marshaller.DataWriter.setIndentStep(int)
Should use the version that takes string. |
com.sun.xml.txw2.output.IndentingXMLStreamWriter.setIndentStep(int)
Should use the version that takes string. |
com.sun.xml.txw2.output.IndentingXMLFilter.setIndentStep(int)
Should use the version that takes string. |
com.sun.xml.txw2.output.DataWriter.setIndentStep(int)
Should use the version that takes string. |
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.setValidating(boolean)
since 2.0 |
com.sun.xml.stream.buffer.sax.SAXBufferProcessor.setXMLStreamBuffer(XMLStreamBuffer)
Use SAXBufferProcessor.setXMLStreamBuffer(XMLStreamBuffer, boolean). |
com.sun.xml.stream.buffer.stax.StreamWriterBufferProcessor.setXMLStreamBuffer(XMLStreamBuffer)
Use StreamWriterBufferProcessor.setXMLStreamBuffer(XMLStreamBuffer, boolean) |
com.sun.org.apache.xml.internal.resolver.CatalogManager.staticCatalog()
No longer static; use get/set methods. |
com.sun.xml.messaging.saaj.util.ByteOutputStream.toByteArray()
because this is evil! |
com.sun.codemodel.JPrimitiveType.unboxify()
calling this method from JPrimitiveType
would be meaningless, since it's always guaranteed to
return this. |
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(SAXSource)
|
com.sun.org.apache.xml.internal.resolver.CatalogManager.verbosity()
No longer static; use get/set methods. |
com.sun.xml.stream.buffer.XMLStreamBuffer.writeTo(ContentHandler)
Use XMLStreamBuffer.writeTo(ContentHandler,boolean) |
com.sun.xml.stream.buffer.XMLStreamBuffer.writeToXMLStreamWriter(XMLStreamWriter)
Use XMLStreamBuffer.writeToXMLStreamWriter(XMLStreamWriter, boolean) |