You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2010/07/21 21:47:02 UTC
svn commit: r966382 [1/2] - in /commons/sandbox/at-digester/trunk: ./
src/java/org/apache/commons/digester/
src/java/org/apache/commons/digester/parser/
src/java/org/apache/commons/digester/plugins/
src/java/org/apache/commons/digester/plugins/strategi...
Author: simonetripodi
Date: Wed Jul 21 19:47:00 2010
New Revision: 966382
URL: http://svn.apache.org/viewvc?rev=966382&view=rev
Log:
merged latest trunk modifications
Added:
commons/sandbox/at-digester/trunk/src/site/xdoc/
commons/sandbox/at-digester/trunk/src/site/xdoc/download_digester.xml (with props)
commons/sandbox/at-digester/trunk/src/site/xdoc/dtds/
commons/sandbox/at-digester/trunk/src/site/xdoc/dtds/digester-rules.dtd (with props)
commons/sandbox/at-digester/trunk/src/site/xdoc/index.xml (with props)
commons/sandbox/at-digester/trunk/src/site/xdoc/issue-tracking.xml (with props)
commons/sandbox/at-digester/trunk/src/site/xdoc/mail-lists.xml (with props)
Removed:
commons/sandbox/at-digester/trunk/xdocs/
Modified:
commons/sandbox/at-digester/trunk/doap_digester.rdf
commons/sandbox/at-digester/trunk/pom.xml
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/AbstractRulesImpl.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/BeanPropertySetterRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/CallMethodRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/CallParamRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Digester.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ExtendedBaseRules.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/FactoryCreateRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ObjectCreateRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ObjectParamRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/PathCallParamRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/RegexRules.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Rule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Rules.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/RulesBase.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetNestedPropertiesRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetNextRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetPropertiesRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetPropertyRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetRootRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetTopRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SimpleRegexMatcher.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/parser/GenericParser.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginAssertionFailure.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginConfigurationException.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginCreateRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginDeclarationRule.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginException.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginInvalidInputException.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginManager.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginRules.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromClass.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltMethod.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltResource.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromFile.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromMethod.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromResource.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderSetProperties.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderFromClass.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderFromStream.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderSetProperties.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/substitution/VariableSubstitutor.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterLoadingException.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterRuleParser.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/xmlrules/FromXmlRuleSet.java
commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/xmlrules/XmlLoadException.java
Modified: commons/sandbox/at-digester/trunk/doap_digester.rdf
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/doap_digester.rdf?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/doap_digester.rdf (original)
+++ commons/sandbox/at-digester/trunk/doap_digester.rdf Wed Jul 21 19:47:00 2010
@@ -23,7 +23,7 @@
<category rdf:resource="http://projects.apache.org/category/library"/>
<license rdf:resource="http://usefulinc.com/doap/licenses/asl20"/>
<bug-database rdf:resource="http://issues.apache.org/jira/browse/DIGESTER"/>
- <download-page rdf:resource="http://jakarta.apache.org/site/downloads/downloads_commons-digester.cgi"/>
+ <download-page rdf:resource="http://commons.apache.org/digester/download_digester.cgi"/>
<asfext:pmc rdf:resource="http://commons.apache.org/"/>
<shortdesc xml:lang="en">Rule based XML->Java object mapping module</shortdesc>
<description xml:lang="en">
Modified: commons/sandbox/at-digester/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/pom.xml?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/pom.xml (original)
+++ commons/sandbox/at-digester/trunk/pom.xml Wed Jul 21 19:47:00 2010
@@ -25,12 +25,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
- <version>12</version>
+ <version>17</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>Commons Digester</name>
- <groupId>commons-digester</groupId>
+ <groupId>org.apache.commons</groupId>
<artifactId>commons-digester</artifactId>
<version>2.1-SNAPSHOT</version>
@@ -100,11 +100,6 @@
<id>rahul</id>
<email>rahul AT apache DOT org</email>
</developer>
- <developer>
- <name>Simone Tripodi</name>
- <id>simonetripodi</id>
- <email>simonetripodi AT apache DOT org</email>
- </developer>
</developers>
<contributors>
@@ -166,6 +161,9 @@
<maven.compile.target>1.5</maven.compile.target>
<commons.componentid>digester</commons.componentid>
<commons.release.version>2.0</commons.release.version>
+ <commons.release.desc>(minium JDK 1.5)</commons.release.desc>
+ <commons.release.2.version>1.8.1</commons.release.2.version>
+ <commons.release.2.desc>(minimum JDK 1.3)</commons.release.2.desc>
<commons.rc.version>RC1</commons.rc.version>
<commons.jira.id>DIGESTER</commons.jira.id>
<commons.jira.pid>12310471</commons.jira.pid>
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/AbstractRulesImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/AbstractRulesImpl.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/AbstractRulesImpl.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/AbstractRulesImpl.java Wed Jul 21 19:47:00 2010
@@ -136,6 +136,7 @@ abstract public class AbstractRulesImpl
*
* @deprecated Call match(namespaceURI,pattern) instead.
*/
+ @Deprecated
public List<Rule> match(String pattern) {
return match(namespaceURI, pattern);
}
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/BeanPropertySetterRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/BeanPropertySetterRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/BeanPropertySetterRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/BeanPropertySetterRule.java Wed Jul 21 19:47:00 2010
@@ -56,6 +56,7 @@ public class BeanPropertySetterRule exte
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #BeanPropertySetterRule(String propertyName)} instead.
*/
+ @Deprecated
public BeanPropertySetterRule(Digester digester, String propertyName) {
this(propertyName);
@@ -73,6 +74,7 @@ public class BeanPropertySetterRule exte
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #BeanPropertySetterRule()} instead.
*/
+ @Deprecated
public BeanPropertySetterRule(Digester digester) {
this();
@@ -130,6 +132,7 @@ public class BeanPropertySetterRule exte
* the element name otherwise
* @param text The text of the body of this element
*/
+ @Override
public void body(String namespace, String name, String text)
throws Exception {
@@ -156,6 +159,7 @@ public class BeanPropertySetterRule exte
* @exception NoSuchMethodException if the bean does not
* have a writeable property of the specified name
*/
+ @Override
public void end(String namespace, String name) throws Exception {
String property = propertyName;
@@ -203,6 +207,7 @@ public class BeanPropertySetterRule exte
/**
* Clean up after parsing is complete.
*/
+ @Override
public void finish() throws Exception {
bodyText = null;
@@ -213,6 +218,7 @@ public class BeanPropertySetterRule exte
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("BeanPropertySetterRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/CallMethodRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/CallMethodRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/CallMethodRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/CallMethodRule.java Wed Jul 21 19:47:00 2010
@@ -109,6 +109,7 @@ public class CallMethodRule extends Rule
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #CallMethodRule(String methodName,int paramCount)} instead.
*/
+ @Deprecated
public CallMethodRule(Digester digester, String methodName,
int paramCount) {
@@ -132,6 +133,7 @@ public class CallMethodRule extends Rule
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #CallMethodRule(String methodName,int paramCount, String [] paramTypes)} instead.
*/
+ @Deprecated
public CallMethodRule(Digester digester, String methodName,
int paramCount, String paramTypes[]) {
@@ -156,6 +158,7 @@ public class CallMethodRule extends Rule
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #CallMethodRule(String methodName,int paramCount, Class [] paramTypes)} instead.
*/
+ @Deprecated
public CallMethodRule(Digester digester, String methodName,
int paramCount, Class<?> paramTypes[]) {
@@ -437,6 +440,7 @@ public class CallMethodRule extends Rule
* Set the associated digester.
* If needed, this class loads the parameter classes from their names.
*/
+ @Override
public void setDigester(Digester digester)
{
// call superclass
@@ -462,6 +466,7 @@ public class CallMethodRule extends Rule
*
* @param attributes The attribute list for this element
*/
+ @Override
public void begin(Attributes attributes) throws Exception {
// Push an array to capture the parameter values if necessary
@@ -481,6 +486,7 @@ public class CallMethodRule extends Rule
*
* @param bodyText The body text of this element
*/
+ @Override
public void body(String bodyText) throws Exception {
if (paramCount == 0) {
@@ -493,6 +499,7 @@ public class CallMethodRule extends Rule
/**
* Process the end of this element.
*/
+ @Override
public void end() throws Exception {
// Retrieve or construct the parameter values array
@@ -543,7 +550,6 @@ public class CallMethodRule extends Rule
// When paramCount is zero and paramTypes.length is zero it
// means that we truly are calling a method with no parameters.
// Nothing special needs to be done here.
- ;
}
// Construct the parameter values array we will need
@@ -634,6 +640,7 @@ public class CallMethodRule extends Rule
/**
* Clean up after parsing is complete.
*/
+ @Override
public void finish() throws Exception {
bodyText = null;
@@ -653,6 +660,7 @@ public class CallMethodRule extends Rule
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("CallMethodRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/CallParamRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/CallParamRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/CallParamRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/CallParamRule.java Wed Jul 21 19:47:00 2010
@@ -64,6 +64,7 @@ public class CallParamRule extends Rule
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #CallParamRule(int paramIndex)} instead.
*/
+ @Deprecated
public CallParamRule(Digester digester, int paramIndex) {
this(paramIndex);
@@ -82,6 +83,7 @@ public class CallParamRule extends Rule
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #CallParamRule(int paramIndex, String attributeName)} instead.
*/
+ @Deprecated
public CallParamRule(Digester digester, int paramIndex,
String attributeName) {
@@ -191,6 +193,7 @@ public class CallParamRule extends Rule
*
* @param attributes The attribute list for this element
*/
+ @Override
public void begin(Attributes attributes) throws Exception {
Object param = null;
@@ -231,6 +234,7 @@ public class CallParamRule extends Rule
*
* @param bodyText The body text of this element
*/
+ @Override
public void body(String bodyText) throws Exception {
if (attributeName == null && !fromStack) {
@@ -248,6 +252,7 @@ public class CallParamRule extends Rule
/**
* Process any body texts now.
*/
+ @Override
public void end(String namespace, String name) {
if (bodyTextStack != null && !bodyTextStack.empty()) {
// what we do now is push one parameter onto the top set of parameters
@@ -259,6 +264,7 @@ public class CallParamRule extends Rule
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("CallParamRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Digester.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Digester.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Digester.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Digester.java Wed Jul 21 19:47:00 2010
@@ -208,6 +208,7 @@ public class Digester extends DefaultHan
/**
* @deprecated This is now managed by {@link ParserFeatureSetterFactory}
*/
+ @Deprecated
protected String JAXP_SCHEMA_LANGUAGE =
"http://java.sun.com/xml/jaxp/properties/schemaLanguage";
@@ -296,6 +297,7 @@ public class Digester extends DefaultHan
*
* @deprecated Use {@link Schema} support instead.
*/
+ @Deprecated
protected String schemaLanguage = W3C_XML_SCHEMA;
@@ -304,6 +306,7 @@ public class Digester extends DefaultHan
*
* @deprecated Use {@link Schema} support instead.
*/
+ @Deprecated
protected String schemaLocation = null;
@@ -477,6 +480,7 @@ public class Digester extends DefaultHan
* jakarta commons-logging library; see the documentation for that library
* for more information.
*/
+ @Deprecated
public int getDebug() {
return (0);
@@ -494,9 +498,10 @@ public class Digester extends DefaultHan
* the apache jakarta comons-logging library; see the documentation
* for that library for more information.
*/
+ @Deprecated
public void setDebug(int debug) {
- ; // No action is taken
+ // No action is taken
}
@@ -845,6 +850,7 @@ public class Digester extends DefaultHan
* @deprecated Use getXMLReader() instead, which can throw a
* SAXException if the reader cannot be instantiated
*/
+ @Deprecated
public XMLReader getReader() {
try {
@@ -894,6 +900,7 @@ public class Digester extends DefaultHan
* @see #getXMLSchema()
* @see #setXMLSchema(Schema)
*/
+ @Deprecated
public String getSchema() {
return (this.schemaLocation);
@@ -933,6 +940,7 @@ public class Digester extends DefaultHan
* @see #getXMLSchema()
* @see #setXMLSchema(Schema)
*/
+ @Deprecated
public void setSchema(String schemaLocation){
this.schemaLocation = schemaLocation;
@@ -947,6 +955,7 @@ public class Digester extends DefaultHan
* @see #getXMLSchema()
* @see #setXMLSchema(Schema)
*/
+ @Deprecated
public String getSchemaLanguage() {
return (this.schemaLanguage);
@@ -962,6 +971,7 @@ public class Digester extends DefaultHan
* @see #getXMLSchema()
* @see #setXMLSchema(Schema)
*/
+ @Deprecated
public void setSchemaLanguage(String schemaLanguage){
this.schemaLanguage = schemaLanguage;
@@ -1193,6 +1203,7 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing error is to be reported
*/
+ @Override
public void characters(char buffer[], int start, int length)
throws SAXException {
@@ -1216,6 +1227,7 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing error is to be reported
*/
+ @Override
public void endDocument() throws SAXException {
if (saxLog.isDebugEnabled()) {
@@ -1258,6 +1270,7 @@ public class Digester extends DefaultHan
* empty string if qualified names are not available.
* @exception SAXException if a parsing error is to be reported
*/
+ @Override
public void endElement(String namespaceURI, String localName,
String qName) throws SAXException {
@@ -1358,6 +1371,7 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing error is to be reported
*/
+ @Override
public void endPrefixMapping(String prefix) throws SAXException {
if (saxLog.isDebugEnabled()) {
@@ -1390,6 +1404,7 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing error is to be reported
*/
+ @Override
public void ignorableWhitespace(char buffer[], int start, int len)
throws SAXException {
@@ -1398,7 +1413,7 @@ public class Digester extends DefaultHan
new String(buffer, start, len) + ")");
}
- ; // No processing required
+ // No processing required
}
@@ -1411,6 +1426,7 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing error is to be reported
*/
+ @Override
public void processingInstruction(String target, String data)
throws SAXException {
@@ -1424,7 +1440,7 @@ public class Digester extends DefaultHan
saxLog.debug("processingInstruction('" + target + "','" + data + "')");
}
- ; // No processing is required
+ // No processing is required
}
@@ -1445,6 +1461,7 @@ public class Digester extends DefaultHan
*
* @param locator The new locator
*/
+ @Override
public void setDocumentLocator(Locator locator) {
if (saxLog.isDebugEnabled()) {
@@ -1463,13 +1480,14 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing error is to be reported
*/
+ @Override
public void skippedEntity(String name) throws SAXException {
if (saxLog.isDebugEnabled()) {
saxLog.debug("skippedEntity(" + name + ")");
}
- ; // No processing required
+ // No processing required
}
@@ -1479,6 +1497,7 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing error is to be reported
*/
+ @Override
public void startDocument() throws SAXException {
if (saxLog.isDebugEnabled()) {
@@ -1505,6 +1524,7 @@ public class Digester extends DefaultHan
* no attributes, it shall be an empty Attributes object.
* @exception SAXException if a parsing error is to be reported
*/
+ @Override
public void startElement(String namespaceURI, String localName,
String qName, Attributes list)
throws SAXException {
@@ -1586,6 +1606,7 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing error is to be reported
*/
+ @Override
public void startPrefixMapping(String prefix, String namespaceURI)
throws SAXException {
@@ -1614,6 +1635,7 @@ public class Digester extends DefaultHan
* @param publicId The public identifier (if any)
* @param systemId The system identifier (if any)
*/
+ @Override
public void notationDecl(String name, String publicId, String systemId) {
if (saxLog.isDebugEnabled()) {
@@ -1632,6 +1654,7 @@ public class Digester extends DefaultHan
* @param systemId The system identifier (if any)
* @param notation The name of the associated notation
*/
+ @Override
public void unparsedEntityDecl(String name, String publicId,
String systemId, String notation) {
@@ -1673,6 +1696,7 @@ public class Digester extends DefaultHan
* @exception SAXException if a parsing exception occurs
*
*/
+ @Override
public InputSource resolveEntity(String publicId, String systemId)
throws SAXException {
@@ -1740,6 +1764,7 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing exception occurs
*/
+ @Override
public void error(SAXParseException exception) throws SAXException {
log.error("Parse Error at line " + exception.getLineNumber() +
@@ -1760,6 +1785,7 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing exception occurs
*/
+ @Override
public void fatalError(SAXParseException exception) throws SAXException {
log.error("Parse Fatal Error at line " + exception.getLineNumber() +
@@ -1780,6 +1806,7 @@ public class Digester extends DefaultHan
*
* @exception SAXException if a parsing exception occurs
*/
+ @Override
public void warning(SAXParseException exception) throws SAXException {
if (errorHandler != null) {
log.warn("Parse Warning Error at line " + exception.getLineNumber() +
@@ -1801,6 +1828,7 @@ public class Digester extends DefaultHan
* @param message The message to be logged
* @deprecated Call getLogger() and use it's logging methods
*/
+ @Deprecated
public void log(String message) {
log.info(message);
@@ -1814,6 +1842,7 @@ public class Digester extends DefaultHan
* @param message The message to be logged
* @deprecated Call getLogger() and use it's logging methods
*/
+ @Deprecated
public void log(String message, Throwable exception) {
log.error(message, exception);
@@ -3131,7 +3160,7 @@ public class Digester extends DefaultHan
try {
source.getByteStream().close();
} catch (IOException e) {
- ; // Fall through so we get them all
+ // Fall through so we get them all
}
}
inputSources.clear();
@@ -3190,7 +3219,7 @@ public class Digester extends DefaultHan
protected void initialize() {
// Perform lazy initialization as needed
- ; // Nothing required by default
+ // Nothing required by default
}
@@ -3220,6 +3249,7 @@ public class Digester extends DefaultHan
* @deprecated Call <code>match()</code> on the <code>Rules</code>
* implementation returned by <code>getRules()</code>
*/
+ @Deprecated
List<Rule> getRules(String match) {
return (getRules().match(match));
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ExtendedBaseRules.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ExtendedBaseRules.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ExtendedBaseRules.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ExtendedBaseRules.java Wed Jul 21 19:47:00 2010
@@ -197,6 +197,7 @@ public class ExtendedBaseRules extends R
* @param pattern Nesting pattern to be matched for this Rule
* @param rule Rule instance to be registered
*/
+ @Override
public void add(String pattern, Rule rule) {
super.add(pattern, rule);
counter++;
@@ -213,6 +214,7 @@ public class ExtendedBaseRules extends R
*
* @param pattern Nesting pattern to be matched
*/
+ @Override
public List<Rule> match(String namespace, String pattern) {
// calculate the pattern of the parent
// (if the element has one)
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/FactoryCreateRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/FactoryCreateRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/FactoryCreateRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/FactoryCreateRule.java Wed Jul 21 19:47:00 2010
@@ -58,6 +58,7 @@ public class FactoryCreateRule extends R
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #FactoryCreateRule(String className)} instead.
*/
+ @Deprecated
public FactoryCreateRule(Digester digester, String className) {
this(className);
@@ -76,6 +77,7 @@ public class FactoryCreateRule extends R
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #FactoryCreateRule(Class clazz)} instead.
*/
+ @Deprecated
public FactoryCreateRule(Digester digester, Class<?> clazz) {
this(clazz);
@@ -97,6 +99,7 @@ public class FactoryCreateRule extends R
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #FactoryCreateRule(String className, String attributeName)} instead.
*/
+ @Deprecated
public FactoryCreateRule(Digester digester,
String className, String attributeName) {
@@ -119,6 +122,7 @@ public class FactoryCreateRule extends R
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #FactoryCreateRule(Class clazz, String attributeName)} instead.
*/
+ @Deprecated
public FactoryCreateRule(Digester digester,
Class<?> clazz, String attributeName) {
@@ -137,6 +141,7 @@ public class FactoryCreateRule extends R
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #FactoryCreateRule(ObjectCreationFactory creationFactory)} instead.
*/
+ @Deprecated
public FactoryCreateRule(Digester digester,
ObjectCreationFactory creationFactory) {
@@ -356,6 +361,7 @@ public class FactoryCreateRule extends R
*
* @param attributes The attribute list of this element
*/
+ @Override
public void begin(String namespace, String name, Attributes attributes) throws Exception {
if (ignoreCreateExceptions) {
@@ -403,6 +409,7 @@ public class FactoryCreateRule extends R
/**
* Process the end of this element.
*/
+ @Override
public void end(String namespace, String name) throws Exception {
// check if object was created
@@ -434,6 +441,7 @@ public class FactoryCreateRule extends R
/**
* Clean up after parsing is complete.
*/
+ @Override
public void finish() throws Exception {
if (attributeName != null) {
@@ -446,6 +454,7 @@ public class FactoryCreateRule extends R
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("FactoryCreateRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java Wed Jul 21 19:47:00 2010
@@ -206,6 +206,7 @@ public class NodeCreateRule extends Rule
* @param length the number of characters to read from the array
* @throws SAXException if the DOM implementation throws an exception
*/
+ @Override
public void characters(char[] ch, int start, int length)
throws SAXException {
@@ -221,6 +222,7 @@ public class NodeCreateRule extends Rule
* @param qName the qualified (prefixed) name
* @throws SAXException if the DOM implementation throws an exception
*/
+ @Override
public void endElement(String namespaceURI, String localName,
String qName)
throws SAXException {
@@ -253,6 +255,7 @@ public class NodeCreateRule extends Rule
* supplied
* @throws SAXException if the DOM implementation throws an exception
*/
+ @Override
public void processingInstruction(String target, String data)
throws SAXException {
@@ -275,6 +278,7 @@ public class NodeCreateRule extends Rule
* @param atts the list of attributes
* @throws SAXException if the DOM implementation throws an exception
*/
+ @Override
public void startElement(String namespaceURI, String localName,
String qName, Attributes atts)
throws SAXException {
@@ -426,6 +430,7 @@ public class NodeCreateRule extends Rule
* @param attributes The attribute list of this element
* @throws Exception indicates a JAXP configuration problem
*/
+ @Override
public void begin(String namespaceURI, String name, Attributes attributes)
throws Exception {
@@ -463,6 +468,7 @@ public class NodeCreateRule extends Rule
/**
* Pop the Node off the top of the stack.
*/
+ @Override
public void end() throws Exception {
digester.pop();
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ObjectCreateRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ObjectCreateRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ObjectCreateRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ObjectCreateRule.java Wed Jul 21 19:47:00 2010
@@ -44,6 +44,7 @@ public class ObjectCreateRule extends Ru
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #ObjectCreateRule(String className)} instead.
*/
+ @Deprecated
public ObjectCreateRule(Digester digester, String className) {
this(className);
@@ -60,6 +61,7 @@ public class ObjectCreateRule extends Ru
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #ObjectCreateRule(Class clazz)} instead.
*/
+ @Deprecated
public ObjectCreateRule(Digester digester, Class<?> clazz) {
this(clazz);
@@ -79,6 +81,7 @@ public class ObjectCreateRule extends Ru
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #ObjectCreateRule(String className, String attributeName)} instead.
*/
+ @Deprecated
public ObjectCreateRule(Digester digester, String className,
String attributeName) {
@@ -99,6 +102,7 @@ public class ObjectCreateRule extends Ru
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #ObjectCreateRule(String attributeName, Class clazz)} instead.
*/
+ @Deprecated
public ObjectCreateRule(Digester digester,
String attributeName,
Class<?> clazz) {
@@ -186,6 +190,7 @@ public class ObjectCreateRule extends Ru
*
* @param attributes The attribute list of this element
*/
+ @Override
public void begin(Attributes attributes) throws Exception {
// Identify the name of the class to instantiate
@@ -212,6 +217,7 @@ public class ObjectCreateRule extends Ru
/**
* Process the end of this element.
*/
+ @Override
public void end() throws Exception {
Object top = digester.pop();
@@ -226,6 +232,7 @@ public class ObjectCreateRule extends Ru
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("ObjectCreateRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ObjectParamRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ObjectParamRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ObjectParamRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ObjectParamRule.java Wed Jul 21 19:47:00 2010
@@ -93,6 +93,7 @@ public class ObjectParamRule extends Rul
*
* @param attributes The attribute list for this element
*/
+ @Override
public void begin(String namespace, String name,
Attributes attributes) throws Exception {
Object anAttribute = null;
@@ -113,6 +114,7 @@ public class ObjectParamRule extends Rul
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("ObjectParamRule[");
sb.append("paramIndex=");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java Wed Jul 21 19:47:00 2010
@@ -44,6 +44,7 @@ import org.xml.sax.SAXNotSupportedExcept
* {@link Digester} constructor, or use
* {@link Digester#setXMLSchema(Schema)} for validation.
*/
+@Deprecated
public class ParserFeatureSetterFactory {
/**
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/PathCallParamRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/PathCallParamRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/PathCallParamRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/PathCallParamRule.java Wed Jul 21 19:47:00 2010
@@ -68,6 +68,7 @@ public class PathCallParamRule extends R
* @param attributes The attribute list for this element
*/
+ @Override
public void begin(String namespace, String name, Attributes attributes) throws Exception {
String param = getDigester().getMatch();
@@ -82,6 +83,7 @@ public class PathCallParamRule extends R
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("PathCallParamRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/RegexRules.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/RegexRules.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/RegexRules.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/RegexRules.java Wed Jul 21 19:47:00 2010
@@ -83,6 +83,7 @@ public class RegexRules extends Abstract
* @param pattern Nesting pattern to be matched for this Rule
* @param rule Rule instance to be registered
*/
+ @Override
protected void registerRule(String pattern, Rule rule) {
registeredRules.add(new RegisteredRule(pattern, rule));
}
@@ -90,6 +91,7 @@ public class RegexRules extends Abstract
/**
* Clear all existing Rule instance registrations.
*/
+ @Override
public void clear() {
registeredRules.clear();
}
@@ -104,6 +106,7 @@ public class RegexRules extends Abstract
* @param pattern Nesting pattern to be matched
* @return a list of matching <code>Rule</code>'s
*/
+ @Override
public List<Rule> match(String namespaceURI, String pattern) {
//
// not a particularly quick implementation
@@ -130,6 +133,7 @@ public class RegexRules extends Abstract
* in the order originally registered through the <code>add()</code>
* method.
*/
+ @Override
public List<Rule> rules() {
ArrayList<Rule> rules = new ArrayList<Rule>(registeredRules.size());
for (RegisteredRule rr : registeredRules) {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Rule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Rule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Rule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Rule.java Wed Jul 21 19:47:00 2010
@@ -62,6 +62,7 @@ public abstract class Rule {
* @param digester The digester with which this rule is associated
* @deprecated The digester instance is now set in the {@link Digester#addRule} method. Use {@link #Rule()} instead.
*/
+ @Deprecated
public Rule(Digester digester) {
super();
@@ -147,9 +148,10 @@ public abstract class Rule {
* method with <code>namespace</code> and <code>name</code>
* parameters instead.
*/
+ @Deprecated
public void begin(Attributes attributes) throws Exception {
- ; // The default implementation does nothing
+ // The default implementation does nothing
}
@@ -187,9 +189,10 @@ public abstract class Rule {
* with <code>namespace</code> and <code>name</code> parameters
* instead.
*/
+ @Deprecated
public void body(String text) throws Exception {
- ; // The default implementation does nothing
+ // The default implementation does nothing
}
@@ -226,9 +229,10 @@ public abstract class Rule {
* @deprecated Use the {@link #end(String,String) end} method with
* <code>namespace</code> and <code>name</code> parameters instead.
*/
+ @Deprecated
public void end() throws Exception {
- ; // The default implementation does nothing
+ // The default implementation does nothing
}
@@ -261,7 +265,7 @@ public abstract class Rule {
*/
public void finish() throws Exception {
- ; // The default implementation does nothing
+ // The default implementation does nothing
}
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Rules.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Rules.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Rules.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/Rules.java Wed Jul 21 19:47:00 2010
@@ -98,6 +98,7 @@ public interface Rules {
*
* @deprecated Call match(namespaceURI,pattern) instead.
*/
+ @Deprecated
public List<Rule> match(String pattern);
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/RulesBase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/RulesBase.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/RulesBase.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/RulesBase.java Wed Jul 21 19:47:00 2010
@@ -195,6 +195,7 @@ public class RulesBase implements Rules
*
* @deprecated Call match(namespaceURI,pattern) instead.
*/
+ @Deprecated
public List<Rule> match(String pattern) {
return (match(null, pattern));
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetNestedPropertiesRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetNestedPropertiesRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetNestedPropertiesRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetNestedPropertiesRule.java Wed Jul 21 19:47:00 2010
@@ -194,6 +194,7 @@ public class SetNestedPropertiesRule ext
// --------------------------------------------------------- Public Methods
/** Invoked when rule is added to digester. */
+ @Override
public void setDigester(Digester digester) {
super.setDigester(digester);
log = digester.getLogger();
@@ -243,6 +244,7 @@ public class SetNestedPropertiesRule ext
* @param name is the name of the current xml element
* @param attributes is the attribute list of this element
*/
+ @Override
public void begin(String namespace, String name, Attributes attributes)
throws Exception {
Rules oldRules = digester.getRules();
@@ -258,6 +260,7 @@ public class SetNestedPropertiesRule ext
* so we can remove the custom Rules object that does the
* child-element-matching.
*/
+ @Override
public void body(String bodyText) throws Exception {
AnyChildRules newRules = (AnyChildRules) digester.getRules();
digester.setRules(newRules.getOldRules());
@@ -278,6 +281,7 @@ public class SetNestedPropertiesRule ext
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("SetNestedPropertiesRule[");
sb.append("allowUnknownChildElements=");
@@ -384,6 +388,7 @@ public class SetNestedPropertiesRule ext
private String currChildNamespaceURI = null;
private String currChildElementName = null;
+ @Override
public void begin(String namespaceURI, String name,
Attributes attributes) throws Exception {
@@ -391,11 +396,12 @@ public class SetNestedPropertiesRule ext
currChildElementName = name;
}
+ @Override
public void body(String value) throws Exception {
String propName = currChildElementName;
if (elementNames.containsKey(currChildElementName)) {
// overide propName
- propName = (String) elementNames.get(currChildElementName);
+ propName = elementNames.get(currChildElementName);
if (propName == null) {
// user wants us to ignore this element
return;
@@ -458,6 +464,7 @@ public class SetNestedPropertiesRule ext
}
}
+ @Override
public void end(String namespace, String name) throws Exception {
currChildElementName = null;
}
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetNextRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetNextRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetNextRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetNextRule.java Wed Jul 21 19:47:00 2010
@@ -59,6 +59,7 @@ public class SetNextRule extends Rule {
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetNextRule(String methodName)} instead.
*/
+ @Deprecated
public SetNextRule(Digester digester, String methodName) {
this(methodName);
@@ -79,6 +80,7 @@ public class SetNextRule extends Rule {
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetNextRule(String methodName,String paramType)} instead.
*/
+ @Deprecated
public SetNextRule(Digester digester, String methodName,
String paramType) {
@@ -181,6 +183,7 @@ public class SetNextRule extends Rule {
/**
* Process the end of this element.
*/
+ @Override
public void end() throws Exception {
// Identify the objects to be used
@@ -224,6 +227,7 @@ public class SetNextRule extends Rule {
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("SetNextRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetPropertiesRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetPropertiesRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetPropertiesRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetPropertiesRule.java Wed Jul 21 19:47:00 2010
@@ -52,6 +52,7 @@ public class SetPropertiesRule extends R
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetPropertiesRule()} instead.
*/
+ @Deprecated
public SetPropertiesRule(Digester digester) {
this();
@@ -161,6 +162,7 @@ public class SetPropertiesRule extends R
*
* @param attributes The attribute list of this element
*/
+ @Override
public void begin(Attributes attributes) throws Exception {
// Build a set of attribute names and corresponding values
@@ -294,6 +296,7 @@ public class SetPropertiesRule extends R
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("SetPropertiesRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetPropertyRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetPropertyRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetPropertyRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetPropertyRule.java Wed Jul 21 19:47:00 2010
@@ -53,6 +53,7 @@ public class SetPropertyRule extends Rul
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetPropertyRule(String name, String value)} instead.
*/
+ @Deprecated
public SetPropertyRule(Digester digester, String name, String value) {
this(name, value);
@@ -101,6 +102,7 @@ public class SetPropertyRule extends Rul
* @exception NoSuchMethodException if the bean does not
* have a writeable property of the specified name
*/
+ @Override
public void begin(Attributes attributes) throws Exception {
if (attributes.getLength() == 0 ) {
@@ -163,6 +165,7 @@ public class SetPropertyRule extends Rul
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("SetPropertyRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetRootRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetRootRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetRootRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetRootRule.java Wed Jul 21 19:47:00 2010
@@ -51,6 +51,7 @@ public class SetRootRule extends Rule {
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetRootRule(String methodName)} instead.
*/
+ @Deprecated
public SetRootRule(Digester digester, String methodName) {
this(methodName);
@@ -71,6 +72,7 @@ public class SetRootRule extends Rule {
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetRootRule(String methodName,String paramType)} instead.
*/
+ @Deprecated
public SetRootRule(Digester digester, String methodName,
String paramType) {
@@ -174,6 +176,7 @@ public class SetRootRule extends Rule {
/**
* Process the end of this element.
*/
+ @Override
public void end() throws Exception {
// Identify the objects to be used
@@ -217,6 +220,7 @@ public class SetRootRule extends Rule {
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("SetRootRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetTopRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetTopRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetTopRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SetTopRule.java Wed Jul 21 19:47:00 2010
@@ -50,6 +50,7 @@ public class SetTopRule extends Rule {
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetTopRule(String methodName)} instead.
*/
+ @Deprecated
public SetTopRule(Digester digester, String methodName) {
this(methodName);
@@ -70,6 +71,7 @@ public class SetTopRule extends Rule {
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetTopRule(String methodName, String paramType)} instead.
*/
+ @Deprecated
public SetTopRule(Digester digester, String methodName,
String paramType) {
@@ -172,6 +174,7 @@ public class SetTopRule extends Rule {
/**
* Process the end of this element.
*/
+ @Override
public void end() throws Exception {
// Identify the objects to be used
@@ -216,6 +219,7 @@ public class SetTopRule extends Rule {
/**
* Render a printable version of this Rule.
*/
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer("SetTopRule[");
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SimpleRegexMatcher.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SimpleRegexMatcher.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SimpleRegexMatcher.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/SimpleRegexMatcher.java Wed Jul 21 19:47:00 2010
@@ -70,6 +70,7 @@ public class SimpleRegexMatcher extends
* @param regexPattern the regex pattern the path will be tested against
* @return true if the given pattern matches the given path
*/
+ @Override
public boolean match(String basePattern, String regexPattern) {
// check for nulls
if (basePattern == null || regexPattern == null) {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/parser/GenericParser.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/parser/GenericParser.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/parser/GenericParser.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/parser/GenericParser.java Wed Jul 21 19:47:00 2010
@@ -42,6 +42,7 @@ import org.xml.sax.SAXNotRecognizedExcep
* {@link Digester#setXMLSchema(Schema)} for validation.
*/
+@Deprecated
public class GenericParser{
/**
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java Wed Jul 21 19:47:00 2010
@@ -47,6 +47,7 @@ import org.xml.sax.SAXNotSupportedExcept
* {@link Digester#setXMLSchema(Schema)} for validation.
*/
+@Deprecated
public class XercesParser{
/**
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginAssertionFailure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginAssertionFailure.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginAssertionFailure.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginAssertionFailure.java Wed Jul 21 19:47:00 2010
@@ -80,6 +80,7 @@ public class PluginAssertionFailure exte
*
* @since 1.8
*/
+ @Override
public Throwable getCause() {
return cause;
}
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginConfigurationException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginConfigurationException.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginConfigurationException.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginConfigurationException.java Wed Jul 21 19:47:00 2010
@@ -63,6 +63,7 @@ public class PluginConfigurationExceptio
*
* @since 1.8
*/
+ @Override
public Throwable getCause() {
return cause;
}
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginCreateRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginCreateRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginCreateRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginCreateRule.java Wed Jul 21 19:47:00 2010
@@ -299,6 +299,7 @@ public class PluginCreateRule extends Ru
* @throws PluginInvalidInputException
* @throws PluginConfigurationException
*/
+ @Override
public void begin(String namespace, String name,
org.xml.sax.Attributes attributes)
throws java.lang.Exception {
@@ -422,6 +423,7 @@ public class PluginCreateRule extends Ru
*
* @param text The body text of this element
*/
+ @Override
public void body(String namespace, String name, String text)
throws Exception {
@@ -455,6 +457,7 @@ public class PluginCreateRule extends Ru
*
* @see #begin
*/
+ @Override
public void end(String namespace, String name)
throws Exception {
@@ -506,7 +509,7 @@ public class PluginCreateRule extends Ru
boolean debug = log.isDebugEnabled();
for (int i = 0; i < rules.size(); i++) {
try {
- Rule rule = (Rule) rules.get(i);
+ Rule rule = rules.get(i);
if (debug) {
log.debug(" Fire begin() for " + rule);
}
@@ -535,7 +538,7 @@ public class PluginCreateRule extends Ru
boolean debug = log.isDebugEnabled();
for (int i = 0; i < rules.size(); i++) {
try {
- Rule rule = (Rule) rules.get(i);
+ Rule rule = rules.get(i);
if (debug) {
log.debug(" Fire body() for " + rule);
}
@@ -566,7 +569,7 @@ public class PluginCreateRule extends Ru
for (int i = 0; i < rules.size(); i++) {
int j = (rules.size() - i) - 1;
try {
- Rule rule = (Rule) rules.get(j);
+ Rule rule = rules.get(j);
if (debug) {
log.debug(" Fire end() for " + rule);
}
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginDeclarationRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginDeclarationRule.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginDeclarationRule.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginDeclarationRule.java Wed Jul 21 19:47:00 2010
@@ -61,6 +61,7 @@ public class PluginDeclarationRule exten
*@exception java.lang.Exception
*/
+ @Override
public void begin(String namespace, String name,
org.xml.sax.Attributes attributes)
throws java.lang.Exception {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginException.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginException.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginException.java Wed Jul 21 19:47:00 2010
@@ -57,6 +57,7 @@ public class PluginException extends Exc
/**
* @return the underlying exception that caused this to be thrown
*/
+ @Override
public Throwable getCause() {
return cause;
}
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginInvalidInputException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginInvalidInputException.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginInvalidInputException.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginInvalidInputException.java Wed Jul 21 19:47:00 2010
@@ -58,6 +58,7 @@ public class PluginInvalidInputException
*
* @since 1.8
*/
+ @Override
public Throwable getCause() {
return cause;
}
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginManager.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginManager.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginManager.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginManager.java Wed Jul 21 19:47:00 2010
@@ -111,7 +111,7 @@ public class PluginManager {
*/
public Declaration getDeclarationByClass(String className) {
Declaration decl =
- (Declaration) declarationsByClass.get(className);
+ declarationsByClass.get(className);
if ((decl == null) && (parent != null)) {
decl = parent.getDeclarationByClass(className);
@@ -128,7 +128,7 @@ public class PluginManager {
*@return The declaration value
*/
public Declaration getDeclarationById(String id) {
- Declaration decl = (Declaration) declarationsById.get(id);
+ Declaration decl = declarationsById.get(id);
if ((decl == null) && (parent != null)) {
decl = parent.getDeclarationById(id);
@@ -162,7 +162,7 @@ public class PluginManager {
for(Iterator<RuleFinder> i = ruleFinders.iterator();
i.hasNext() && ruleLoader == null; ) {
- RuleFinder finder = (RuleFinder) i.next();
+ RuleFinder finder = i.next();
if (debug) {
log.debug("checking finder of type " + finder.getClass().getName());
}
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginRules.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginRules.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginRules.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/PluginRules.java Wed Jul 21 19:47:00 2010
@@ -347,6 +347,7 @@ public class PluginRules implements Rule
*
* @deprecated Call match(namespaceURI,pattern) instead.
*/
+ @Deprecated
public List<Rule> match(String path) {
return (match(null, path));
}
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromClass.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromClass.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromClass.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromClass.java Wed Jul 21 19:47:00 2010
@@ -90,6 +90,7 @@ public class FinderFromClass extends Rul
* that class provided it has the correct prototype) as the source of
* dynamic rules for the plugged-in class.
*/
+ @Override
public RuleLoader findLoader(Digester digester, Class<?> pluginClass,
Properties p) throws PluginException {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltClass.java Wed Jul 21 19:47:00 2010
@@ -69,6 +69,7 @@ public class FinderFromDfltClass extends
* target method is expected to have the following prototype:
* <code> public static void xxxxx(Digester d, String patternPrefix); </code>
*/
+ @Override
public RuleLoader findLoader(Digester digester, Class<?> pluginClass, Properties p)
throws PluginException {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltMethod.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltMethod.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltMethod.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltMethod.java Wed Jul 21 19:47:00 2010
@@ -66,6 +66,7 @@ public class FinderFromDfltMethod extend
* target method is expected to have the following prototype:
* <code> public static void xxxxx(Digester d, String patternPrefix); </code>
*/
+ @Override
public RuleLoader findLoader(Digester d, Class<?> pluginClass, Properties p)
throws PluginException {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltResource.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltResource.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltResource.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromDfltResource.java Wed Jul 21 19:47:00 2010
@@ -68,6 +68,7 @@ public class FinderFromDfltResource exte
* The returned object (when non-null) will add the selected rules to
* the digester whenever its addRules method is invoked.
*/
+ @Override
public RuleLoader findLoader(Digester d, Class<?> pluginClass, Properties p)
throws PluginException {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromFile.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromFile.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromFile.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromFile.java Wed Jul 21 19:47:00 2010
@@ -67,6 +67,7 @@ public class FinderFromFile extends Rule
* The returned object (when non-null) will add the selected rules to
* the digester whenever its addRules method is invoked.
*/
+ @Override
public RuleLoader findLoader(Digester d, Class<?> pluginClass, Properties p)
throws PluginException {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromMethod.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromMethod.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromMethod.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromMethod.java Wed Jul 21 19:47:00 2010
@@ -63,6 +63,7 @@ public class FinderFromMethod extends Ru
* target method is expected to have the following prototype:
* <code> public static void xxxxx(Digester d, String patternPrefix); </code>
*/
+ @Override
public RuleLoader findLoader(Digester d, Class<?> pluginClass, Properties p)
throws PluginException {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromResource.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromResource.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromResource.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderFromResource.java Wed Jul 21 19:47:00 2010
@@ -64,6 +64,7 @@ public class FinderFromResource extends
* The returned object (when non-null) will add the selected rules to
* the digester whenever its addRules method is invoked.
*/
+ @Override
public RuleLoader findLoader(Digester d, Class<?> pluginClass, Properties p)
throws PluginException {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderSetProperties.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderSetProperties.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderSetProperties.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/FinderSetProperties.java Wed Jul 21 19:47:00 2010
@@ -84,6 +84,7 @@ public class FinderSetProperties extends
* The returned object (when non-null) will add a SetPropertiesRule to
* the digester whenever its addRules method is invoked.
*/
+ @Override
public RuleLoader findLoader(Digester d, Class<?> pluginClass, Properties p) {
String state = p.getProperty(propsAttr);
if ((state != null) && state.equals(falseval)) {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderFromClass.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderFromClass.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderFromClass.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderFromClass.java Wed Jul 21 19:47:00 2010
@@ -64,6 +64,7 @@ public class LoaderFromClass extends Rul
/**
* Just invoke the target method.
*/
+ @Override
public void addRules(Digester d, String path) throws PluginException {
Log log = d.getLogger();
boolean debug = log.isDebugEnabled();
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderFromStream.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderFromStream.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderFromStream.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderFromStream.java Wed Jul 21 19:47:00 2010
@@ -71,6 +71,7 @@ public class LoaderFromStream extends Ru
* Add the rules previously loaded from the input stream into the
* specified digester.
*/
+ @Override
public void addRules(Digester d, String path) throws PluginException {
Log log = d.getLogger();
boolean debug = log.isDebugEnabled();
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderSetProperties.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderSetProperties.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderSetProperties.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/plugins/strategies/LoaderSetProperties.java Wed Jul 21 19:47:00 2010
@@ -39,6 +39,7 @@ public class LoaderSetProperties extends
/**
* Just add a SetPropertiesRule at the specified path.
*/
+ @Override
public void addRules(Digester digester, String path) {
Log log = digester.getLogger();
boolean debug = log.isDebugEnabled();
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/substitution/VariableSubstitutor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/substitution/VariableSubstitutor.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/substitution/VariableSubstitutor.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/substitution/VariableSubstitutor.java Wed Jul 21 19:47:00 2010
@@ -79,6 +79,7 @@ public class VariableSubstitutor extends
* Substitutes the attributes (before they are passed to the
* <code>Rule</code> implementations's)
*/
+ @Override
public Attributes substitute(Attributes attributes) {
Attributes results = attributes;
if (attributesExpander != null) {
@@ -96,6 +97,7 @@ public class VariableSubstitutor extends
* @param bodyText the body text (as passed to <code>Digester</code>)
* @return the body text to be passed to the <code>Rule</code> implementations
*/
+ @Override
public String substitute(String bodyText) {
String result = bodyText;
if (bodyTextExpander != null) {
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterLoadingException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterLoadingException.java?rev=966382&r1=966381&r2=966382&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterLoadingException.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterLoadingException.java Wed Jul 21 19:47:00 2010
@@ -61,6 +61,7 @@ public class DigesterLoadingException ex
*
* @since 1.8
*/
+ @Override
public Throwable getCause() {
return cause;
}