public class XMLDTDDescription extends XMLResourceIdentifierImpl implements XMLDTDDescription
| Modifier and Type | Field and Description |
|---|---|
protected Vector |
fPossibleRoots |
protected String |
fRootName |
fBaseSystemId, fExpandedSystemId, fLiteralSystemId, fNamespace, fPublicIdXML_DTD, XML_SCHEMA| Constructor and Description |
|---|
XMLDTDDescription(String publicId,
String literalId,
String baseId,
String expandedId,
String rootName) |
XMLDTDDescription(XMLInputSource source) |
XMLDTDDescription(XMLResourceIdentifier id,
String rootName) |
| Modifier and Type | Method and Description |
|---|---|
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(Vector possibleRoots)
Set possible roots
|
void |
setRootName(String rootName)
Set the root name
|
clear, getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicId, setValues, setValues, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicIdpublic XMLDTDDescription(XMLResourceIdentifier id, String rootName)
public XMLDTDDescription(String publicId, String literalId, String baseId, String expandedId, String rootName)
public XMLDTDDescription(XMLInputSource source)
public String getGrammarType()
XMLGrammarDescriptiongetGrammarType in interface XMLGrammarDescriptionpublic String getRootName()
XMLDTDDescriptiongetRootName in interface XMLDTDDescriptionpublic void setRootName(String rootName)
public void setPossibleRoots(Vector possibleRoots)
public boolean equals(Object desc)
public int hashCode()
hashCode in class XMLResourceIdentifierImplCopyright © 2018 JBoss by Red Hat. All rights reserved.