|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jbeanmapper.configurator.DefaultConfigurator
| Constructor Summary | |
DefaultConfigurator()
|
|
| Method Summary | |
protected PropertyMapping |
createPropertyMapping(java.beans.PropertyDescriptor srcPropertyDescriptor,
java.beans.PropertyDescriptor targetPropertyDescriptor)
Create a property mapping from srcPropertyDescriptor to targetPropertyDescriptor. |
protected org.apache.commons.digester.Digester |
getDigester()
Get the digester for this configurator. |
BeanMapping |
getMapping(java.lang.Class clazz,
java.lang.Class targetClass)
Get a mapping from clazz to targetClass. |
java.util.List |
getMappings(org.xml.sax.InputSource inputSource)
Get a list of mappings from an InputSource. |
protected java.util.List |
getPropertyMappings(java.lang.Class srcClass,
java.lang.Class targetClass)
Get the list of property mappings from srcClass to targetClass. |
boolean |
isValidating()
|
void |
setValidating(boolean validating)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultConfigurator()
| Method Detail |
public java.util.List getMappings(org.xml.sax.InputSource inputSource)
throws BeanMappingException
ConfiguratorInputSource.
getMappings in interface ConfiguratorinputSource - The source.
InputSource.
BeanMappingException - If the mapping is illegal or otherwise fails.
protected org.apache.commons.digester.Digester getDigester()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - If the configuration for the xml parser for the digester fails.
public BeanMapping getMapping(java.lang.Class clazz,
java.lang.Class targetClass)
throws BeanMappingException
Configuratorclazz to targetClass.
getMapping in interface Configuratorclazz - source class.targetClass - target class.
clazz to targetClass.
BeanMappingException - If the mapping is illegal or otherwise fails.
protected java.util.List getPropertyMappings(java.lang.Class srcClass,
java.lang.Class targetClass)
throws java.beans.IntrospectionException
srcClass to targetClass.
srcClass - The source class.targetClass - The target class.
srcClass to targetClass.
java.beans.IntrospectionException - If introspection fails.
protected PropertyMapping createPropertyMapping(java.beans.PropertyDescriptor srcPropertyDescriptor,
java.beans.PropertyDescriptor targetPropertyDescriptor)
throws java.beans.IntrospectionException
srcPropertyDescriptor to targetPropertyDescriptor.
srcPropertyDescriptor - The source property descriptor.targetPropertyDescriptor - The target property descriptor.
srcPropertyDescriptor to targetPropertyDescriptor.
java.beans.IntrospectionException - If introspection fails.public boolean isValidating()
true if this configurator validates its xml. false otherwise.public void setValidating(boolean validating)
validating - true to indicate that this configurator validates its xml.
false otherwise.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||