XBRLAPI

A Java API for XBRL


org.xbrlapi.impl
Class MockFragmentImpl

java.lang.Object
  extended by org.xbrlapi.impl.FragmentImpl
      extended by org.xbrlapi.impl.MockFragmentImpl
All Implemented Interfaces:
Comparable<Fragment>, Fragment

public class MockFragmentImpl
extends FragmentImpl


Field Summary
 
Fields inherited from class org.xbrlapi.impl.FragmentImpl
logger
 
Constructor Summary
MockFragmentImpl()
          No argument constructor.
MockFragmentImpl(String id)
           
MockFragmentImpl(String id, String namespace, String name, String qName)
           
 
Method Summary
 void setPrecedingSiblings(String precedingSiblings)
          Set the preceding siblings information for the mock fragment.
 void setSequenceToParentElement(String sequence)
          Set the information about the sequence to be followed to reach the parent element of the fragment.
 
Methods inherited from class org.xbrlapi.impl.FragmentImpl
appendElementSchemeXPointer, appendID, appendMetadataElement, compareTo, equals, getAllChildren, getAncestorOrSelf, getBuilder, getChild, getChildren, getDataRootElement, getDocumentNode, getFragmentIndex, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguage, getLabelsWithLanguageAndRole, getLabelsWithLanguageAndRole, getLabelsWithRole, getLabelsWithRole, getLocalname, getLocalnameFromQName, getMetaAttribute, getMetadataRootElement, getNamespaceFromQName, getNamespaceURI, getNetworks, getNetworksFromWithArcrole, getNetworksFromWithRoleAndArcrole, getNetworksWithArcrole, getParent, getParentElement, getParentIndex, getPrecedingSiblings, getPrefixFromQName, getReferences, getReferencingLocators, getRelationshipsToWithArcrole, getRelatives, getResource, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getStore, getType, getURI, getXPath, hashCode, isa, isNewFragment, removeElementSchemeXPointer, removeID, removeMetaAttribute, removeMetadataElement, removeRelationship, setBuilder, setFragmentIndex, setMetaAttribute, setParentIndex, setPrecedingSiblings, setResource, setSequenceToParentElement, setStore, setURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockFragmentImpl

public MockFragmentImpl()
                 throws XBRLException
No argument constructor.

Throws:
XBRLException

MockFragmentImpl

public MockFragmentImpl(String id)
                 throws XBRLException
Parameters:
id - The unique id of the fragment being created, within the scope of the containing data store.
Throws:
XBRLException

MockFragmentImpl

public MockFragmentImpl(String id,
                        String namespace,
                        String name,
                        String qName)
                 throws XBRLException
Parameters:
id - The unique id of the fragment being created, within the scope of the containing DTS.
namespace - The namespace for the root element of the data in the fragment.
name - The local name for the root element of the data in the fragment.
qName - The QName for the root element of the data in the fragment.
Throws:
XBRLException
Method Detail

setSequenceToParentElement

public void setSequenceToParentElement(String sequence)
                                throws XBRLException
Set the information about the sequence to be followed to reach the parent element of the fragment.

Throws:
XBRLException

setPrecedingSiblings

public void setPrecedingSiblings(String precedingSiblings)
                          throws XBRLException
Set the preceding siblings information for the mock fragment.

Throws:
XBRLException

SourceForge Logo