7778798081828384858687
"<?xml version='1.0'?>\n" + "<box id='root'>\n" + " <subBox id='box1'/>\n" + " <ignoreme/>\n" + " <subBox id='box2'/> <subBox id='box3'/>\n" + "</box>"; LocationTracker locnTracker = new LocationTracker(); Digester digester = newLoader( new AbstractRulesModule() { @Override protected void configure() {
5152535455565758596061
*/ @Test public void testBasic() throws SAXException, IOException { Digester digester = newLoader( new AbstractRulesModule() { @Override protected void configure() {
7172737475767778798081
@Override protected Collection<RulesModule> getAuxModules() { Collection<RulesModule> modules = new Stack<RulesModule>(); modules.add( new AbstractRulesModule() { @Override public void configure() {
6162636465666768697071
StringBuilder input = new StringBuilder(); input.append( "<root>" ); input.append( " <item id='1'>anitem</item>" ); input.append( "</root>" ); Digester digester = newLoader( new AbstractRulesModule() { @Override protected void configure() {
96979899100101102103104105106
131132133134135136137138139140141
StringBuilder input = new StringBuilder(); input.append( "<root>" ); input.append( " <item>1</item>" ); input.append( "</root>" ); Digester digester = newLoader( new AbstractRulesModule() { @Override protected void configure() {
192193194195196197198199200201202
input.append( " <id value='1'/>" ); input.append( " <name value='name'/>" ); input.append( " </item>" ); input.append( "</root>" ); Digester digester = newLoader( new AbstractRulesModule() { @Override protected void configure() {
238239240241242243244245246247248
input.append( " <box id='C1'/>" ); input.append( " <box id='C2'/>" ); input.append( " </box>" ); input.append( "</box>" ); Digester digester = newLoader( new AbstractRulesModule() { @Override protected void configure() {
282283284285286287288289290291292
input.append( " <box>C1</box>" ); input.append( " <box>C2</box>" ); input.append( " </box>" ); input.append( "</box>" ); Digester digester = newLoader( new AbstractRulesModule() { @Override protected void configure() {
4445464748495051525354
*/ @Test public void testXInclude() throws SAXException, IOException { Digester digester = newLoader( new AbstractRulesModule() { @Override protected void configure() {