public class UTLFId extends Object implements Comparable<UTLFId>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
UTLF_scheme |
| Constructor and Description |
|---|
UTLFId(String id) |
UTLFId(String loc_part,
String sys_id) |
UTLFId(UReference ur) |
UTLFId(URI uri) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UTLFId o) |
boolean |
equals(Object o) |
String[] |
getLocalId(Pattern p)
Get Local-ID part (all groups matched to pattern).
|
String |
getLocalId(Pattern p,
int n)
Get Local-ID part (one group of matched to patterns).
|
String[] |
getLocalId(String regex)
Get Local-ID part (all groups matched to pattern).
|
String |
getLocalId(String regex,
int n)
Get Local-ID part (one group of matched to patterns).
|
String |
getLocalPart()
Get Local-ID part (all).
|
String |
getSystemId()
Get System-ID part.
|
int |
hashCode() |
static boolean |
isUTLFId(String id) |
static boolean |
isUTLFId(URI uri) |
String |
toString()
Get ID String.
|
URI |
toURI() |
public static final String UTLF_scheme
public UTLFId(String id) throws UTLFException
UTLFExceptionpublic UTLFId(UReference ur) throws UTLFException
UTLFExceptionpublic UTLFId(URI uri) throws UTLFException
UTLFExceptionpublic String getSystemId()
public String getLocalPart()
public String[] getLocalId(Pattern p)
p - local id patternnull.public String[] getLocalId(String regex)
regex - local id regular expressionnull.public String getLocalId(Pattern p, int n)
p - patternn - n-th fieldpublic String getLocalId(String regex, int n)
regex - local Id regular expressionn - n-th fieldpublic String toString()
public URI toURI()
public static boolean isUTLFId(URI uri)
public static boolean isUTLFId(String id)
public int compareTo(UTLFId o)
compareTo in interface Comparable<UTLFId>EDB Working Group at Tue Dec 2 16:35:33 JST 2025