|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| PopRule.java | - | 75% | 75% | 75% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* brownies and its relative products are published under the terms
|
|
| 3 |
* of the Apache Software License.
|
|
| 4 |
*
|
|
| 5 |
* Created on 2004/08/12 17:25:48
|
|
| 6 |
*/
|
|
| 7 |
package org.asyrinx.brownie.core.xml.digester;
|
|
| 8 |
|
|
| 9 |
import org.apache.commons.digester.Rule;
|
|
| 10 |
import org.xml.sax.Attributes;
|
|
| 11 |
|
|
| 12 |
/**
|
|
| 13 |
* @author akima
|
|
| 14 |
*/
|
|
| 15 |
public class PopRule extends Rule { |
|
| 16 |
|
|
| 17 |
/**
|
|
| 18 |
*
|
|
| 19 |
*/
|
|
| 20 | 1 |
public PopRule() {
|
| 21 | 1 |
super();
|
| 22 |
} |
|
| 23 |
|
|
| 24 |
/**
|
|
| 25 |
* @see org.apache.commons.digester.Rule#begin(org.xml.sax.Attributes)
|
|
| 26 |
* @deprecated
|
|
| 27 |
*/
|
|
| 28 | 0 |
public void begin(Attributes attributes) throws Exception { |
| 29 | 0 |
execute(); |
| 30 |
} |
|
| 31 |
|
|
| 32 |
/**
|
|
| 33 |
* @see org.apache.commons.digester.Rule#begin(java.lang.String,
|
|
| 34 |
* java.lang.String, org.xml.sax.Attributes)
|
|
| 35 |
*/
|
|
| 36 | 1 |
public void begin(String namespace, String name, Attributes attributes) throws Exception { |
| 37 | 1 |
execute(); |
| 38 |
} |
|
| 39 |
|
|
| 40 |
/**
|
|
| 41 |
*/
|
|
| 42 | 1 |
private void execute() { |
| 43 | 1 |
digester.pop(); |
| 44 |
} |
|
| 45 |
} |
|
||||||||||