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 ofURLto 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 URLasURL()static SystemIdconstruct(String systemId)static SystemIdconstruct(String systemId, URL url)static SystemIdconstruct(URL url)booleanhasResolvedURL()StringtoString()
-
-
-
Method Detail
-
asURL
public URL asURL() throws IOException
- Throws:
IOException
-
hasResolvedURL
public boolean hasResolvedURL()
-
-