- public final class DTDId
- extends java.lang.Object
Simple key object class, used for accessing (external) DTDs when stored for
caching. Main idea is that the primary id of a DTD (public or system id)
has to match, as well as couple of on/off settings for parsing (namespace
support, text normalization).
Latter restriction is needed since although DTDs do not deal
with (or understand) namespaces, some parsing is done to be able to validate
namespace aware/non-aware documents, and handling differs between the two.
As to primary key part, public id is used if one was defined; if so,
comparison is String equality. If not, then system id is compared: system
id has to be expressed as URL if so.
|Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static DTDId constructFromPublicId(java.lang.String publicId,
public static DTDId constructFromSystemId(java.net.URL systemId,
public static DTDId construct(java.lang.String publicId,
public java.lang.String getPublicId()
public java.net.URL getSystemId()
public int hashCode()
public java.lang.String toString()
public boolean equals(java.lang.Object o)