Class pmr.sgml.GI
All Packages Class Hierarchy This Package Previous Next Index
Class pmr.sgml.GI
java.lang.Object
|
+----pmr.sgml.GI
- public class GI
- extends Object
holds details of each GI such as its DTD (and potentially attlist,
content model, etc. GIs should only be created from within DTD objects.
GIs will manage the display instructions (a la stylesheet).
- Author:
- (C) P. Murray-Rust, 1996
-
GI()
-
-
GI(String, String)
-
-
addContentModel(String)
-
-
addSGMLAttributes(SGMLAttlist)
-
-
areChildrenHidden()
-
-
debug()
-
-
drawDefaultIcon(Graphics, int, int)
- early steps at providing graphic hints!
-
drawIcon(Graphics, int, int)
- this is just proof of concept - requires proper class loading via
interfaces, as does the GI/DTD stuff anayway
-
drawNullIcon(Graphics, int, int)
- early steps at providing graphic hints!
-
getContentModel()
-
-
getDTDName()
-
-
getDTDName(String)
-
-
getGI(String)
-
-
getGIName()
-
-
getSGMLAttributes()
-
-
hidesChildWithGIName(String)
- returns true if name is in omittable list or displayable list is
set and name is not in it
-
isHidden()
-
-
setChildrenHidden(boolean)
-
-
setDisplayedChildren(String[])
- IFF this is set, then only these children are displayed, else it
is ignored; toggles omittedChildren
-
setHidden(boolean)
-
-
setOmittedChildren(String[])
- IFF this is set, then only these children are omitted, else it
is ignored; toggles displayedChildren
GI
public GI()
GI
public GI(String giName,
String dtdName) throws DuplicateGIException
getDTDName
public static String getDTDName(String giName)
getGI
public static GI getGI(String giName)
getGIName
public String getGIName()
getDTDName
public String getDTDName()
getSGMLAttributes
public SGMLAttlist getSGMLAttributes()
addSGMLAttributes
public void addSGMLAttributes(SGMLAttlist al)
getContentModel
public String getContentModel()
addContentModel
public void addContentModel(String cm)
isHidden
public boolean isHidden()
areChildrenHidden
public boolean areChildrenHidden()
setHidden
public void setHidden(boolean vis)
setChildrenHidden
public void setChildrenHidden(boolean vis)
setDisplayedChildren
public void setDisplayedChildren(String giNames[])
- IFF this is set, then only these children are displayed, else it
is ignored; toggles omittedChildren
setOmittedChildren
public void setOmittedChildren(String giNames[])
- IFF this is set, then only these children are omitted, else it
is ignored; toggles displayedChildren
hidesChildWithGIName
public boolean hidesChildWithGIName(String name)
- returns true if name is in omittable list or displayable list is
set and name is not in it
drawNullIcon
public static void drawNullIcon(Graphics g,
int x,
int y)
- early steps at providing graphic hints!
drawDefaultIcon
public void drawDefaultIcon(Graphics g,
int x,
int y)
- early steps at providing graphic hints!
drawIcon
public void drawIcon(Graphics g,
int x,
int y)
- this is just proof of concept - requires proper class loading via
interfaces, as does the GI/DTD stuff anayway
debug
public void debug()
All Packages Class Hierarchy This Package Previous Next Index