public void begin(String namespace,
String name,
Attributes attributes) throws Exception {
// --------------------------------------------------------- Public Methods
Object anAttribute = null;
Object parameters[] = (Object[]) digester.peekParams();
if (attributeName != null) {
anAttribute = attributes.getValue(attributeName);
if(anAttribute != null) {
parameters[paramIndex] = param;
}
// note -- if attributeName != null and anAttribute == null, this rule
// will pass null as its parameter!
}else{
parameters[paramIndex] = param;
}
}
Process the start of this element. |