public class InStoreMatcherImpl extends BaseMatcherImpl implements Matcher
Constructor and Description |
---|
InStoreMatcherImpl(Store store,
Cache cache) |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
delete(java.net.URI uri)
Deletes the given URI from the matcher.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.net.URI> |
getAllMatchingURIs(java.net.URI uri) |
java.net.URI |
getMatch(java.net.URI uri)
As a side effect, this method adds the specified
URI to the matcher.
|
Store |
getStore() |
boolean |
hasURI(java.net.URI uri) |
getSignature, hashCode, setSigner
getClass, notify, notifyAll, toString, wait, wait, wait
getSignature, setSigner
public InStoreMatcherImpl(Store store, Cache cache) throws XBRLException
store
- The data store to use for persisting resource matchescache
- The resource cache to be used by the matcher when accessing
resources to determine their signature.XBRLException
- if the cache parameter is null.public Store getStore()
public java.net.URI getMatch(java.net.URI uri) throws XBRLException
Matcher
getMatch
in interface Matcher
uri
- The URI of the resource to be tested for a match.XBRLException
Matcher.getMatch(URI)
public java.util.List<java.net.URI> getAllMatchingURIs(java.net.URI uri) throws XBRLException
getAllMatchingURIs
in interface Matcher
uri
- The URI of the resource to be tested for a match.XBRLException
Matcher.getAllMatchingURIs(java.net.URI)
public java.net.URI delete(java.net.URI uri) throws XBRLException
Matcher
delete
in interface Matcher
uri
- The URI to delete.XBRLException
- if the URI is null.Matcher.delete(URI)
public boolean hasURI(java.net.URI uri) throws XBRLException
hasURI
in interface Matcher
uri
- The URI to test.XBRLException
Matcher.hasURI(java.net.URI)
public boolean equals(java.lang.Object obj)
equals
in class BaseMatcherImpl
Object.equals(java.lang.Object)