Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.dom4j.io;
 /*    */ 
 /*    */ import org.dom4j.DocumentFactory;
 /*    */ import org.xml.sax.SAXException;
 /*    */ import org.xml.sax.XMLReader;
 /*    */ 
 /*    */ class SAXModifyReader extends SAXReader
 /*    */ {
 /*    */   private XMLWriter xmlWriter;
/*    */   private boolean pruneElements;
/*    */ 
/*    */   public SAXModifyReader()
/*    */   {
/*    */   }
/*    */ 
/*    */   public SAXModifyReader(boolean validating)
/*    */   {
/* 36 */     super(validating);
/*    */   }
/*    */ 
/*    */   public SAXModifyReader(DocumentFactory factory) {
/* 40 */     super(factory);
/*    */   }
/*    */ 
/*    */   public SAXModifyReader(DocumentFactory factoryboolean validating) {
/* 44 */     super(factory, validating);
/*    */   }
/*    */ 
/*    */   public SAXModifyReader(XMLReader xmlReader) {
/* 48 */     super(xmlReader);
/*    */   }
/*    */ 
/*    */   public SAXModifyReader(XMLReader xmlReaderboolean validating) {
/* 52 */     super(xmlReader, validating);
/*    */   }
/*    */ 
/*    */   public SAXModifyReader(String xmlReaderClassNamethrows SAXException {
/* 56 */     super(xmlReaderClassName);
/*    */   }
/*    */ 
/*    */   public SAXModifyReader(String xmlReaderClassNameboolean validatingthrows SAXException
/*    */   {
/* 61 */     super(xmlReaderClassName, validating);
/*    */   }
/*    */ 
/*    */   public void setXMLWriter(XMLWriter writer) {
/* 65 */     this.xmlWriter = writer;
/*    */   }
/*    */ 
/*    */   public boolean isPruneElements() {
/* 69 */     return this.pruneElements;
/*    */   }
/*    */ 
/*    */   public void setPruneElements(boolean pruneElements) {
/* 73 */     this.pruneElements = pruneElements;
/*    */   }
/*    */ 
/*    */   protected SAXContentHandler createContentHandler(XMLReader reader) {
/* 77 */     SAXModifyContentHandler handler = new SAXModifyContentHandler(getDocumentFactory(), getDispatchHandler());
/*    */ 
/* 80 */     handler.setXMLWriter(this.xmlWriter);
/*    */ 
/* 82 */     return handler;
/*    */   }
/*    */ 
/*    */   protected XMLWriter getXMLWriter() {
/* 86 */     return this.xmlWriter;
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     org.dom4j.io.SAXModifyReader
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X