{ Hashtable attlist;  if (skippedPE) return;   attlist = getElementAttributes (elName); if (attlist == null) attlist = new Hashtable ();   if (attlist.get (name) != null) {  return; } else { Object attribute [] = new Object [5]; attribute [0] = type; attribute [1] = value; attribute [2] = new Integer (valueType); attribute [3] = enumeration; attribute [4] = null; attlist.put (name, attribute);   setElement (elName, CONTENT_UNDECLARED, null, attlist); } }
{ HashMap attlist;  if (skippedPE) { return; }   attlist = getElementAttributes(elName); if (attlist == null) { attlist = new HashMap(); }   if (attlist.get(name) != null) {  return; } else { AttributeDecl attribute = new AttributeDecl(); attribute.type = type; attribute.value = value; attribute.valueType = valueType; attribute.enumeration = enumeration; attlist.put(name, attribute);   setElement(elName, CONTENT_UNDECLARED, null, attlist); } }
    private void setAttribute (String elName, String name, String type,			String enumeration,			String value, int valueType)    throws Exception    {	Hashtable attlist;	if (skippedPE)	    return;	// Create a new hashtable if necessary.	attlist = getElementAttributes (elName);	if (attlist == null)	    attlist = new Hashtable ();	// ignore multiple attribute declarations!	if (attlist.get (name) != null) {	    // warn ...	    return;	} else {	    Object attribute [] = new Object [5];	    attribute [0] = type;	    attribute [1] = value;	    attribute [2] = new Integer (valueType);	    attribute [3] = enumeration;	    attribute [4] = null;	    attlist.put (name, attribute);	    // save; but don't overwrite any existing <!ELEMENT ...>	    setElement (elName, CONTENT_UNDECLARED, null, attlist);	}    }