org.apache.xerces.impl.dtd
Class XMLDTDDescription
java.lang.Object
|
+--org.apache.xerces.impl.dtd.XMLDTDDescription
- All Implemented Interfaces:
- org.apache.xerces.xni.grammars.XMLGrammarDescription, org.apache.xerces.xni.XMLResourceIdentifier
- public class XMLDTDDescription
- extends java.lang.Object
- implements org.apache.xerces.xni.grammars.XMLGrammarDescription
Fields inherited from interface org.apache.xerces.xni.grammars.XMLGrammarDescription |
XML_DTD, XML_SCHEMA |
Method Summary |
boolean |
equals(org.apache.xerces.xni.grammars.XMLGrammarDescription desc)
Compares this grammar with the given grammar. |
java.lang.String |
getBaseSystemId()
Returns the base URI against which the literal SystemId is to be
resolved. |
java.lang.String |
getExpandedSystemId()
Returns the expanded system identifier. |
java.lang.String |
getGrammarType()
|
java.lang.String |
getInternalSubset()
|
java.lang.String |
getLiteralSystemId()
Returns the literal system identifier. |
java.lang.String |
getPublicId()
Returns the public identifier. |
java.lang.String |
getRootName()
|
int |
hashCode()
Returns the hash code of this grammar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
fBaseURI
protected java.lang.String fBaseURI
fLiteralSystemId
protected java.lang.String fLiteralSystemId
fExpandedSystemId
protected java.lang.String fExpandedSystemId
fPublicId
protected java.lang.String fPublicId
fRootName
protected java.lang.String fRootName
fInternalSubset
protected java.lang.String fInternalSubset
XMLDTDDescription
public XMLDTDDescription()
getPublicId
public java.lang.String getPublicId()
- Description copied from interface:
org.apache.xerces.xni.XMLResourceIdentifier
- Returns the public identifier.
- Specified by:
getPublicId
in interface org.apache.xerces.xni.XMLResourceIdentifier
getBaseSystemId
public java.lang.String getBaseSystemId()
- Description copied from interface:
org.apache.xerces.xni.XMLResourceIdentifier
Returns the base URI against which the literal SystemId is to be
resolved.
- Specified by:
getBaseSystemId
in interface org.apache.xerces.xni.XMLResourceIdentifier
getExpandedSystemId
public java.lang.String getExpandedSystemId()
- Description copied from interface:
org.apache.xerces.xni.XMLResourceIdentifier
- Returns the expanded system identifier.
- Specified by:
getExpandedSystemId
in interface org.apache.xerces.xni.XMLResourceIdentifier
getLiteralSystemId
public java.lang.String getLiteralSystemId()
- Description copied from interface:
org.apache.xerces.xni.XMLResourceIdentifier
- Returns the literal system identifier.
- Specified by:
getLiteralSystemId
in interface org.apache.xerces.xni.XMLResourceIdentifier
getGrammarType
public java.lang.String getGrammarType()
- Specified by:
getGrammarType
in interface org.apache.xerces.xni.grammars.XMLGrammarDescription
getRootName
public java.lang.String getRootName()
getInternalSubset
public java.lang.String getInternalSubset()
equals
public boolean equals(org.apache.xerces.xni.grammars.XMLGrammarDescription desc)
- Compares this grammar with the given grammar. Currently, we compare
the root element names.
- Parameters:
desc
- The description of the grammar to be compared with- Returns:
- True if they are equal, else false
hashCode
public int hashCode()
- Returns the hash code of this grammar
- Overrides:
hashCode
in class java.lang.Object
- Returns:
- The hash code
Copyright © 1999-2001 Apache XML Project. All Rights Reserved.