Uses of Interface
org.eclipse.persistence.internal.oxm.mappings.Descriptor
Package
Description
-
Uses of Descriptor in org.eclipse.persistence.exceptions
Modifier and TypeMethodDescriptionstatic XMLMarshalException
XMLMarshalException.defaultRootElementNotSpecified
(Descriptor descriptor) -
Uses of Descriptor in org.eclipse.persistence.internal.oxm
Modifier and TypeClassDescriptionclass
Context<ABSTRACT_SESSION extends CoreAbstractSession,
DESCRIPTOR extends Descriptor<?, ?, ?, ?, ?, NAMESPACE_RESOLVER, ?, ?, ?, ?>, FIELD extends Field, NAMESPACE_RESOLVER extends NamespaceResolver, PROJECT extends CoreProject, SESSION extends CoreSession, SESSION_EVENT_LISTENER extends CoreSessionEventListener> static class
Context.ContextState<ABSTRACT_SESSION extends CoreAbstractSession,
DESCRIPTOR extends Descriptor, PROJECT extends CoreProject, SESSION extends CoreSession, SESSION_EVENT_LISTENER extends CoreSessionEventListener> class
Unmarshaller<ABSTRACT_SESSION extends CoreAbstractSession,
CONTEXT extends Context, DESCRIPTOR extends Descriptor, ID_RESOLVER extends IDResolver, MEDIA_TYPE extends MediaType, ROOT extends Root, UNMARSHALLER_HANDLER extends UnmarshallerHandler, UNMARSHALLER_LISTENER extends Unmarshaller.Listener> class
XMLMarshaller<ABSTRACT_SESSION extends CoreAbstractSession,
CHARACTER_ESCAPE_HANDLER extends CharacterEscapeHandler, CONTEXT extends Context<ABSTRACT_SESSION, DESCRIPTOR, ?, ?, ?, SESSION, ?>, DESCRIPTOR extends Descriptor<?, ?, ?, ?, ?, ?, ?, ?, ?, ?>, MARSHALLER_LISTENER extends Marshaller.Listener, MEDIA_TYPE extends MediaType, NAMESPACE_PREFIX_MAPPER extends NamespacePrefixMapper, OBJECT_BUILDER extends ObjectBuilder<?, ABSTRACT_SESSION, ?, XMLMarshaller>, SESSION extends CoreSession> class
XMLUnmarshaller<ABSTRACT_SESSION extends CoreAbstractSession,
CONTEXT extends Context, DESCRIPTOR extends Descriptor, ID_RESOLVER extends IDResolver, MEDIA_TYPE extends MediaType, ROOT extends Root, UNMARSHALLER_HANDLER extends UnmarshallerHandler, UNMARSHALLER_LISTENER extends Unmarshaller.Listener> Class used to unmarshal XML & JSON to objects.Modifier and TypeClassDescriptionclass
Purpose:An extnesion of XMLDescriptor that's used for sequened objects.Modifier and TypeMethodDescriptionprotected Descriptor
XMLAnyObjectMappingNodeValue.findReferenceDescriptor
(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy) protected Descriptor
XMLRelationshipMappingNodeValue.findReferenceDescriptor
(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy) protected Descriptor
XMLVariableXPathMappingNodeValue.findReferenceDescriptor
(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy) Modifier and TypeMethodDescriptionObjectBuilder.addExtraNamespacesToNamespaceResolver
(Descriptor desc, AbstractMarshalRecord marshalRecord, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers) TreeObjectBuilder.addExtraNamespacesToNamespaceResolver
(Descriptor desc, AbstractMarshalRecord marshalRecord, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers) XMLObjectBuilder.addExtraNamespacesToNamespaceResolver
(Descriptor desc, AbstractMarshalRecord marshalRecord, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers) XPathObjectBuilder.addExtraNamespacesToNamespaceResolver
(Descriptor desc, AbstractMarshalRecord marshalRecord, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers) protected void
XMLRelationshipMappingNodeValue.addTypeAttribute
(Descriptor descriptor, MarshalRecord marshalRecord, String schemaContext) XMLObjectBuilder.buildIntoNestedRow
(AbstractRecord row, Object originalObject, Object object, AbstractSession session, Descriptor refDesc, Field xmlField, boolean wasXMLRoot) XMLObjectBuilder.buildIntoNestedRow
(AbstractRecord row, Object object, AbstractSession session, Descriptor refDesc, Field xmlField) void
XMLRelationshipMappingNodeValue.processChild
(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Descriptor xmlDescriptor, Mapping mapping) -
Uses of Descriptor in org.eclipse.persistence.internal.oxm.record
Modifier and TypeMethodDescriptionUnmarshalRecord.getDescriptor()
UnmarshalRecordImpl.getDescriptor()
Modifier and TypeMethodDescriptionAbstractMarshalRecord.addExtraNamespacesToNamespaceResolver
(Descriptor descriptor, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers) AbstractMarshalRecordImpl.addExtraNamespacesToNamespaceResolver
(Descriptor descriptor, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers) boolean
AbstractMarshalRecord.addXsiTypeAndClassIndicatorIfRequired
(Descriptor descriptor, Descriptor referenceDescriptor, Field xmlField, boolean isRootElement) boolean
AbstractMarshalRecord.addXsiTypeAndClassIndicatorIfRequired
(Descriptor descriptor, Descriptor referenceDescriptor, Field xmlField, Object originalObject, Object obj, boolean wasXMLRoot, boolean isRootElement) boolean
AbstractMarshalRecordImpl.addXsiTypeAndClassIndicatorIfRequired
(Descriptor descriptor, Descriptor referenceDescriptor, Field xmlField, boolean isRootElement) boolean
AbstractMarshalRecordImpl.addXsiTypeAndClassIndicatorIfRequired
(Descriptor descriptor, Descriptor referenceDescriptor, Field xmlField, Object originalObject, Object obj, boolean wasXMLRoot, boolean isRootElement) INTERNALvoid
AbstractMarshalRecord.writeXsiTypeAttribute
(Descriptor descriptor, String typeUri, String typeLocal, String typePrefix, boolean addToNamespaceResolver) void
AbstractMarshalRecord.writeXsiTypeAttribute
(Descriptor xmlDescriptor, XMLSchemaReference xmlRef, boolean addToNamespaceResolver) void
AbstractMarshalRecordImpl.writeXsiTypeAttribute
(Descriptor descriptor, String typeUri, String typeLocal, String typePrefix, boolean addToNamespaceResolver) void
AbstractMarshalRecordImpl.writeXsiTypeAttribute
(Descriptor xmlDescriptor, XMLSchemaReference xmlRef, boolean addToNamespaceResolver) -
Uses of Descriptor in org.eclipse.persistence.internal.oxm.record.deferred
Modifier and TypeFieldDescriptionprotected Descriptor
CompositeMappingContentHandler.xmlDescriptor
ModifierConstructorDescriptionCompositeCollectionMappingContentHandler
(UnmarshalRecord parentRecord, XMLCompositeCollectionMappingNodeValue aNodeValue, CompositeCollectionMapping aMapping, Attributes atts, XPathFragment aFragment, Descriptor aDescriptor) protected
CompositeMappingContentHandler
(UnmarshalRecord parentRecord, Mapping aMapping, Attributes atts, AbstractNullPolicy aNullPolicy, XPathFragment aFragment, Descriptor aDescriptor) CompositeObjectMappingContentHandler
(UnmarshalRecord parentRecord, XMLCompositeObjectMappingNodeValue aNodeValue, CompositeObjectMapping aMapping, Attributes atts, XPathFragment aFragment, Descriptor aDescriptor) -
Uses of Descriptor in org.eclipse.persistence.internal.oxm.schema
Modifier and TypeMethodDescriptionprotected Descriptor
SchemaModelGenerator.getDescriptorByClass
(Class<?> javaClass, List<Descriptor> descriptors) Return the descriptor from the list whose java class matches javaClass.protected Descriptor
SchemaModelGenerator.getDescriptorByName
(String javaClassName, List<Descriptor> descriptors) Return the descriptor from the list whose java class name matches javaClassName.Modifier and TypeMethodDescriptionprotected ComplexType
SchemaModelGenerator.buildComplexType
(boolean anonymous, Descriptor desc, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors) Create and return a ComplexType for a given XMLDescriptor.protected Element
SchemaModelGenerator.buildElement
(Descriptor desc, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors, boolean simple) Create and return an Element for a given XMLDescriptor.protected SimpleType
SchemaModelGenerator.buildSimpleType
(Descriptor desc, Schema workingSchema, boolean global) Create and return a SimpleType for a given XMLDescriptor.protected QName
SchemaModelGenerator.getDefaultRootElementAsQName
(Descriptor desc, String qualifiedTableName) Return a QName representation of a qualified table name (aka default root element).protected Element
SchemaModelGenerator.handleFragNamespace
(XPathFragment frag, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, Element element, ComplexType ctype, Descriptor refDesc) This method will generate a global element if required (based in URI and elementFormDefault) and set a reference to it on a given element accordingly, or set an anonymous complex type on a given element.protected boolean
SchemaModelGenerator.isComplexTypeWithSimpleContentRequired
(Descriptor desc) Indicates if a complex type with simple content is to be generated.protected boolean
SchemaModelGenerator.isSimple
(Descriptor desc) Determines if a given descriptor contains a direct mapping to "text()" indicating a simple mapping.protected void
SchemaModelGenerator.processDescriptor
(Descriptor desc, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors) Process a given descriptor.protected Element
SchemaModelGenerator.processReferenceDescriptor
(Element element, Descriptor refDesc, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors, Field field, boolean isCollection) Modifier and TypeMethodDescriptionprotected ComplexType
SchemaModelGenerator.buildComplexType
(boolean anonymous, Descriptor desc, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors) Create and return a ComplexType for a given XMLDescriptor.protected Element
SchemaModelGenerator.buildElement
(Descriptor desc, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors, boolean simple) Create and return an Element for a given XMLDescriptor.SchemaModelGenerator.generateSchemas
(List<Descriptor> descriptorsToProcess, SchemaModelGeneratorProperties properties) Generates a Map of EclipseLink schema model Schema objects for a given list of XMLDescriptors.SchemaModelGenerator.generateSchemas
(List<Descriptor> descriptorsToProcess, SchemaModelGeneratorProperties properties, Map<QName, Type> additionalGlobalElements) Generates a Map of EclipseLink schema model Schema objects for a given list of XMLDescriptors.SchemaModelGenerator.generateSchemas
(List<Descriptor> descriptorsToProcess, SchemaModelGeneratorProperties properties, SchemaModelOutputResolver outputResolver) Generates a Map of EclipseLink schema model Schema objects for a given list of XMLDescriptors.SchemaModelGenerator.generateSchemas
(List<Descriptor> descriptorsToProcess, SchemaModelGeneratorProperties properties, SchemaModelOutputResolver outputResolver, Map<QName, Type> additionalGlobalElements) Generates a Map of EclipseLink schema model Schema objects for a given list of XMLDescriptors.protected Descriptor
SchemaModelGenerator.getDescriptorByClass
(Class<?> javaClass, List<Descriptor> descriptors) Return the descriptor from the list whose java class matches javaClass.protected Descriptor
SchemaModelGenerator.getDescriptorByName
(String javaClassName, List<Descriptor> descriptors) Return the descriptor from the list whose java class name matches javaClassName.protected void
SchemaModelGenerator.processDescriptor
(Descriptor desc, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors) Process a given descriptor.protected void
SchemaModelGenerator.processMapping
(CoreMapping mapping, Sequence seq, ComplexType ct, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors) Process a given mapping.protected Element
SchemaModelGenerator.processReferenceDescriptor
(Element element, Descriptor refDesc, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors, Field field, boolean isCollection) protected void
SchemaModelGenerator.processXMLChoiceCollectionMapping
(ChoiceCollectionMapping mapping, Sequence seq, ComplexType ct, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors) Process a given XMLChoiceCollectionMapping.protected void
SchemaModelGenerator.processXMLChoiceObjectMapping
(ChoiceObjectMapping mapping, Sequence seq, ComplexType ct, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors) protected void
SchemaModelGenerator.processXMLCompositeMapping
(CompositeObjectMapping mapping, Sequence seq, ComplexType ct, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors, boolean collection) Process a given XML composite mapping - either an XMLCompositeObjectMapping, or an XMLCompositeCollectionMapping.protected void
SchemaModelGenerator.processXMLObjectReferenceMapping
(ObjectReferenceMapping mapping, Sequence seq, ComplexType ct, HashMap<String, Schema> schemaForNamespace, Schema workingSchema, SchemaModelGeneratorProperties properties, List<Descriptor> descriptors, boolean isCollection) Process a given XMLObjectReferenceMapping. -
Uses of Descriptor in org.eclipse.persistence.jaxb
Modifier and TypeMethodDescriptionTypeMappingInfo.getXmlDescriptor()
INTERNAL Returns the Descriptor associated with this TypeMappingInfo.Modifier and TypeMethodDescriptionvoid
TypeMappingInfo.setXmlDescriptor
(Descriptor xmlDescriptor) INTERNAL Sets the Descriptor associated with this TypeMappingInfo. -
Uses of Descriptor in org.eclipse.persistence.jaxb.compiler
Modifier and TypeMethodDescriptionTypeInfo.getDescriptor()
Return the XmlDescriptor set on this TypeInfo.Modifier and TypeMethodDescriptionMappingsGenerator.generateAnyAttributeMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo) MappingsGenerator.generateAnyCollectionMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo, boolean isMixed) MappingsGenerator.generateAnyObjectMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo) MappingsGenerator.generateBinaryDataCollectionMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo) MappingsGenerator.generateBinaryMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo) MappingsGenerator.generateChoiceCollectionMapping
(Property property, Descriptor descriptor, NamespaceInfo namespace) MappingsGenerator.generateChoiceMapping
(Property property, Descriptor descriptor, NamespaceInfo namespace) MappingsGenerator.generateCollectionMapping
(Property property, Descriptor descriptor, JavaClass descriptorJavaClass, NamespaceInfo namespaceInfo) MappingsGenerator.generateCompositeCollectionMapping
(Property property, Descriptor descriptor, JavaClass javaClass, NamespaceInfo namespaceInfo, String referenceClassName) MappingsGenerator.generateCompositeObjectMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo, String referenceClassName) MappingsGenerator.generateDirectCollectionMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo) MappingsGenerator.generateDirectEnumerationMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo, EnumTypeInfo enumInfo) MappingsGenerator.generateDirectMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo) MappingsGenerator.generateEnumCollectionMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo, EnumTypeInfo info) MappingsGenerator.generateMapping
(Property property, Descriptor descriptor, JavaClass descriptorJavaClass, NamespaceInfo namespaceInfo) Generate a mapping for a given Property.MappingsGenerator.generateMappingForReferenceProperty
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo) void
MappingsGenerator.generateMappings
(TypeInfo info, Descriptor descriptor, JavaClass descriptorJavaClass, NamespaceInfo namespaceInfo) Generate mappings for a given TypeInfo.MappingsGenerator.generateTransformationMapping
(Property property, Descriptor descriptor, NamespaceInfo namespace) Generate an XMLTransformationMapping based on a given Property.MappingsGenerator.generateXMLCollectionReferenceMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo, JavaClass referenceClass) Create an XMLCollectionReferenceMapping and add it to the descriptor.MappingsGenerator.generateXMLObjectReferenceMapping
(Property property, Descriptor descriptor, NamespaceInfo namespaceInfo, JavaClass referenceClass) Create an XMLObjectReferenceMapping and add it to the descriptor.void
TypeInfo.setDescriptor
(Descriptor desc) Set the XmlDescriptor on this TypeInfo. -
Uses of Descriptor in org.eclipse.persistence.oxm
Modifier and TypeClassDescriptionclass
Use an XML project for nontransactional, nonpersistent (in-memory) conversions between Java objects and XML documents.Modifier and TypeMethodDescriptionXMLContext.getDescriptorForObject
(Object object) Returns descriptor for given object.Modifier and TypeMethodDescriptionXMLContext.getDescriptors()
Returns descriptors from all sessions. -
Uses of Descriptor in org.eclipse.persistence.oxm.record
Modifier and TypeMethodDescriptionValidatingMarshalRecord.addExtraNamespacesToNamespaceResolver
(Descriptor descriptor, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers) XMLRecord.addExtraNamespacesToNamespaceResolver
(Descriptor descriptor, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers) INTERNALboolean
ValidatingMarshalRecord.addXsiTypeAndClassIndicatorIfRequired
(Descriptor xmlDescriptor, Descriptor referenceDescriptor, Field xmlField, boolean isRootElement) boolean
ValidatingMarshalRecord.addXsiTypeAndClassIndicatorIfRequired
(Descriptor xmlDescriptor, Descriptor referenceDescriptor, Field xmlField, Object originalObject, Object obj, boolean wasXMLRoot, boolean isRootElement) boolean
XMLRecord.addXsiTypeAndClassIndicatorIfRequired
(Descriptor descriptor, Descriptor referenceDescriptor, Field xmlField, boolean isRootElement) INTERNALboolean
XMLRecord.addXsiTypeAndClassIndicatorIfRequired
(Descriptor descriptor, Descriptor referenceDescriptor, Field xmlField, Object originalObject, Object obj, boolean wasXMLRoot, boolean isRootElement) INTERNALvoid
JsonRecord.marshalWithoutRootElement
(ObjectBuilder treeObjectBuilder, Object object, Descriptor descriptor, Root root, boolean isXMLRoot) INTERNAL:void
JSONWriterRecord.marshalWithoutRootElement
(ObjectBuilder treeObjectBuilder, Object object, Descriptor descriptor, Root root, boolean isXMLRoot) INTERNAL:void
MarshalRecord.marshalWithoutRootElement
(ObjectBuilder treeObjectBuilder, Object object, Descriptor descriptor, Root root, boolean isXMLRoot) INTERNALvoid
ValidatingMarshalRecord.writeXsiTypeAttribute
(Descriptor descriptor, String typeUri, String typeLocal, String typePrefix, boolean addToNamespaceResolver) void
ValidatingMarshalRecord.writeXsiTypeAttribute
(Descriptor xmlDescriptor, XMLSchemaReference xmlRef, boolean addToNamespaceResolver) void
XMLRecord.writeXsiTypeAttribute
(Descriptor descriptor, String typeUri, String typeLocal, String typePrefix, boolean addToNamespaceResolver) INTERNALvoid
XMLRecord.writeXsiTypeAttribute
(Descriptor xmlDescriptor, XMLSchemaReference xmlRef, boolean addToNamespaceResolver) INTERNAL