public virtual void Deactivate()
 {
     if (parent != null)
     {
         this.GetReader().Handler = parent;
         parent.ChildDeactivated(this);
         parent = null;
     }
 }
 public override void Activate
     (ChainedSAXHandler parent, IAttributes attributes)
 {
     base.Activate(parent, attributes);
     if (pool != null)
     {
         pool.Remove(this);
     }
 }
 public virtual void Activate(ChainedSAXHandler parent, IAttributes attributes)
 {
     if (parent != null)
     {
         if (parent == this)
         {
             throw new ArgumentException("A ChainedSAXParser cannot be its parent");
         }
         this.parent = parent;
         this.SetDocumentLocator(parent.GetLocator());
         this.GetReader().Handler = this;
     }
 }
 public virtual void ChildDeactivated(ChainedSAXHandler child)
 {
 }
Example #5
0
 public override void Activate
     (ChainedSAXHandler parent, IAttributes attributes)
 {
     base.Activate(parent, attributes);
 }