throws SAXException {  if (ELEMENT_SAXFILTER.equals( localName ) && this.config) {  this.saxfilter.setProperties(properties); this.manager.addSAXFilter(this.saxfilter, this.name);  } else if (ELEMENT_SAXSERIALIZER.equals( localName )) {  this.saxserializer.setProperties(this.properties); this.manager.addSAXSerializer(this.saxserializer, this.name);  } else if (ELEMENT_PIPELINE.equals( localName )) {  this.manager.addProcessPipeline(this.pipeline);  } else if (ELEMENT_SERIALIZE.equals( localName )) { this.pipeline.setSAXSerializer(this.manager.getSAXSerializer( this.name));  this.pipeline.setSerializerProperties(this.properties);   } else if (ELEMENT_FILTER.equals( localName )) {  SAXFilterConfig config = new SAXFilterConfig(this.properties); config.setFilterName(this.name); this.pipeline.addSAXFilterConfig(config);  } else if (ELEMENT_POSTPROCESS.equals( localName )) {  PostProcessorConfig config = new PostProcessorConfig(this.properties); config.setPostProcessorName(this.name); this.pipeline.addPostProcessorConfig(config);  } else if (ELEMENT_POSTPROCESSOR.equals( localName )) {  this.postprocessor.setProperties(this.properties); this.manager.addPostProcessor(this.postprocessor, this.name);  } else if (ELEMENT_CONFIGURATION.equals( localName )) {  this.config = false;  }else if (ELEMENT_GENERATE.equals( localName )) { if(this.aggregate){ this.aggregator.addSAXGenerator(this.manager.getSAXGenerator( this.name)); }else{ this.pipeline.setSAXGenerator(this.manager.getSAXGenerator( this.name));  } }else if (ELEMENT_SAXGENERATOR.equals( localName )) {  this.saxgenerator.setProperties(this.properties); this.manager.addSAXGenerator(this.saxgenerator, this.name);  } }
throws SAXException {  if (namespaceURI.equals(XMLNS_KABEJA_PROCESSING)) {  if (ELEMENT_SAXFILTER.equals(localName) && this.config) {  this.saxfilter.setProperties(properties); this.manager.addSAXFilter(this.saxfilter, this.name);  } else if (ELEMENT_SAXSERIALIZER.equals(localName)) {  this.saxserializer.setProperties(this.properties); this.manager.addSAXSerializer(this.saxserializer, this.name);  } else if (ELEMENT_PIPELINE.equals(localName)) {  this.manager.addProcessPipeline(this.pipeline);  } else if (ELEMENT_SERIALIZE.equals(localName)) { this.pipeline.setSAXSerializer(this.manager .getSAXSerializer(this.name));  this.pipeline.setSerializerProperties(this.properties);  } else if (ELEMENT_FILTER.equals(localName)) {  SAXFilterConfig config = new SAXFilterConfig(this.properties); config.setFilterName(this.name); this.pipeline.addSAXFilterConfig(config);  } else if (ELEMENT_POSTPROCESS.equals(localName)) {  PostProcessorConfig config = new PostProcessorConfig( this.properties); config.setPostProcessorName(this.name); this.pipeline.addPostProcessorConfig(config);  } else if (ELEMENT_POSTPROCESSOR.equals(localName)) {  this.postprocessor.setProperties(this.properties); this.manager.addPostProcessor(this.postprocessor, this.name);  } else if (ELEMENT_CONFIGURATION.equals(localName)) {  this.config = false;  } else if (ELEMENT_GENERATE.equals(localName)) { if (this.aggregate) { this.aggregator.addSAXGenerator(this.manager .getSAXGenerator(this.name)); } else { this.pipeline.setSAXGenerator(this.manager .getSAXGenerator(this.name));  } } else if (ELEMENT_SAXGENERATOR.equals(localName)) {  this.saxgenerator.setProperties(this.properties); this.manager.addSAXGenerator(this.saxgenerator, this.name);  } } else if (namespaceURI.equals(SAXParserBuilder.XMLNS_KABEJA_PARSER)) {  this.parserBuilder.endElement(namespaceURI, localName, qName); System.out.println("END parser="+localName); if (localName.equals(ELEMENT_PARSER)) { this.parserBuilder.endDocument(); System.out.println("end parers"); Parser p = this.parserBuilder.getParser(); System.out.println("end parers="+p); this.manager.addParser(p); }  } }
    public void endElement(String namespaceURI, String localName, String qName)        throws SAXException {    	        if (ELEMENT_SAXFILTER.equals( localName ) && this.config) {        	            this.saxfilter.setProperties(properties);            this.manager.addSAXFilter(this.saxfilter, this.name);                    } else if (ELEMENT_SAXSERIALIZER.equals( localName )) {        	            this.saxserializer.setProperties(this.properties);            this.manager.addSAXSerializer(this.saxserializer, this.name);                    } else if (ELEMENT_PIPELINE.equals( localName )) {        	            this.manager.addProcessPipeline(this.pipeline);                    } else if (ELEMENT_SERIALIZE.equals( localName )) {            this.pipeline.setSAXSerializer(this.manager.getSAXSerializer(                    this.name));                        this.pipeline.setSerializerProperties(this.properties);                                } else if (ELEMENT_FILTER.equals( localName )) {        	            SAXFilterConfig config = new SAXFilterConfig(this.properties);            config.setFilterName(this.name);            this.pipeline.addSAXFilterConfig(config);                    } else if (ELEMENT_POSTPROCESS.equals( localName )) {        	            PostProcessorConfig config = new PostProcessorConfig(this.properties);            config.setPostProcessorName(this.name);            this.pipeline.addPostProcessorConfig(config);                    } else if (ELEMENT_POSTPROCESSOR.equals( localName )) {        	            this.postprocessor.setProperties(this.properties);            this.manager.addPostProcessor(this.postprocessor, this.name);                    } else if (ELEMENT_CONFIGURATION.equals( localName )) {        	            this.config = false;                    }else if (ELEMENT_GENERATE.equals( localName )) {        	if(this.aggregate){        	    this.aggregator.addSAXGenerator(this.manager.getSAXGenerator(                    this.name));        	}else{            this.pipeline.setSAXGenerator(this.manager.getSAXGenerator(                    this.name));                            	}        }else if (ELEMENT_SAXGENERATOR.equals( localName )) {        	            this.saxgenerator.setProperties(this.properties);            this.manager.addSAXGenerator(this.saxgenerator, this.name);                    }    }