Return-Path:
Common superclass for Common superclass for Nodes can have just a local name
* or they can have a local name, qualified name and a namespace uri.ElementDescriptor
and AttributeDescriptor
.ElementDescriptor
+ * and AttributeDescriptor
.
This allows finely grained control over the caching strategy. - * It also allows the standard introspection mechanism to be overridden on a per class basis.
+ * It also allows the standard introspection mechanism + * to be overridden on a per class basis. */ public XMLBeanInfoRegistry getRegistry() { return registry; @@ -171,7 +172,8 @@ * After standard introspection is complete, the instance will be passed to the registry. * *This allows finely grained control over the caching strategy. - * It also allows the standard introspection mechanism to be overridden on a per class basis.
+ * It also allows the standard introspection mechanism + * to be overridden on a per class basis. */ public void setRegistry(XMLBeanInfoRegistry registry) { this.registry = registry; @@ -272,7 +274,8 @@ Class beanClass = beanDescriptor.getBeanClass(); ElementDescriptor elementDescriptor = new ElementDescriptor(); - elementDescriptor.setLocalName( getElementNameMapper().mapTypeToElementName( beanDescriptor.getName() ) ); + elementDescriptor.setLocalName( + getElementNameMapper().mapTypeToElementName( beanDescriptor.getName() ) ); elementDescriptor.setPropertyType( beanInfo.getBeanDescriptor().getBeanClass() ); if (log.isTraceEnabled()) { @@ -386,7 +389,8 @@ /** * @return the strategy used to convert bean type names into element names - * @deprecated getNameMapper is split up in {@link #getElementNameMapper()} and {@link #getAttributeNameMapper()} + * @deprecated getNameMapper is split up in + * {@link #getElementNameMapper()} and {@link #getAttributeNameMapper()} */ public NameMapper getNameMapper() { return getElementNameMapper(); @@ -395,7 +399,8 @@ /** * Sets the strategy used to convert bean type names into element names * @param nameMapper - * @deprecated setNameMapper is split up in {@link #setElementNameMapper(NameMapper)} and {@link #setAttributeNameMapper(NameMapper)} + * @deprecated setNameMapper is split up in + * {@link #setElementNameMapper(NameMapper)} and {@link #setAttributeNameMapper(NameMapper)} */ public void setNameMapper(NameMapper nameMapper) { setElementNameMapper(nameMapper); @@ -455,14 +460,16 @@ //------------------------------------------------------------------------- /** - * A Factory method to lazily create a new strategy to detect matching singular and plural properties + * A Factory method to lazily create a new strategy + * to detect matching singular and plural properties. */ protected PluralStemmer createPluralStemmer() { return new DefaultPluralStemmer(); } /** - * A Factory method to lazily create a strategy used to convert bean type names into element names + * A Factory method to lazily create a strategy + * used to convert bean type names into element names. */ protected NameMapper createNameMapper() { return new DefaultNameMapper(); 1.4 +8 -3 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/AddDefaultsRule.java Index: AddDefaultsRule.java =================================================================== RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/AddDefaultsRule.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AddDefaultsRule.java 30 Dec 2002 18:18:37 -0000 1.3 +++ AddDefaultsRule.java 5 Jan 2003 17:18:32 -0000 1.4 @@ -129,7 +129,10 @@ } // default any addProperty() methods - XMLIntrospectorHelper.defaultAddMethods( getXMLIntrospector(), getRootElementDescriptor(), beanClass ); + XMLIntrospectorHelper.defaultAddMethods( + getXMLIntrospector(), + getRootElementDescriptor(), + beanClass ); } @@ -154,7 +157,8 @@ } } else { - throw new SAXException( "theLog
named org.apache.commons.betwixt
*/
+ /**
+ * Logging uses commons-logging Log
+ * named org.apache.commons.betwixt
+ */
private Log log;
/** Construct context with default log */
1.3 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/StringExpression.java
Index: StringExpression.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/StringExpression.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- StringExpression.java 1 Jul 2002 18:57:57 -0000 1.2
+++ StringExpression.java 5 Jan 2003 17:18:32 -0000 1.3
@@ -99,6 +99,6 @@
public String toString() {
return "StringExpression";
- }
+ }
}
1.9 +21 -13 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java
Index: AbstractBeanWriter.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- AbstractBeanWriter.java 30 Dec 2002 18:18:36 -0000 1.8
+++ AbstractBeanWriter.java 5 Jan 2003 17:18:32 -0000 1.9
@@ -159,7 +159,8 @@
/**
- * Writes the given bean to the current stream using the given qualifiedName
.
Writes the given bean to the current stream
+ * using the given qualifiedName
.
This method will throw a CyclicReferenceException
when a cycle
* is encountered in the graph only if the WriteIDs
@@ -271,7 +272,8 @@
}
/**
- * Get IDGenerator
implementation used to generate ID
attribute values .
+ * Get IDGenerator
implementation used to
+ * generate ID
attribute values .
*
* @return implementation used for ID
attribute generation
*/
@@ -280,7 +282,8 @@
}
/**
- * Set IDGenerator
implementation used to generate ID
attribute values.
+ * Set IDGenerator
implementation
+ * used to generate ID
attribute values.
* This property can be used to customize the algorithm used for generation.
*
* @param idGenerator use this implementation for ID
attribute generation
@@ -306,8 +309,10 @@
/**
*
Get the introspector used.
* - * The {@link XMLBeanInfo} used to map each bean is created by the XMLIntrospector
.
- * One way in which the mapping can be customized is by altering the XMLIntrospector
.
The {@link XMLBeanInfo} used to map each bean is
+ * created by the XMLIntrospector
.
+ * One way in which the mapping can be customized is
+ * by altering the XMLIntrospector
.
Set the introspector to be used.
* - * The {@link XMLBeanInfo} used to map each bean is created by the XMLIntrospector
.
- * One way in which the mapping can be customized is by altering the XMLIntrospector
.
The {@link XMLBeanInfo} used to map each bean is
+ * created by the XMLIntrospector
.
+ * One way in which the mapping can be customized is by
+ * altering the XMLIntrospector
.
Get the introspector used.
* - * The {@link XMLBeanInfo} used to map each bean is created by the XMLIntrospector
.
- * One way in which the mapping can be customized is by altering the XMLIntrospector
.
The {@link XMLBeanInfo} used to map each bean is
+ * created by the XMLIntrospector
.
+ * One way in which the mapping can be customized is by
+ * altering the XMLIntrospector
.
Set the introspector to be used.
* - * The {@link XMLBeanInfo} used to map each bean is created by the XMLIntrospector
.
- * One way in which the mapping can be customized is by altering the XMLIntrospector
.
The {@link XMLBeanInfo} used to map each bean is
+ * created by the XMLIntrospector
.
+ * One way in which the mapping can be customized is by
+ * altering the XMLIntrospector
.