|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.util.XMLResourceIdentifierImpl org.apache.xerces.impl.dtd.XMLDTDDescription
public class XMLDTDDescription
All information specific to DTD grammars.
Field Summary |
---|
Fields inherited from interface org.apache.xerces.xni.grammars.XMLGrammarDescription |
---|
XML_DTD, XML_SCHEMA |
Constructor Summary | |
---|---|
XMLDTDDescription(java.lang.String publicId,
java.lang.String literalId,
java.lang.String baseId,
java.lang.String expandedId,
java.lang.String rootName)
|
|
XMLDTDDescription(XMLInputSource source)
|
|
XMLDTDDescription(XMLResourceIdentifier id,
java.lang.String rootName)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object desc)
Compares this grammar with the given grammar. |
java.lang.String |
getGrammarType()
Return the type of this grammar. |
java.lang.String |
getRootName()
Return the root name of this DTD. |
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(java.util.Vector possibleRoots)
Set possible roots |
void |
setRootName(java.lang.String rootName)
Set the root name |
Methods inherited from class org.apache.xerces.util.XMLResourceIdentifierImpl |
---|
clear, getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicId, setValues, setValues, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.xerces.xni.XMLResourceIdentifier |
---|
getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicId |
Constructor Detail |
---|
public XMLDTDDescription(XMLResourceIdentifier id, java.lang.String rootName)
public XMLDTDDescription(java.lang.String publicId, java.lang.String literalId, java.lang.String baseId, java.lang.String expandedId, java.lang.String rootName)
public XMLDTDDescription(XMLInputSource source)
Method Detail |
---|
public java.lang.String getGrammarType()
XMLGrammarDescription
getGrammarType
in interface XMLGrammarDescription
public java.lang.String getRootName()
XMLDTDDescription
getRootName
in interface XMLDTDDescription
public void setRootName(java.lang.String rootName)
public void setPossibleRoots(java.util.Vector possibleRoots)
public boolean equals(java.lang.Object desc)
equals
in class java.lang.Object
desc
- The description of the grammar to be compared with
public int hashCode()
hashCode
in class XMLResourceIdentifierImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |