org.xbrlapi.impl
Class MockFragmentImpl
java.lang.Object
org.xbrlapi.impl.FragmentImpl
org.xbrlapi.impl.MockFragmentImpl
- All Implemented Interfaces:
- Comparable<Fragment>, Fragment
public class MockFragmentImpl
- extends FragmentImpl
| 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 |
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
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