Package com.ctc.wstx.io
Class SystemId
- java.lang.Object
-
- com.ctc.wstx.io.SystemId
-
public class SystemId extends Object
Helper class that is used to defer construction ofURL
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.
- Since:
- 4.4
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
asURL()
static SystemId
construct(String systemId)
static SystemId
construct(String systemId, URL url)
static SystemId
construct(URL url)
boolean
hasResolvedURL()
String
toString()
-
-
-
Method Detail
-
asURL
public URL asURL() throws IOException
- Throws:
IOException
-
hasResolvedURL
public boolean hasResolvedURL()
-
-