XBRLAPI

A Java API for XBRL


org.xbrlapi
Interface SimpleNumericItem

All Superinterfaces:
Comparable<XML>, Fact, Fragment, Item, NumericItem, Serializable, XML
All Known Implementing Classes:
SimpleNumericItemImpl

public interface SimpleNumericItem
extends NumericItem

Author:
Geoffrey Shuetrim (geoff@galexy.net)

Method Summary
 String getInferredPrecision()
          Get the inferred value for precision from the value for decimals and the value of the fact.
 String getPrecisionAdjustedValue()
          Get the value of the fact after adjusting for the specified precision.
 String getValue()
          Get the value of the fact
 
Methods inherited from interface org.xbrlapi.NumericItem
getDecimals, getPrecision, getUnit, getUnitId, hasDecimals, hasPrecision
 
Methods inherited from interface org.xbrlapi.Item
getContext, getContextId
 
Methods inherited from interface org.xbrlapi.Fact
getConcept, getInstance, getTuple, isFraction, isNil, isNumeric, isTuple
 
Methods inherited from interface org.xbrlapi.Fragment
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, getLocalname, getLocalnameFromQName, getNamespace, getNamespaceFromQName, getParent, getParentElement, getParentIndex, getPrefixFromQName, getReferences, getReferencesWithLanguage, getReferencesWithLanguageAndResourceRoleAndLinkRole, getReferencesWithLanguageAndRole, getReferencesWithResourceRole, getReferencingLocators, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getURI, getXPath, getXPointerExpression, isAncestorOf, isChild, isNewFragment, isRoot, setParentIndex, setSequenceToParentElement, setURI
 
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

getValue

String getValue()
                throws XBRLException
Get the value of the fact

Returns:
the value of fact
Throws:
XBRLException

getPrecisionAdjustedValue

String getPrecisionAdjustedValue()
                                 throws XBRLException
Get the value of the fact after adjusting for the specified precision.

Returns:
the value of the fact as a string, adjusted for the specified precision.
Throws:
XBRLException

getInferredPrecision

String getInferredPrecision()
                            throws XBRLException
Get the inferred value for precision from the value for decimals and the value of the fact.

Returns:
inferred value for precision.
Throws:
XBRLException

Get Java XBRL API implementation at SourceForge.net.