Class pmr.sgml.SGMLAttlist
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.sgml.SGMLAttlist

java.lang.Object
   |
   +----pmr.sgml.SGMLAttlist

public class SGMLAttlist
extends Object
list of SGMLAttributes; maps directly onto ATTLIST in an SGML DTD
Author:
(C) P. Murray-Rust, 1996

Constructor Index

 o SGMLAttlist()

Method Index

 o addSGMLAttribute(SGMLAttribute)
adds a new attribute with value, OR replaces old value (no message)
 o debug()
 o elementAt(int)
 o getAttval(String)
 o getSGMLAttributes()
 o hasAttname(String)
 o hasAttval(String, String)
returns true if there is an attribute with given value; if value is "", returns true even if no attribute of that name (use hasAttname instead)x;
 o size()
 o toString()

Constructors

 o SGMLAttlist
  public SGMLAttlist()

Methods

 o size
  public int size()
 o getSGMLAttributes
  public SGMLAttribute[] getSGMLAttributes()
 o elementAt
  public SGMLAttribute elementAt(int i)
 o hasAttname
  public boolean hasAttname(String attname)
 o getAttval
  public String getAttval(String attname)
 o hasAttval
  public boolean hasAttval(String attname,
                           String attval)
returns true if there is an attribute with given value; if value is "", returns true even if no attribute of that name (use hasAttname instead)x;
 o addSGMLAttribute
  public void addSGMLAttribute(SGMLAttribute a)
adds a new attribute with value, OR replaces old value (no message)
 o debug
  public void debug()
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index