|
XBRLAPIA Java API for XBRL |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Matcher
The resource matcher interface, defining all methods that need to be implemented by a resource matcher to support XBRLAPI data stores.
| Method Summary | |
|---|---|
URI |
delete(URI uri)
Deletes the given URI from the matcher. |
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)
|
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. |
| Method Detail |
|---|
void setSigner(Signer signer)
signer - The object used to generate signatures.
String getSignature(URI uri)
throws XBRLException
uri - The URI of the resource to obtain the signature for.
XBRLException - if the signature cannot be constructed.
URI getMatch(URI uri)
throws XBRLException
uri - The URI of the resource to be tested for a match.
XBRLException
boolean hasURI(URI uri)
throws XBRLException
uri - The URI to test.
XBRLException
List<URI> getAllMatchingURIs(URI uri)
throws XBRLException
uri - The URI of the resource to be tested for a match.
XBRLException
URI delete(URI uri)
throws XBRLException
uri - The URI to delete.
XBRLException - if the URI is null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||