oracle.ide.xml
Class XMLRecognizer.Doctype
java.lang.Object
oracle.ide.xml.XMLRecognizer.Doctype
- Enclosing class:
- XMLRecognizer
public static final class XMLRecognizer.Doctype
- extends java.lang.Object
Two Doctype instances are considered equal if their public IDs
match, regardless of what the system IDs are. However, when
comparing two Doctype instances, if either one has a null public
ID, then the system ID is used to determine equality. This has
the effect of giving the public ID higher authoritative priority
when it comes to identifying a document type; this approach is
consistent with the intended use of the public ID.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
XMLRecognizer.Doctype
public XMLRecognizer.Doctype(java.lang.String publicId,
java.lang.String systemId)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 1997, 2011, Oracle. All rights reserved.