XBRLAPI

A Java API for XBRL


org.xbrlapi
Interface Match

All Superinterfaces:
Comparable<XML>, NonFragmentXML, Serializable, XML
All Known Implementing Classes:
MatchImpl

public interface Match
extends NonFragmentXML

Used to store URI mapping information about identical documents.

Author:
Geoffrey Shuetrim (geoff@galexy.net)

Method Summary
 void addMatchedURI(URI uri)
           
 void deleteURI(URI uri)
          Call this method, for example, when a document is deleted from the data store so matching information needs to be updated.
 URI getMatch()
           
 List<URI> getURIs()
           
 
Methods inherited from interface org.xbrlapi.XML
appendMetadataElement, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

addMatchedURI

void addMatchedURI(URI uri)
                   throws XBRLException
Parameters:
uri - The URI to add to the match XML resource.
Throws:
XBRLException - if the URI is null.

getMatch

URI getMatch()
             throws XBRLException
Returns:
the matching URI defined by this match resource or null if none is defined.
Throws:
XBRLException - if the matching URI has invalid syntax.

deleteURI

void deleteURI(URI uri)
               throws XBRLException
Call this method, for example, when a document is deleted from the data store so matching information needs to be updated.

Parameters:
uri - The URI to eliminate from the match resource.
Throws:
XBRLException

getURIs

List<URI> getURIs()
                  throws XBRLException
Returns:
a list of all URIs matched through this match resource.
Throws:
XBRLException

Get Java XBRL API implementation at SourceForge.net.