|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.lib.meta.XMLMetaDataSerializer
org.apache.openjpa.lib.meta.CFMetaDataSerializer
public abstract class CFMetaDataSerializer
Helps serialize metadata objects to package and class elements.
CFMetaDataParser
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.lib.meta.MetaDataSerializer |
---|
APPEND, COMPACT, PRETTY, VERBOSE |
Constructor Summary | |
---|---|
CFMetaDataSerializer()
|
Method Summary | |
---|---|
protected String |
getClassName(String name)
Returns the given class name, stripping the package if it is not needed. |
protected String |
getPackage()
The default package for objects being serialized. |
protected String |
getPackage(Object obj)
Return the package name of the given object, or null if not in a package. |
protected Map |
groupByPackage(Collection objs)
Helper method to group objects by package. |
protected void |
setPackage(String pkg)
The default package for objects being serialized. |
Methods inherited from class org.apache.openjpa.lib.meta.XMLMetaDataSerializer |
---|
addAttribute, addComments, addComments, addText, currentBackupFile, endElement, getAttributes, getFileMap, getLog, getObjects, getSourceFile, isVerbose, prepareWrite, reset, serialize, serialize, serialize, serialize, serialize, serialize, serialize, setLog, startElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CFMetaDataSerializer()
Method Detail |
---|
protected String getPackage()
protected void setPackage(String pkg)
protected Map groupByPackage(Collection objs) throws SAXException
SAXException
protected String getPackage(Object obj)
groupByPackage(java.util.Collection)
. Returns null by default.
protected String getClassName(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation is deprecated and will be removed in the next release of WebLogic Server.