org.xbrlapi.impl
Class SimpleNumericItemImpl
java.lang.Object
org.xbrlapi.impl.XMLImpl
org.xbrlapi.impl.FragmentImpl
org.xbrlapi.impl.FactImpl
org.xbrlapi.impl.ItemImpl
org.xbrlapi.impl.NumericItemImpl
org.xbrlapi.impl.SimpleNumericItemImpl
- All Implemented Interfaces:
- Serializable, Comparable<XML>, Fact, Fragment, Item, NumericItem, SimpleNumericItem, XML
public class SimpleNumericItemImpl
- extends NumericItemImpl
- implements SimpleNumericItem
- Author:
- Geoffrey Shuetrim (geoff@galexy.net)
- See Also:
- Serialized Form
| Methods inherited from class org.xbrlapi.impl.FragmentImpl |
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 class org.xbrlapi.impl.XMLImpl |
appendMetadataElement, compareTo, equals, finalize, 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 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 |
SimpleNumericItemImpl
public SimpleNumericItemImpl()
getValue
public String getValue()
throws XBRLException
- Get the value of the fact as a string.
- Specified by:
getValue in interface SimpleNumericItem
- Returns:
- the value of fact as a string.
- Throws:
XBRLException- See Also:
SimpleNumericItem.getValue()
getPrecisionAdjustedValue
public String getPrecisionAdjustedValue()
throws XBRLException
- Get the value of the fact after adjusting for the specified precision.
- Specified by:
getPrecisionAdjustedValue in interface SimpleNumericItem
- Returns:
- the value of the fact as a string, adjusted for the specified precision.
- Throws:
XBRLException- See Also:
SimpleNumericItem.getPrecisionAdjustedValue()
getInferredPrecision
public String getInferredPrecision()
throws XBRLException
- Get the inferred value for precision from the value for
decimals and the value of the fact.
- Specified by:
getInferredPrecision in interface SimpleNumericItem
- Returns:
- inferred value for precision.
- Throws:
XBRLException- See Also:
SimpleNumericItem.getInferredPrecision()