public abstract class DataSourceBaseResolver extends Object implements DataSourceResolver
Constructor and Description |
---|
DataSourceBaseResolver()
Constructor.
|
DataSourceBaseResolver(boolean lenient)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isCid(String resourceLocation)
Is this a content id?
|
protected boolean |
isFileUrl(String urlString)
Is this a file URL?
|
protected boolean |
isHttpUrl(String urlString)
Is this a HTTP/HTTPS URL?
|
boolean |
isLenient()
Shall we ignore resources not found or throw an exception?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolve, resolve
public DataSourceBaseResolver()
public DataSourceBaseResolver(boolean lenient)
lenient
- shall we ignore resources not found or throw an exception?public boolean isLenient()
protected boolean isCid(String resourceLocation)
resourceLocation
- the resource locationprotected boolean isFileUrl(String urlString)
urlString
- the URL stringprotected boolean isHttpUrl(String urlString)
urlString
- the URL stringCopyright © 2001–2017 The Apache Software Foundation. All rights reserved.