org.apache.xml.resolver.helpers
public abstract class PublicId extends java.lang.Object
This class defines a set of static methods that can be called to handle public identifiers.
Modifier | Constructor and Description |
---|---|
protected |
PublicId() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static java.lang.String normalize(java.lang.String publicId)
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)
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)
This method is declared static so that other classes can use it directly.
publicId
- The unnormalized public identifier.Copyright ? 2001-2003 Apache Software Foundation. All Rights Reserved.