Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.xml
Class XMLRecognizer.Doctype

java.lang.Object
  extended by 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.


Constructor Summary
XMLRecognizer.Doctype(java.lang.String publicId, java.lang.String systemId)
           

 

Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

XMLRecognizer.Doctype

public XMLRecognizer.Doctype(java.lang.String publicId,
                             java.lang.String systemId)

Method Detail

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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.