com.ihr.xbrl.mapper.instance
Class MapperPeriod2

java.lang.Object
  extended by com.ihr.xbrl.om.XMLFragment
      extended by com.ihr.xbrl.mapper.instance.MapperPeriodBase
          extended by com.ihr.xbrl.mapper.instance.MapperPeriod2
All Implemented Interfaces:
MapperPeriod, XBRLRelationshipPoint, XMLHasParent, java.lang.Cloneable, javax.xml.namespace.NamespaceContext

public class MapperPeriod2
extends MapperPeriodBase

This class represents the content of a period that contains tokens in order to facilitate dynamic context content

Author:
Ignacio

Field Summary
 
Fields inherited from class com.ihr.xbrl.mapper.instance.MapperPeriodBase
DATE_END, DATE_INSTANT, DATE_START, periodNode
 
Fields inherited from class com.ihr.xbrl.om.XMLFragment
CONCEPT_LABEL, CONCEPT_QNAME, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, idQName, NO_POSITION, OrderComparator, PERIOD_TYPE, PERIOD_VALUE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER
 
Constructor Summary
MapperPeriod2(DTSContainer dts)
          Creates a FOREVER period
MapperPeriod2(DTSContainer dts, net.sf.saxon.s9api.XdmNode node)
          Creates a XBRLPeriod reading the content of the XdmNode node supplied as a parameter
MapperPeriod2(MapperPeriod2 other)
          Creates an new period as a copy of the current period.
MapperPeriod2(XBRLPeriod period)
           
 
Method Summary
 MapperPeriod2 clone()
           
 
Methods inherited from class com.ihr.xbrl.mapper.instance.MapperPeriodBase
equals, generateNode, getDate, getElements, getGregorianCalendarDate, getPeriodType, getRawDate, getRawDateUtil, getRawGregorianCalendarDate, getXBRLPeriod, hashCode, isDuration, isForever, isInstant, isMacroPeriod, setDate, toString
 
Methods inherited from class com.ihr.xbrl.om.XMLFragment
addAttribute, addChild, addFromRelationship, addNamespace, addNamespace, addToRelationship, addXMLChild, changeBase, checkBase, clear, clone, delAttribute, delAttribute, equalXdmValues, evaluateBoolean, evaluateList, evaluateNode, evaluateNumber, evaluateString, generateId, generateNodeNamespacesAndAttributes, generateNodeValue, generatePrefix, getAttribute, getAttributeQNameValue, getAttributes, getAttributes, getAttributeStringValue, getAttributeValue, getBase, getBase, getBaseURI, getBooleanValue, getChild, getContainer, getContainerDocumentURI, getDeclaredNamespaces, getDocument, getFragment, getFriendlyName, getFriendlyName, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getId, getLang, getNamespaceURI, getNodeName, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getParent, getPrefix, getPrefixes, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticNamespace, getStringValue, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPathNamespaceContext, getXPathToNode, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerToNode, isDead, isNamespaceDefined, objEquals, objHashCode, qNameToString, removeAttribute, removeChild, removeChild, removeFromRelationship, removeToRelationship, removeXMLChild, resetElements, resetHash, resolveHRef, resolveHRef, s_equal2, s_equal2, setAttributes, setBase, setDocument, setDocumentAndReload, setElements, setId, setLang, setNamespaceContext, setNamespaces, setNode, setNodeName, setParent, setValue, setValue, setVariablesDefined, valueEquals, xEqual
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapperPeriod2

public MapperPeriod2(DTSContainer dts,
                     net.sf.saxon.s9api.XdmNode node)
Creates a XBRLPeriod reading the content of the XdmNode node supplied as a parameter

Parameters:
dts - DTSContainer for this new period
node - XdmNode XML node s9api where data will be read from

MapperPeriod2

public MapperPeriod2(DTSContainer dts)
Creates a FOREVER period

Parameters:
dts - DTSContainer

MapperPeriod2

public MapperPeriod2(MapperPeriod2 other)
Creates an new period as a copy of the current period. This is the constructor used by clone() method but make public for convenience

Parameters:
other - XBRLPeriod

MapperPeriod2

public MapperPeriod2(XBRLPeriod period)
Parameters:
period -
Method Detail

clone

public MapperPeriod2 clone()
Specified by:
clone in interface MapperPeriod
Specified by:
clone in class MapperPeriodBase


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa