contextcomponentimpl.java

来自「xbrlapi的源码」· Java 代码 · 共 23 行

JAVA
23
字号
package org.xbrlapi.impl;

import org.xbrlapi.Context;
import org.xbrlapi.ContextComponent;
import org.xbrlapi.utilities.XBRLException;

/**
 * @author Geoffrey Shuetrim (geoff@galexy.net)
 */

public class ContextComponentImpl extends FragmentImpl implements ContextComponent {

    /**
     * Determine the context that contains this component
     * @throws XBRLException
     * @see org.xbrlapi.ContextComponent#getContext()
     */
    public Context getContext() throws XBRLException {
    	return (Context) this.getAncestorOrSelf("org.xbrlapi.impl.ContextImpl");
    }
    
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?