first commit

This commit is contained in:
2025-07-28 13:56:49 +05:30
commit e9eb805edb
3438 changed files with 520990 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
package org.apache.commons.digester;
import org.xml.sax.Attributes;
public abstract class Rule {
protected Digester digester;
protected String namespaceURI;
public Rule(Digester digester) {
this.digester = null;
this.namespaceURI = null;
setDigester(digester);
}
public Rule() {
this.digester = null;
this.namespaceURI = null;
}
public Digester getDigester() {
return this.digester;
}
public void setDigester(Digester digester) {
this.digester = digester;
}
public String getNamespaceURI() {
return this.namespaceURI;
}
public void setNamespaceURI(String namespaceURI) {
this.namespaceURI = namespaceURI;
}
public void begin(Attributes attributes) throws Exception {}
public void begin(String namespace, String name, Attributes attributes) throws Exception {
begin(attributes);
}
public void body(String text) throws Exception {}
public void body(String namespace, String name, String text) throws Exception {
body(text);
}
public void end() throws Exception {}
public void end(String namespace, String name) throws Exception {
end();
}
public void finish() throws Exception {}
}