org.apache.xerces.impl.dtd
public class XMLDTDDescription extends XMLResourceIdentifierImpl implements XMLDTDDescription
Version: $Id: XMLDTDDescription.java,v 1.9 2004/10/04 21:57:30 mrglavas Exp $
UNKNOWN:
Field Summary | |
---|---|
protected Vector | fPossibleRoots |
protected String | fRootName |
Constructor Summary | |
---|---|
XMLDTDDescription(XMLResourceIdentifier id, String rootName) | |
XMLDTDDescription(String publicId, String literalId, String baseId, String expandedId, String rootName) | |
XMLDTDDescription(XMLInputSource source) |
Method Summary | |
---|---|
boolean | equals(Object desc)
Compares this grammar with the given grammar. |
String | getGrammarType() |
String | getRootName() |
int | hashCode()
Returns the hash code of this grammar
Because our .equals method is so complex, we just return a very
simple hash that might avoid calls to the equals method a bit... |
void | setPossibleRoots(Vector possibleRoots) Set possible roots * |
void | setRootName(String rootName) Set the root name * |
Parameters: desc The description of the grammar to be compared with
Returns: True if they are equal, else false
Returns: the root name of this DTD or null if root name is unknown
Returns: The hash code