How to get Dimension information.

Help
2008-11-03
2013-05-02
  • Youichi Kato
    Youichi Kato
    2008-11-03

    Please show sample getting the dimension information.

    I tried the following code, but did not work. (I got empty list.)

      loader.discover(inputs);
      FragmentList<Hypercube> fragments = store
         .<Hypercube> getFragments("org.xbrlapi.xdt.HypercubeImpl");

    Best Regards,
    --- Katoy ---

     
    • The dimensional features are still under heavy development and have not been included in a file release so I am guessing that you are working from a version that has been compiled from the source repository.  If that is the case, then the code you are running seems fine. It is worth checking that the input documents do contain hypercubes.  There is a unit test dedicated to hypercube fragment detection and that may be worth using as a template.  If you are still having troubles, consider looking at the code around line 113 in org.xbrlapi.xdt.SchemaIdentifier.java

      Regards

      Geoff Shuetrim