|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.resolver.helpers.PublicId
Static methods for dealing with public identifiers.
Copyright © 2000, 2001 Sun Microsystems, Inc. All Rights Reserved. This software is the proprietary information of Sun Microsystems, Inc. Use is subject to license terms.
This class defines a set of static methods that can be called to handle public identifiers.
Constructor Summary | |
protected |
PublicId()
|
Method Summary | |
static java.lang.String |
decodeURN(java.lang.String urn)
Decode a "publicid" URN into a public identifier. |
static java.lang.String |
encodeURN(java.lang.String publicId)
Encode a public identifier as a "publicid" URN. |
static java.lang.String |
normalize(java.lang.String publicId)
Normalize a public identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected PublicId()
Method Detail |
public static java.lang.String normalize(java.lang.String publicId)
Normalize a public identifier.
Public identifiers must be normalized according to the following rules before comparisons between them can be made:
This method is declared static so that other classes can use it directly.
publicId
- The unnormalized public identifier.
public static java.lang.String encodeURN(java.lang.String publicId)
Encode a public identifier as a "publicid" URN.
This method is declared static so that other classes can use it directly.
publicId
- The unnormalized public identifier.
public static java.lang.String decodeURN(java.lang.String urn)
Decode a "publicid" URN into a public identifier.
This method is declared static so that other classes can use it directly.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |