Interface AbstractCFMetaDataFactory.Serializer
- All Superinterfaces:
MetaDataSerializer
- All Known Implementing Classes:
AnnotationPersistenceMappingSerializer, AnnotationPersistenceMetaDataSerializer, XMLPersistenceMappingSerializer, XMLPersistenceMetaDataSerializer
- Enclosing class:
AbstractCFMetaDataFactory
Internal serializer interface.
- Since:
- 0.4.0
- Author:
- Abe White
-
Field Summary
Fields inherited from interface MetaDataSerializer
APPEND, COMPACT, PRETTY, VERBOSE -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAll(MetaDataRepository repos) Add all components in the given repository to the set to be serialized.voidaddMetaData(ClassMetaData meta) Add a class meta data to the set to be serialized.voidAdd a query meta data to the set to be serialized.voidAdd a sequence meta data to the set to be serialized.booleanremoveMetaData(ClassMetaData meta) Remove a class meta data from the set to be serialized.voidsetMode(int mode) The serialization mode according to the expected document type.Methods inherited from interface MetaDataSerializer
serialize, serialize, serialize, serialize
-
Method Details
-
setMode
void setMode(int mode) The serialization mode according to the expected document type. The mode constants act as bit flags, and therefore can be combined. -
addMetaData
Add a class meta data to the set to be serialized. -
removeMetaData
Remove a class meta data from the set to be serialized. -
addSequenceMetaData
Add a sequence meta data to the set to be serialized. -
addQueryMetaData
Add a query meta data to the set to be serialized. -
addAll
Add all components in the given repository to the set to be serialized.
-