extendedlinkcontentimpl.java

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

JAVA
26
字号
package org.xbrlapi.impl;

import org.xbrlapi.ExtendedLink;
import org.xbrlapi.ExtendedLinkContent;
import org.xbrlapi.utilities.XBRLException;

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

public class ExtendedLinkContentImpl extends XlinkImpl implements ExtendedLinkContent {
    
    /**
     * Get the extended link containing the locator.
     * @return the extended link fragment containing the locator.
     * @throws XBRLException
     * @see org.xbrlapi.ExtendedLinkContent#getExtendedLink()
     */
    public ExtendedLink getExtendedLink() throws XBRLException {
    	ExtendedLink link = (ExtendedLink) this.getAncestorOrSelf("org.xbrlapi.impl.ExtendedLinkImpl");
    	logger.debug("The element is in extended link " + link.getFragmentIndex());
    	return link;
    }

}

⌨️ 快捷键说明

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