-
Deprecated ClassesClassDescriptionin JAXB 2.2.4 - use javax.xml.bind.DatatypeConverterImpl instead or let us know why you can't
-
Deprecated Annotation TypesAnnotation TypeDescriptionthis hasn't been implemented in the RI, and this hasn't been speced yet. I believe Joe asked for this feature. I'd like to drop this.
-
Deprecated FieldsFieldDescriptiononly used from 1.0use ERR_MISSING_OBJECT2only used from 1.0Use javax.xml.XMLConstants.XML_NS_URI instead;Use javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI instead;Use javax.xml.XMLConstants.W3C_XML_SCHEMA_INSTANCE_NS_URI instead
-
Deprecated MethodsMethodDescriptioncalling this method from
JClass
would be meaningless, since it's always guaranteed to returnthis
.The naming convention doesn't match the rest of the CodeModel. UseJCodeModel.anonymousClass(JClass)
instead.useJMethod.mods()
calling this method fromJPrimitiveType
would be meaningless, since it's always guaranteed to returnthis
.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 evolveOptions
class 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.OverrideXJCListener.generatedFile(String, int, int)
. Deprecated in 2.0.1.Compatibility with older versions.Only return the length of the indent string.Should use the version that takes string.in JAXB 2.0 UseDOMScanner.scan(Element)
in JAXB 2.0 UseDOMScanner.scan(Element)
usecreateContext(Class[] classes, Map<String,Object> properties)
method insteadusecreateContext( Class[] classes, Map<String,Object> properties)
method insteadwhy are you calling a method whose return value is always known?always return null at this level.always return null at this level.always return false at this level.you shouldn't be invoking this method onClassInfoImpl
.since 2.0since 2.0Base64Data
is no longer cached, so that XMLStreamWriterEx impl can retain the data, like JAX-WS does.Only return the length of the indent string.Should use the version that takes string.Only return the length of the indent string.Should use the version that takes string.Only return the length of the indent string.Should use the version that takes string.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 fromXSSchema
and not fromXSComponent
, there's something wrong with your code.
-
Deprecated ConstructorsConstructorDescriptionUnsafe, use JAXPParser(factory) instead with security features initialized by setting XMLConstants.FEATURE_SECURE_PROCESSING feature.Unsafe, use XSOMParser(factory) instead with security features initialized by setting XMLConstants.FEATURE_SECURE_PROCESSING feature.
Bridge
has methods that can work withoutBridgeContext
.