| java.lang.Object org.apache.xerces.util.XMLResourceIdentifierImpl org.apache.xerces.impl.dtd.XMLDTDDescription
equals | public boolean equals(Object desc)(Code) | | Compares this grammar with the given grammar. Currently, we compare
as follows:
- if grammar type not equal return false immediately
- try and find a common root name:
- if both have roots, use them
- else if one has a root, examine other's possible root's for a match;
- else try all combinations
- test fExpandedSystemId and fPublicId as above
Parameters: desc - The description of the grammar to be compared with True if they are equal, else false |
getRootName | public String getRootName()(Code) | | the root name of this DTD or null if root name is unknown |
hashCode | public int hashCode()(Code) | | 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...
The hash code |
setPossibleRoots | public void setPossibleRoots(Vector possibleRoots)(Code) | | Set possible roots *
|
setRootName | public void setRootName(String rootName)(Code) | | Set the root name *
|
|
|