/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* This class defines the attributes of an SGML element
* as described in a DTD using the ATTLIST construct.
* An AttributeList can be obtained from the Element
* class using the getAttributes() method.
* <p>
* It is actually an element in a linked list. Use the
* getNext() method repeatedly to enumerate all the attributes
* of an element.
*
* @see Element
* @author Arthur Van Hoff
*
*/
public final
public int type;
public int modifier;
AttributeList() {
}
/**
* Create an attribute list element.
*/
}
/**
* Create an attribute list element.
*/
public AttributeList(String name, int type, int modifier, String value, Vector<?> values, AttributeList next) {
}
/**
* @return attribute name
*/
return name;
}
/**
* @return attribute type
* @see DTDConstants
*/
public int getType() {
return type;
}
/**
* @return attribute modifier
* @see DTDConstants
*/
public int getModifier() {
return modifier;
}
/**
* @return possible attribute values
*/
}
/**
* @return default attribute value
*/
return value;
}
/**
* @return the next attribute in the list
*/
return next;
}
/**
* @return string representation
*/
return name;
}
/**
* Create a hashtable of attribute types.
*/
}
static {
}
}
}
}