public abstract class CFMetaDataSerializer extends XMLMetaDataSerializer
CFMetaDataParser
APPEND, COMPACT, PRETTY, VERBOSE
Constructor and Description |
---|
CFMetaDataSerializer() |
Modifier and Type | Method and Description |
---|---|
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<String,Collection<Object>> |
groupByPackage(Collection<Object> objs)
Helper method to group objects by package.
|
protected void |
setPackage(String pkg)
The default package for objects being serialized.
|
addAttribute, addComments, addComments, addText, currentBackupFile, endElement, getAttributes, getFileMap, getLog, getObjects, getSourceFile, isVerbose, prepareWrite, reset, serialize, serialize, serialize, serialize, serialize, serialize, serialize, setLog, startElement
protected String getPackage()
protected void setPackage(String pkg)
protected Map<String,Collection<Object>> groupByPackage(Collection<Object> objs) throws SAXException
SAXException
protected String getPackage(Object obj)
groupByPackage(java.util.Collection<java.lang.Object>)
. Returns null by default.Copyright © 2006–2018 Apache Software Foundation. All rights reserved.