|
Deprecated Methods |
com.sun.xml.bind.v2.model.impl.BuiltinLeafInfoImpl.asElement()
always return null at this level. |
com.sun.xml.bind.v2.model.impl.ArrayInfoImpl.canBeReferencedByIDREF()
why are you calling a method whose return value is always known? |
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.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.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.bind.marshaller.DataWriter.getIndentStep()
Only return the length of the indent string. |
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. |
com.sun.xml.fastinfoset.stax.StAXDocumentParser.getTextAlgorithmBytes()
was deprecated due to security reasons. Now the method return cloned byte[]. |
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.bind.api.JAXBRIContext.newInstance(Class[], Collection, String, boolean)
Compatibility with older versions. |
com.sun.xml.bind.unmarshaller.DOMScanner.parse(Element, ContentHandler)
in JAXB 2.0
Use DOMScanner.scan(Element) |
com.sun.xml.bind.unmarshaller.DOMScanner.parseWithContext(Element, ContentHandler)
in JAXB 2.0
Use DOMScanner.scan(Element) |
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.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.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.marshaller.DataWriter.setIndentStep(int)
Should use the version that takes string. |
com.sun.xml.wss.saml.Assertion.setMajorVersion(BigInteger)
Set the saml major version for SAML1.0 and SAML1.1 |
com.sun.xml.wss.saml.Assertion.setMinorVersion(BigInteger)
Set the saml minor version for SAML1.0 and SAML1.1 |
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.setValidating(boolean)
since 2.0 |
com.sun.xml.wss.saml.Assertion.setVersion(String)
Set the saml version for SAML2.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.xml.messaging.saaj.util.ByteOutputStream.toByteArray()
because this is evil! |
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(SAXSource)
|
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) |