Create container field descriptor. The contained mapping is used to create a single field descriptor which includes several field descriptors for all contained fields.
- Parameters:
-
| javaClass | The class to which the field belongs |
| fieldMap | The field mapping |
- Exceptions:
-
| MappingException | An exception indicating why mapping for the class cannot be created Creates a single field descriptor. The field mapping is used to create a new stock FieldDescriptor. Implementations may extend this class to create a more suitable descriptor. |
- Parameters:
-
| javaClass | The class to which the field belongs |
| fieldMap | The field mapping information |
- Returns:
- The field descriptor
- Exceptions:
-
| MappingException | The field or its accessor methods are not found, not accessible, not of the specified type, etc |
Reimplemented from org.exolab.castor.mapping.loader.MappingLoader.
References org.exolab.castor.xml.XMLMappingLoader.createDescriptor(), org.exolab.castor.mapping.xml.types.BindXmlAutoNamingType.DERIVEBYCLASS, org.exolab.castor.xml.NodeType.Element, org.exolab.castor.mapping.xml.BindXml.getAutoNaming(), org.exolab.castor.mapping.xml.BindXml.getClassMapping(), org.exolab.castor.mapping.FieldDescriptor.getFieldName(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.getFieldType(), org.exolab.castor.mapping.FieldDescriptor.getFieldType(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.getHandler(), org.exolab.castor.mapping.xml.BindXml.getLocation(), org.exolab.castor.mapping.xml.BindXml.getMatches(), org.exolab.castor.mapping.xml.PropertyType.getName(), org.exolab.castor.mapping.xml.BindXml.getName(), org.exolab.castor.mapping.xml.BindXml.getNode(), org.exolab.castor.xml.NodeType.getNodeType(), org.exolab.castor.mapping.xml.BindXml.getProperty(), org.exolab.castor.mapping.xml.BindXml.getQNamePrefix(), org.exolab.castor.mapping.xml.BindXml.getReference(), org.exolab.castor.mapping.xml.BindXml.getTransient(), org.exolab.castor.mapping.xml.BindXml.getType(), org.exolab.castor.mapping.xml.PropertyType.getValue(), org.exolab.castor.mapping.xml.types.CollectionType.HASHTABLE, org.exolab.castor.xml.util.XMLFieldDescriptorImpl.isMapped(), org.exolab.castor.mapping.FieldDescriptor.isTransient(), org.exolab.castor.mapping.xml.types.CollectionType.MAP, org.exolab.castor.xml.NodeType.Namespace, org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setClassDescriptor(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setConstructorArgumentIndex(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setContainer(), org.exolab.castor.mapping.loader.FieldHandlerImpl.setConvertFrom(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setHandler(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setImmutable(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setLocationPath(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setMapped(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setMatches(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setNameSpaceURI(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setProperty(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setQNamePrefix(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setReference(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setSchemaType(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setTransient(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setUseParentsNamespace(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setValidator(), org.exolab.castor.xml.util.XMLFieldDescriptorImpl.setXMLName(), org.exolab.castor.xml.XMLNaming.toXMLName(), and org.exolab.castor.mapping.xml.types.CollectionType.valueOf().