public class SystemId
extends java.lang.Object
URL
to help with cases where real URL is not actually needed, and
incoming System Id may not even resolve properly.
Note that class is meant to be accessed from a single thread, and is not designed as multi-thread safe. Specifically it is not to be used for caching or as a key, but strictly as System Id for processing of a single XML document.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mSystemId |
protected java.net.URL |
mURL |
Modifier | Constructor and Description |
---|---|
protected |
SystemId(java.lang.String systemId,
java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
java.net.URL |
asURL() |
static SystemId |
construct(java.lang.String systemId) |
static SystemId |
construct(java.lang.String systemId,
java.net.URL url) |
static SystemId |
construct(java.net.URL url) |
boolean |
hasResolvedURL() |
java.lang.String |
toString() |
public static SystemId construct(java.lang.String systemId)
public static SystemId construct(java.net.URL url)
public static SystemId construct(java.lang.String systemId, java.net.URL url)
public java.net.URL asURL() throws java.io.IOException
java.io.IOException
public boolean hasResolvedURL()
public java.lang.String toString()
toString
in class java.lang.Object