|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.util.XMLResourceIdentifierImpl
org.apache.xerces.impl.dtd.XMLDTDDescription
public class XMLDTDDescription
All information specific to DTD grammars.
| Field Summary | |
|---|---|
protected ArrayList |
fPossibleRoots
|
protected String |
fRootName
|
| Fields inherited from class org.apache.xerces.util.XMLResourceIdentifierImpl |
|---|
fBaseSystemId, fExpandedSystemId, fLiteralSystemId, fNamespace, fPublicId |
| Fields inherited from interface org.apache.xerces.xni.grammars.XMLGrammarDescription |
|---|
XML_DTD, XML_SCHEMA |
| Constructor Summary | |
|---|---|
XMLDTDDescription(String publicId,
String literalId,
String baseId,
String expandedId,
String rootName)
|
|
XMLDTDDescription(XMLInputSource source)
|
|
XMLDTDDescription(XMLResourceIdentifier id,
String rootName)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object desc)
Compares this grammar with the given grammar. |
String |
getGrammarType()
Return the type of this grammar. |
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(ArrayList possibleRoots)
Set possible roots |
void |
setPossibleRoots(Vector possibleRoots)
Set possible roots |
void |
setRootName(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 |
|---|
clone, finalize, 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 |
| Field Detail |
|---|
protected String fRootName
protected ArrayList fPossibleRoots
| Constructor Detail |
|---|
public XMLDTDDescription(XMLResourceIdentifier id,
String rootName)
public XMLDTDDescription(String publicId,
String literalId,
String baseId,
String expandedId,
String rootName)
public XMLDTDDescription(XMLInputSource source)
| Method Detail |
|---|
public String getGrammarType()
XMLGrammarDescription
getGrammarType in interface XMLGrammarDescriptionpublic String getRootName()
XMLDTDDescription
getRootName in interface XMLDTDDescriptionpublic void setRootName(String rootName)
public void setPossibleRoots(ArrayList possibleRoots)
public void setPossibleRoots(Vector possibleRoots)
public boolean equals(Object desc)
equals in class Objectdesc - 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 | |||||||||