|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.transform.target.XBRLReportHandler
com.ihr.xbrl.transform.target.HTMLReportHandler
public class HTMLReportHandler
| Field Summary |
|---|
| Fields inherited from interface com.ihr.xbrl.dts.NegatedSupport |
|---|
negatedRoleURIS |
| Constructor Summary | |
|---|---|
HTMLReportHandler(TransformProcessor tp)
|
|
| Method Summary | |
|---|---|
int |
askUserNewBoyMonth()
Shows a dialog asking the user to set a new Beginning of fiscal year |
XBRLTransformationResult |
createNewResult(net.sf.saxon.s9api.Processor proc)
Creates a new document container |
void |
endOfDocument()
Called by the transformation processor to indicate the end of a document processing Usually a document footer is produced |
int |
getBoyMonth()
Returns the month that has been set as the beginning of the fiscal year in the tool |
java.net.URI |
getConfigFile()
Returns back the URI of the configuration file |
javax.xml.namespace.QName |
getDefaultUnit()
The default unit to be used when no other data is available |
java.util.Iterator<java.lang.String> |
getLangs()
The ordered list of preferred languages |
java.lang.Object |
getResult()
Obtains the result of the loading process as an object. |
void |
init()
|
boolean |
isNegated(XBRLFactItem fact)
true if the user interface is using a negated label role for |
void |
processContexts(java.util.Iterator<XBRLContext> contexts)
Called by the transformation processor to provide the contexts for the data that will be found later during the processing of facts the default process updates the content of some variables |
java.lang.Object |
resolveVariable(javax.xml.namespace.QName variableName)
|
void |
sendToResult(javax.xml.transform.Result outputTarget)
Serializes the generated document to the next component in the XML pipe (Result object) This method will be called once per document. |
void |
setBoyMonth(int newBoyMonth)
Sets a new month as the Beginning of a fiscal year. 0 = January |
void |
setConfigFile(java.net.URI configFile)
|
void |
setLangs(java.util.Collection<java.lang.String> lang)
Sets the set of languages (replaces current set of labels) |
void |
showNewLangsAddedMessage()
an application that implements LangsProvider is informed about new languages added to the languages lists by the labels provider. |
void |
startOfDocument(XBRLInstance instance)
Called by the transformation processor to indicate the start of a new document. |
| Methods inherited from class com.ihr.xbrl.transform.target.XBRLReportHandler |
|---|
getTransformer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLReportHandler(TransformProcessor tp)
| Method Detail |
|---|
public void sendToResult(javax.xml.transform.Result outputTarget)
throws javax.xml.transform.TransformerException
XBRLTransformationResult
sendToResult in interface XBRLTransformationResultoutputTarget - Result
javax.xml.transform.TransformerException - if something goes wrong or the driver does not
support this output methodpublic XBRLTransformationResult createNewResult(net.sf.saxon.s9api.Processor proc)
XBRLReportHandlerInterface
createNewResult in interface XBRLReportHandlerInterfacecreateNewResult in class XBRLReportHandlerproc - the Saxonica Processor instance
public void endOfDocument()
XBRLReportHandlerInterface
endOfDocument in interface XBRLReportHandlerInterfaceendOfDocument in class XBRLReportHandler
public void init()
throws DataTargetConfigurationFileException
init in interface XBRLReportHandlerInterfaceinit in class XBRLReportHandlerDataTargetConfigurationFileExceptionpublic void processContexts(java.util.Iterator<XBRLContext> contexts)
XBRLReportHandlerInterface
processContexts in interface XBRLReportHandlerInterfaceprocessContexts in class XBRLReportHandlercontexts - Iteratorpublic void setConfigFile(java.net.URI configFile)
setConfigFile in interface XBRLReportHandlerInterfacesetConfigFile in class XBRLReportHandlerpublic java.net.URI getConfigFile()
XBRLReportHandlerInterface
getConfigFile in interface XBRLReportHandlerInterface
public void startOfDocument(XBRLInstance instance)
throws FactHandlerException
XBRLReportHandlerInterface
startOfDocument in interface XBRLReportHandlerInterfacestartOfDocument in class XBRLReportHandlerFactHandlerExceptionpublic java.util.Iterator<java.lang.String> getLangs()
LangsProvider
getLangs in interface LangsProviderpublic void setLangs(java.util.Collection<java.lang.String> lang)
LangsProvider
setLangs in interface LangsProviderlang - the lang to setpublic java.lang.Object resolveVariable(javax.xml.namespace.QName variableName)
resolveVariable in interface javax.xml.xpath.XPathVariableResolver
public java.lang.Object getResult()
throws javax.xml.transform.TransformerException
XBRLTransformationResult
getResult in interface XBRLTransformationResultjavax.xml.transform.TransformerException - if something goes wrong or the driver does not
support this output methodpublic void showNewLangsAddedMessage()
LangsProviderThe LabelsProvider requires a LangsProvider during the creation. that LangsProvider is informed about new languages when the labels database is build.
Applications should show a message to the user or call the LabelsProviderUI.showNewLangsAddedMessage() method that shows an standard message.
.NET api can use a different UI for the same purpose
showNewLangsAddedMessage in interface LangsProviderpublic int getBoyMonth()
HasBoySupport
getBoyMonth in interface HasBoySupportpublic void setBoyMonth(int newBoyMonth)
HasBoySupport
setBoyMonth in interface HasBoySupportpublic int askUserNewBoyMonth()
HasBoySupport
askUserNewBoyMonth in interface HasBoySupportpublic boolean isNegated(XBRLFactItem fact)
NegatedSupport
isNegated in interface NegatedSupportpublic javax.xml.namespace.QName getDefaultUnit()
DefaultUnitProviderInterface
getDefaultUnit in interface DefaultUnitProviderInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||