w3c.model.www.pep.bags.PEPBag

w3c.model.www.pep.bags.PEPBag

// PEPBag.java
// $Id: PEPBag.java,v 1.1 1997/07/21 21:55:44 eric Exp $
// (c) COPYRIGHT MIT and INRIA, 1996.
// Please first read the full copyright statement in file COPYRIGHT.html

package w3c.model.www.pep.bags;

import java.util.*;
import java.io.*;
import w3c.model.www.pep.*;
import w3c.model.www.pep.altlib.*;

abstract public class PEPBag extends HttpRawBag 
    InstanceContext instanceContext;

    public PEPBag (String name, InstanceContext instanceContext)
//		throws HttpParserException 
    {
	super(true, name); this.instanceContext = instanceContext;
    }

    /* updateByteValue is only implemented in PEPLineBag. 
     * The rest of the subclasses use bufferize.
     */
    protected void updateByteValue() {}

    abstract protected void bufferize (HttpBuffer buf);