XBRLAPI

A Java API for XBRL


org.xbrlapi.xpointer.resolver
Interface PointerResolver

All Known Implementing Classes:
PointerResolverImpl

public interface PointerResolver

Author:
Geoffrey Shuetrim (geoff@galexy.net) An XPointer resolver parses an XPointer, returning the set of resources in the data store that are identified by the XPointer

Method Summary
 URI getDocumentURI()
          Get the URI of the document within which the XPointer is being resolved.
 Store getStore()
          Get the data store used by a loader
 Fragment resolveXPointer(String pointer)
          Resolver the XPointer expression to a fragment in the data store.
 void setDocumentURI(URI uri)
          Set the URI of the document within which the XPointer is being resolved.
 

Method Detail

setDocumentURI

void setDocumentURI(URI uri)
Set the URI of the document within which the XPointer is being resolved.

Parameters:
uri - The URI of the document.

getDocumentURI

URI getDocumentURI()
Get the URI of the document within which the XPointer is being resolved.

Returns:
the URI of the document within which the XPointer is being resolved.

getStore

Store getStore()
Get the data store used by a loader


resolveXPointer

Fragment resolveXPointer(String pointer)
                         throws XBRLException
Resolver the XPointer expression to a fragment in the data store.

Parameters:
pointer - The XPointer expression.
Returns:
The fragment identified by the XPointer expression.
Throws:
XBRLException

SourceForge Logo