You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2004/07/04 18:58:17 UTC
cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/id package.html
rdonkin 2004/07/04 09:58:17
Modified: betwixt/src/java/org/apache/commons/betwixt/io
AbstractBeanWriter.java BeanCreateRule.java
BeanReader.java BeanRuleSet.java BeanWriter.java
SAXBeanWriter.java WriteContext.java package.html
betwixt/src/java/org/apache/commons/betwixt/io/id
package.html
Log:
Added in changes from release branch
Revision Changes Path
1.28 +32 -32 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.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- AbstractBeanWriter.java 13 Jun 2004 21:32:45 -0000 1.27
+++ AbstractBeanWriter.java 4 Jul 2004 16:58:17 -0000 1.28
@@ -84,7 +84,6 @@
* </p>
*
* @author <a href="mailto:rdonkin@apache.org">Robert Burrell Donkin</a>
- * @version $Revision$
*/
public abstract class AbstractBeanWriter {
@@ -354,6 +353,7 @@
/**
* Gets the dynamic configuration setting to be used for bean reading.
* @return the BindingConfiguration settings, not null
+ * @since 0.5
*/
public BindingConfiguration getBindingConfiguration() {
return bindingConfiguration;
@@ -362,6 +362,7 @@
/**
* Sets the dynamic configuration setting to be used for bean reading.
* @param bindingConfiguration the BindingConfiguration settings, not null
+ * @since 0.5
*/
public void setBindingConfiguration(BindingConfiguration bindingConfiguration) {
this.bindingConfiguration = bindingConfiguration;
@@ -374,7 +375,7 @@
* then a {@link CyclicReferenceException} will be thrown by the write method.</p>
*
* @return true if <code>ID</code> and <code>IDREF</code> attributes are to be written
- * @deprecated use {@link BindingConfiguration#getMapIDs}
+ * @deprecated 0.5 use {@link BindingConfiguration#getMapIDs}
*/
public boolean getWriteIDs() {
return getBindingConfiguration().getMapIDs();
@@ -386,7 +387,7 @@
* will be thrown whenever a cyclic occurs in the bean graph.
*
* @param writeIDs true if <code>ID</code>'s and <code>IDREF</code>'s should be written
- * @deprecated use {@link BindingConfiguration#setMapIDs}
+ * @deprecated 0.5 use {@link BindingConfiguration#setMapIDs}
*/
public void setWriteIDs(boolean writeIDs) {
getBindingConfiguration().setMapIDs( writeIDs );
@@ -401,6 +402,7 @@
* <code><element attr='value'/></code> is not.</p>
*
* @return true if empty elements will be written into the output
+ * @since 0.5
*/
public boolean getWriteEmptyElements() {
return writeEmptyElements;
@@ -415,6 +417,7 @@
* <code><element attr='value'/></code> is not.
*
* @param writeEmptyElements true if empty elements should be written into the output
+ * @since 0.5
*/
public void setWriteEmptyElements(boolean writeEmptyElements) {
this.writeEmptyElements = writeEmptyElements;
@@ -480,7 +483,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha-1
+ * @since 0.5
*/
protected void startElement(
WriteContext context,
@@ -504,7 +507,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha-1
+ * @since 0.5
*/
protected void endElement(
WriteContext context,
@@ -525,7 +528,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void bodyText(WriteContext context, String text)
throws IOException, SAXException {
@@ -546,8 +549,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha-1
- * @deprecated use {@link #startElement(WriteContext, String, String, String, Attributes)}
+ * @deprecated 0.5 use {@link #startElement(WriteContext, String, String, String, Attributes)}
*/
protected void startElement(
String uri,
@@ -567,8 +569,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha-1
- * @deprecated use {@link #endElement(WriteContext, String, String, String)}
+ * @deprecated 0.5 use {@link #endElement(WriteContext, String, String, String)}
*/
protected void endElement(
String uri,
@@ -585,8 +586,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
- * @deprecated use {@link #bodyText(WriteContext, String)}
+ * @deprecated 0.5 use {@link #bodyText(WriteContext, String)}
*/
protected void bodyText(String text) throws IOException, SAXException {}
@@ -1337,7 +1337,7 @@
* Used for pretty priting.
*
* @return the amount that the current element is indented
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected int getIndentLevel() {
return 0;
@@ -1352,7 +1352,7 @@
* @param qualifiedName the qualified name of the element to be expressed
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementStart(String qualifiedName)
throws IOException, SAXException {
@@ -1367,7 +1367,7 @@
* @param qualifiedName the qualified name of the element to be expressed
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementStart(String uri, String localName, String qualifiedName)
throws IOException, SAXException {
@@ -1379,7 +1379,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressTagClose() throws IOException, SAXException {}
@@ -1390,7 +1390,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementEnd(String qualifiedName)
throws IOException, SAXException {
@@ -1406,7 +1406,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementEnd(
String uri,
@@ -1424,7 +1424,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementEnd() throws IOException, SAXException {}
@@ -1435,7 +1435,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressBodyText(String text) throws IOException, SAXException {}
@@ -1446,7 +1446,7 @@
* @param value the attribute value
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressAttribute(
String qualifiedName,
@@ -1466,7 +1466,7 @@
* @param value the attribute value
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressAttribute(
String namespaceUri,
@@ -1489,7 +1489,7 @@
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
* @throws IntrospectionException if a java beans introspection problem occurs
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void write(
String qualifiedName,
@@ -1513,7 +1513,7 @@
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
* @throws IntrospectionException if a java beans introspection problem occurs
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void write(
String qualifiedName,
@@ -1544,7 +1544,7 @@
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
* @throws IntrospectionException if a java beans introspection problem occurs
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writeRestOfElement(
String qualifiedName,
@@ -1566,7 +1566,7 @@
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
* @throws IntrospectionException if a java beans introspection problem occurs
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writeIDREFElement(
String qualifiedName,
@@ -1598,7 +1598,7 @@
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
* @throws IntrospectionException if a java beans introspection problem occurs
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected boolean writeContent(
ElementDescriptor elementDescriptor,
@@ -1618,7 +1618,7 @@
* @param context the <code>Context</code> to use to evaluation bean expressions
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writeAttributes(
ElementDescriptor elementDescriptor,
@@ -1646,7 +1646,7 @@
* @param context the <code>Context</code> to use to evaluation bean expressions
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writeAttribute(
AttributeDescriptor attributeDescriptor,
@@ -1673,7 +1673,7 @@
* This implementation does nothing but can be overridden by subclasses.
*
* @throws IOException if the line cannot be written
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writePrintln() throws IOException {}
@@ -1682,7 +1682,7 @@
* This implementation does nothing but can be overridden by subclasses.
*
* @throws IOException if the indent cannot be written
- * @deprecated after 1.0-Alpha-1 replaced by new BeanWriter API
+ * @deprecated 0.5 replaced by new BeanWriter API
*/
protected void writeIndent() throws IOException {}
1.26 +1 -2 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanCreateRule.java
Index: BeanCreateRule.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanCreateRule.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- BeanCreateRule.java 28 Feb 2004 13:38:33 -0000 1.25
+++ BeanCreateRule.java 4 Jul 2004 16:58:17 -0000 1.26
@@ -38,8 +38,7 @@
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @author <a href="mailto:martin@mvdb.net">Martin van den Bemt</a>
- * @version $Revision$
- * @deprecated this Rule does not allowed good integration with other Rules -
+ * @deprecated 0.5 this Rule does not allowed good integration with other Rules -
* use {@link BeanRuleSet} instead.
*/
public class BeanCreateRule extends Rule {
1.22 +8 -3 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanReader.java
Index: BeanReader.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanReader.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- BeanReader.java 13 Jun 2004 21:32:45 -0000 1.21
+++ BeanReader.java 4 Jul 2004 16:58:17 -0000 1.22
@@ -40,7 +40,6 @@
* to add rules to map a bean class.</p>
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
- * @version $Revision$
*/
public class BeanReader extends Digester {
@@ -187,6 +186,7 @@
*
* <p><strong>Note</strong> that deregistering a bean does <strong>not</strong>
* remove the Digester rules associated with that bean.</p>
+ * @since 0.5
*/
public void flushRegisteredBeanClasses() {
registeredClasses.clear();
@@ -203,6 +203,7 @@
* remove the Digester rules associated with that bean.</p>
*
* @param beanClass the <code>Class</code> to remove from the set of registered bean classes
+ * @since 0.5
*/
public void deregisterBeanClass( Class beanClass ) {
registeredClasses.remove( beanClass );
@@ -264,7 +265,7 @@
*
* @return true if <code>ID</code> and <code>IDREF</code>
* attributes should be used to match instances
- * @deprecated use {@link BindingConfiguration#getMapIDs}
+ * @deprecated 0.5 use {@link BindingConfiguration#getMapIDs}
*/
public boolean getMatchIDs() {
return getBindingConfiguration().getMapIDs();
@@ -274,7 +275,7 @@
* Set whether the read should use <code>ID</code> attributes to match beans.
*
* @param matchIDs pass true if <code>ID</code>'s should be matched
- * @deprecated use {@link BindingConfiguration#setMapIDs}
+ * @deprecated 0.5 use {@link BindingConfiguration#setMapIDs}
*/
public void setMatchIDs(boolean matchIDs) {
getBindingConfiguration().setMapIDs( matchIDs );
@@ -283,6 +284,7 @@
/**
* Gets the dynamic configuration setting to be used for bean reading.
* @return the BindingConfiguration settings, not null
+ * @since 0.5
*/
public BindingConfiguration getBindingConfiguration() {
return bindingConfiguration;
@@ -291,6 +293,7 @@
/**
* Sets the dynamic configuration setting to be used for bean reading.
* @param bindingConfiguration the BindingConfiguration settings, not null
+ * @since 0.5
*/
public void setBindingConfiguration( BindingConfiguration bindingConfiguration ) {
this.bindingConfiguration = bindingConfiguration;
@@ -299,6 +302,7 @@
/**
* Gets read specific configuration details.
* @return the ReadConfiguration, not null
+ * @since 0.5
*/
public ReadConfiguration getReadConfiguration() {
return readConfiguration;
@@ -307,6 +311,7 @@
/**
* Sets the read specific configuration details.
* @param readConfiguration not null
+ * @since 0.5
*/
public void setReadConfiguration( ReadConfiguration readConfiguration ) {
this.readConfiguration = readConfiguration;
1.20 +5 -5 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java
Index: BeanRuleSet.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- BeanRuleSet.java 13 Jun 2004 21:32:45 -0000 1.19
+++ BeanRuleSet.java 4 Jul 2004 16:58:17 -0000 1.20
@@ -35,7 +35,7 @@
*
* @author <a href="mailto:rdonkin@apache.org">Robert Burrell Donkin</a>
* @author <a href="mailto:martin@mvdb.net">Martin van den Bemt</a>
- * @version $Revision$
+ * @since 0.5
*/
public class BeanRuleSet implements RuleSet {
@@ -68,7 +68,7 @@
* @param baseElementDescriptor the <code>ElementDescriptor</code> used to create the rules
* @param baseBeanClass the <code>Class</code> whose mapping rules will be created
* @param matchIDs should ID/IDREFs be used to match beans?
- * @deprecated use constructor which takes a ReadContext instead
+ * @deprecated 0.5 use constructor which takes a ReadContext instead
*/
public BeanRuleSet(
XMLIntrospector introspector,
@@ -124,7 +124,7 @@
* @param baseBeanClass the <code>Class</code> whose mapping rules will be created
* @param context the root Context that bean carrying Contexts should be obtained from,
* not null
- * @deprecated use the constructor which takes a ReadContext instead
+ * @deprecated 0.5 use the constructor which takes a ReadContext instead
*/
public BeanRuleSet(
XMLIntrospector introspector,
@@ -183,7 +183,7 @@
* <p>The default value is 'className'.</p>
*
* @param classNameAttribute The name of the attribute used to overload the class name of a bean
- * @deprecated set the <code>ReadContext</code> property instead
+ * @deprecated 0.5 set the <code>ReadContext</code> property instead
*/
public void setClassNameAttribute(String classNameAttribute) {
context.setClassNameAttribute(classNameAttribute);
1.26 +15 -14 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanWriter.java
Index: BeanWriter.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanWriter.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- BeanWriter.java 23 Jun 2004 21:56:59 -0000 1.25
+++ BeanWriter.java 4 Jul 2004 16:58:17 -0000 1.26
@@ -75,7 +75,6 @@
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @author <a href="mailto:martin@mvdb.net">Martin van den Bemt</a>
- * @version $Revision$
*/
public class BeanWriter extends AbstractBeanWriter {
@@ -272,6 +271,7 @@
* This is used to process body content
* before it is written to the textual output.
* @return the <code>MixedContentEncodingStrategy</code>, not null
+ * @since 0.5
*/
public MixedContentEncodingStrategy getMixedContentEncodingStrategy() {
return mixedContentEncodingStrategy;
@@ -283,6 +283,7 @@
* before it is written to the textual output.
* @param strategy the <code>MixedContentEncodingStrategy</code>
* used to process body content, not null
+ * @since 0.5
*/
public void setMixedContentEncodingStrategy(MixedContentEncodingStrategy strategy) {
mixedContentEncodingStrategy = strategy;
@@ -330,7 +331,7 @@
* @param attr the element's attributes
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void startElement(
WriteContext context,
@@ -373,7 +374,7 @@
*
* @throws IOException if an IO problem occurs during writing
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void endElement(
WriteContext context,
@@ -418,7 +419,7 @@
*
* @param text write out this body text
* @throws IOException when the stream write fails
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void bodyText(WriteContext context, String text) throws IOException {
if ( text == null ) {
@@ -471,7 +472,7 @@
* Uses current <code>endOfLine</code>.
*
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writePrintln() throws IOException {
if ( endOfLine != null ) {
@@ -483,7 +484,7 @@
* Writes out <code>indent</code>'s to the current <code>indentLevel</code>
*
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void writeIndent() throws IOException {
if ( indent != null ) {
@@ -499,7 +500,7 @@
*
* @param value escape <code>value.toString()</code>
* @return text with escaped delimiters
- * @deprecated After 1.0-Alpha-1 moved into utility class {@link XMLUtils#escapeBodyValue}
+ * @deprecated 0.5 moved into utility class {@link XMLUtils#escapeBodyValue}
*/
protected String escapeBodyValue(Object value) {
return XMLUtils.escapeBodyValue(value);
@@ -512,7 +513,7 @@
* @param value escape <code>value.toString()</code>
* @return text with characters restricted (for use in attributes) escaped
*
- * @deprecated After 1.0-Alpha-1 moved into utility class {@link XMLUtils#escapeAttributeValue}
+ * @deprecated 0.5 moved into utility class {@link XMLUtils#escapeAttributeValue}
*/
protected String escapeAttributeValue(Object value) {
return XMLUtils.escapeAttributeValue(value);
@@ -523,7 +524,7 @@
*
* @param qualifiedName the fully qualified name of the element to write
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementStart(String qualifiedName) throws IOException {
if ( qualifiedName == null ) {
@@ -542,7 +543,7 @@
* Write a tag close to the stream
*
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressTagClose() throws IOException {
writer.write( '>' );
@@ -553,7 +554,7 @@
*
* @param qualifiedName the name of the element
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementEnd(String qualifiedName) throws IOException {
if (qualifiedName == null) {
@@ -571,7 +572,7 @@
* Write an empty element end to the stream
*
* @throws IOException when stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressElementEnd() throws IOException {
writer.write( "/>" );
@@ -582,7 +583,7 @@
*
* @param text write out this body text
* @throws IOException when the stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressBodyText(String text) throws IOException {
if ( text == null ) {
@@ -600,7 +601,7 @@
* @param qualifiedName fully qualified attribute name
* @param value attribute value
* @throws IOException when the stream write fails
- * @deprecated after 1.0-Alpha-1 replaced by new SAX inspired API
+ * @deprecated 0.5 replaced by new SAX inspired API
*/
protected void expressAttribute(
String qualifiedName,
1.17 +7 -5 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/SAXBeanWriter.java
Index: SAXBeanWriter.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/SAXBeanWriter.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- SAXBeanWriter.java 13 Jun 2004 21:32:45 -0000 1.16
+++ SAXBeanWriter.java 4 Jul 2004 16:58:17 -0000 1.17
@@ -29,7 +29,6 @@
*
* @author <a href="mailto:rdonkin@apache.org">Robert Burrell Donkin</a>
* @author <a href="mailto:martin@mvdb.net">Martin van den Bemt</a>
- * @version $Id$
*/
public class SAXBeanWriter extends AbstractBeanWriter {
@@ -52,7 +51,9 @@
/**
* Should document events (ie start and end) be called?
*
- * @return true if this SAXWriter should call start and end of the content handler
+ * @return true if this SAXWriter should call start
+ * and end of the content handler
+ * @since 0.5
*/
public boolean getCallDocumentEvents() {
return callDocumentEvents;
@@ -62,6 +63,7 @@
* Sets whether the document events (ie start and end) should be called.
*
* @param callDocumentEvents should document events be called
+ * @since 0.5
*/
public void setCallDocumentEvents(boolean callDocumentEvents) {
this.callDocumentEvents = callDocumentEvents;
@@ -103,7 +105,7 @@
* @param qName the element's qualified name
* @param attributes the element's attributes
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void startElement(
WriteContext context,
@@ -127,7 +129,7 @@
* @param localName the element's local name
* @param qName the element's qualified name
* @throws SAXException if an SAX problem occurs during writing
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void endElement(
WriteContext context,
@@ -146,7 +148,7 @@
* Express body text
* @param text the element body text
* @throws SAXException if the <code>ContentHandler</code> has a problem
- * @since 1.0 Alpha 1
+ * @since 0.5
*/
protected void bodyText(WriteContext context, String text) throws SAXException {
//TODO:
1.2 +1 -1 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/WriteContext.java
Index: WriteContext.java
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/WriteContext.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- WriteContext.java 31 Mar 2004 19:54:01 -0000 1.1
+++ WriteContext.java 4 Jul 2004 16:58:17 -0000 1.2
@@ -33,7 +33,7 @@
* rather than extending {@link Context}.
* </p>
* @author <a href='http://jakarta.apache.org/'>Jakarta Commons Team</a>
- * @version $Revision$
+ * @since 0.5
*/
public abstract class WriteContext {
1.3 +15 -0 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/package.html
Index: package.html
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/package.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- package.html 12 Jun 2002 21:40:06 -0000 1.2
+++ package.html 4 Jul 2004 16:58:17 -0000 1.3
@@ -1,4 +1,19 @@
<html>
+<!--
+ Copyright 2001-2004 The Apache Software Foundation.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<head>
</head>
<body>
1.3 +15 -0 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/id/package.html
Index: package.html
===================================================================
RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/id/package.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- package.html 12 Jun 2002 21:40:06 -0000 1.2
+++ package.html 4 Jul 2004 16:58:17 -0000 1.3
@@ -1,4 +1,19 @@
<html>
+<!--
+ Copyright 2001-2004 The Apache Software Foundation.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<head>
</head>
<body>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org