Interface AnyCollectionMapping<ABSTRACT_SESSION extends CoreAbstractSession,ATTRIBUTE_ACCESSOR extends CoreAttributeAccessor,CONTAINER_POLICY extends CoreContainerPolicy,CONVERTER extends CoreConverter,DESCRIPTOR extends CoreDescriptor,FIELD extends CoreField,MARSHALLER extends Marshaller,SESSION extends CoreSession,UNMARSHAL_KEEP_AS_ELEMENT_POLICY extends UnmarshalKeepAsElementPolicy,UNMARSHALLER extends Unmarshaller,XML_RECORD extends XMLRecord>
-
- All Superinterfaces:
Mapping<ABSTRACT_SESSION,ATTRIBUTE_ACCESSOR,CONTAINER_POLICY,DESCRIPTOR,FIELD,XML_RECORD>,XMLContainerMapping,XMLConverterMapping<MARSHALLER,SESSION,UNMARSHALLER>
- All Known Implementing Classes:
XMLAnyCollectionMapping
public interface AnyCollectionMapping<ABSTRACT_SESSION extends CoreAbstractSession,ATTRIBUTE_ACCESSOR extends CoreAttributeAccessor,CONTAINER_POLICY extends CoreContainerPolicy,CONVERTER extends CoreConverter,DESCRIPTOR extends CoreDescriptor,FIELD extends CoreField,MARSHALLER extends Marshaller,SESSION extends CoreSession,UNMARSHAL_KEEP_AS_ELEMENT_POLICY extends UnmarshalKeepAsElementPolicy,UNMARSHALLER extends Unmarshaller,XML_RECORD extends XMLRecord> extends Mapping<ABSTRACT_SESSION,ATTRIBUTE_ACCESSOR,CONTAINER_POLICY,DESCRIPTOR,FIELD,XML_RECORD>, XMLContainerMapping, XMLConverterMapping<MARSHALLER,SESSION,UNMARSHALLER>
-
-
Field Summary
-
Fields inherited from interface org.eclipse.persistence.internal.oxm.mappings.XMLContainerMapping
EMPTY_CONTAINER_DEFAULT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UNMARSHAL_KEEP_AS_ELEMENT_POLICYgetKeepAsElementPolicy()booleanisMixedContent()booleanisWhitespacePreservedForMixedContent()voidsetConverter(CONVERTER conv)voidsetField(FIELD field)voidsetIsWriteOnly(boolean b)voidsetKeepAsElementPolicy(UNMARSHAL_KEEP_AS_ELEMENT_POLICY unmarshalKeepAsElementPolicy)voidsetMixedContent(boolean mixed)voidsetPreserveWhitespaceForMixedContent(boolean preserveWhitespace)voidsetUseXMLRoot(boolean useXMLRoot)voiduseCollectionClass(java.lang.Class concreteContainerClass)Configure the mapping to use an instance of the specified container class to hold the target objects.booleanusesXMLRoot()-
Methods inherited from interface org.eclipse.persistence.internal.oxm.mappings.Mapping
convertClassNamesToClasses, getAttributeAccessor, getAttributeClassification, getAttributeName, getAttributeValueFromObject, getContainerPolicy, getDescriptor, getField, getReferenceDescriptor, isAbstractCompositeCollectionMapping, isAbstractCompositeDirectCollectionMapping, isAbstractCompositeObjectMapping, isAbstractDirectMapping, isCollectionMapping, isReadOnly, isReferenceMapping, isTransformationMapping, setAttributeAccessor, setAttributeName, setAttributeValueInObject, setGetMethodName, setIsReadOnly, setProperties, setSetMethodName, writeSingleValue
-
Methods inherited from interface org.eclipse.persistence.internal.oxm.mappings.XMLContainerMapping
getReuseContainer, getWrapperNullPolicy, isDefaultEmptyContainer, setDefaultEmptyContainer, setReuseContainer, setWrapperNullPolicy
-
Methods inherited from interface org.eclipse.persistence.internal.oxm.mappings.XMLConverterMapping
convertDataValueToObjectValue, convertObjectValueToDataValue
-
-
-
-
Method Detail
-
getKeepAsElementPolicy
UNMARSHAL_KEEP_AS_ELEMENT_POLICY getKeepAsElementPolicy()
-
isMixedContent
boolean isMixedContent()
-
isWhitespacePreservedForMixedContent
boolean isWhitespacePreservedForMixedContent()
-
setConverter
void setConverter(CONVERTER conv)
-
setKeepAsElementPolicy
void setKeepAsElementPolicy(UNMARSHAL_KEEP_AS_ELEMENT_POLICY unmarshalKeepAsElementPolicy)
-
setField
void setField(FIELD field)
-
setIsWriteOnly
void setIsWriteOnly(boolean b)
-
setMixedContent
void setMixedContent(boolean mixed)
-
setPreserveWhitespaceForMixedContent
void setPreserveWhitespaceForMixedContent(boolean preserveWhitespace)
-
setUseXMLRoot
void setUseXMLRoot(boolean useXMLRoot)
-
useCollectionClass
void useCollectionClass(java.lang.Class concreteContainerClass)
Configure the mapping to use an instance of the specified container class to hold the target objects.jdk1.2.x: The container class must implement (directly or indirectly) the Collection interface.
jdk1.1.x: The container class must be a subclass of Vector.
-
usesXMLRoot
boolean usesXMLRoot()
-
-