|
XBRLAPIA Java API for XBRL |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbrlapi.data.resource.DefaultMatcherImpl
public class DefaultMatcherImpl
The default resource matcher implementation is used by stores by default. Note that this matcher is not persistent and identifies no matches.
| Constructor Summary | |
|---|---|
DefaultMatcherImpl()
|
|
| Method Summary | |
|---|---|
URI |
delete(URI uri)
Deletes the given URI from the matcher. |
boolean |
equals(Object obj)
|
List<URI> |
getAllMatchingURIs(URI uri)
|
URI |
getMatch(URI uri)
As a side effect, this method adds the specified URI to the matcher. |
String |
getSignature(URI uri)
|
int |
hashCode()
|
boolean |
hasURI(URI uri)
|
void |
setSigner(Signer signer)
Call this method if you need to use a different signature generator for the resources you are working with. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMatcherImpl()
| Method Detail |
|---|
public void setSigner(Signer signer)
Matcher
setSigner in interface Matchersigner - The object used to generate signatures.Matcher.setSigner(Signer)
public URI getMatch(URI uri)
throws XBRLException
Matcher
getMatch in interface Matcheruri - The URI of the resource to be tested for a match.
XBRLExceptionMatcher.getMatch(URI)
public String getSignature(URI uri)
throws XBRLException
getSignature in interface Matcheruri - The URI of the resource to obtain the signature for.
XBRLException - if the signature cannot be constructed.Matcher.getSignature(URI)
public URI delete(URI uri)
throws XBRLException
Matcher
delete in interface Matcheruri - The URI to delete.
XBRLException - if the URI is null.Matcher.delete(URI)
public List<URI> getAllMatchingURIs(URI uri)
throws XBRLException
getAllMatchingURIs in interface Matcheruri - The URI of the resource to be tested for a match.
XBRLExceptionMatcher.getAllMatchingURIs(java.net.URI)
public boolean hasURI(URI uri)
throws XBRLException
hasURI in interface Matcheruri - The URI to test.
XBRLExceptionMatcher.hasURI(java.net.URI)public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||