예제 #1
0
 public virtual void Deactivate()
 {
     if (parent != null)
     {
         this.GetReader().Handler = parent;
         parent.ChildDeactivated(this);
         parent = null;
     }
 }
예제 #2
0
 public override void Activate
     (ChainedSAXHandler parent, IAttributes attributes)
 {
     base.Activate(parent, attributes);
     if (pool != null)
     {
         pool.Remove(this);
     }
 }
예제 #3
0
 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;
     }
 }
예제 #4
0
 public virtual void ChildDeactivated(ChainedSAXHandler child)
 {
 }
예제 #5
0
 public override void Activate
     (ChainedSAXHandler parent, IAttributes attributes)
 {
     base.Activate(parent, attributes);
 }