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
-
SGMLAttlist()
-
-
addSGMLAttribute(SGMLAttribute)
- adds a new attribute with value, OR replaces old value (no message)
-
debug()
-
-
elementAt(int)
-
-
getAttval(String)
-
-
getSGMLAttributes()
-
-
hasAttname(String)
-
-
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;
-
size()
-
-
toString()
-
SGMLAttlist
public SGMLAttlist()
size
public int size()
getSGMLAttributes
public SGMLAttribute[] getSGMLAttributes()
elementAt
public SGMLAttribute elementAt(int i)
hasAttname
public boolean hasAttname(String attname)
getAttval
public String getAttval(String attname)
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;
addSGMLAttribute
public void addSGMLAttribute(SGMLAttribute a)
- adds a new attribute with value, OR replaces old value (no message)
debug
public void debug()
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index