|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.cinnamon.config.shared.AbstractClassMappingParser
public abstract class AbstractClassMappingParser
Abstract base class containing parsing logic for class mapping configuration. Will be used in the default XML configuration parser and the Spring NamespaceHandler.
| Constructor Summary | |
|---|---|
AbstractClassMappingParser()
|
|
| Method Summary | |
|---|---|
protected abstract void |
addBeanClassMapping(String alias,
String asClass,
Class<?> javaClass,
Class<? extends MappedObjectFactory<?>> javaFactory,
Set<String> omittedSet)
Adds a bean class mapping to the configuration. |
protected abstract void |
addExternalizableClassMapping(String alias,
String asClass,
Class<?> javaClass,
Class<? extends MappedObjectFactory<?>> javaFactory,
Class<? extends Externalizer<?,?>> externalizer)
Adds an externalizable class mapping to the configuration. |
void |
process(ElementWrapper element,
boolean externalizable)
Processes the given XML element representing a single class mapping configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractClassMappingParser()
| Method Detail |
|---|
public void process(ElementWrapper element,
boolean externalizable)
element - the wrapper for the XML elementexternalizable - whether this is an externalizable class mapping or a bean class mapping
protected abstract void addBeanClassMapping(String alias,
String asClass,
Class<?> javaClass,
Class<? extends MappedObjectFactory<?>> javaFactory,
Set<String> omittedSet)
alias - the alias for the mapping as registered in ActionScript with registerClassAlias
or the [RemoteClass] metadata tagasClass - the fully qualified name of the ActionScript classjavaClass - the Java classjavaFactory - the (optional) Java factoryomittedSet - a set of property names to exclude from the mapping
protected abstract void addExternalizableClassMapping(String alias,
String asClass,
Class<?> javaClass,
Class<? extends MappedObjectFactory<?>> javaFactory,
Class<? extends Externalizer<?,?>> externalizer)
alias - the alias for the mapping as registered in ActionScript with registerClassAlias
or the [RemoteClass] metadata tagasClass - the fully qualified name of the ActionScript classjavaClass - the Java classjavaFactory - the (optional) Java factoryexternalizer - the (optional) Externalizer implementation to use for this mapping
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||