xlink.java

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

JAVA
74
字号
package org.xbrlapi;

import org.xbrlapi.utilities.XBRLException;


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

public interface Xlink extends Fragment {

    /**
     * Get the xlink type (The xxlink:type attribute value).
     * This is one of simple or extended
     *
     * @throws XBRLException
     */
    public String getXlinkType() throws XBRLException;
    


    /**
     * Get the  title (The xlink:title attribute value).
     * @return the value of the xlink:title attribute or null if none is supplied. 
     * @throws XBRLException
     */
    public String getTitleAttribute() throws XBRLException;    



    /**
     * Get a list of titles (The xlink:title children elements).
     * @return a fragment list of title elements or null if there are none.
     * @throws XBRLException
     */

    public FragmentList<Title> getTitleElements() throws XBRLException;
    /**
     * Append a title element to the XLink fragment
     *
     * @param title The title to append
     * @throws XBRLException
     */
    public void appendTitle(Title title) throws XBRLException;
    /**
     * Get a list of titles (The xlink:title children elements).
     * Returns null if there are no title children elements.
     *
     * @param index The index of the required title element
     * @return The specified title fragment
     * @throws XBRLException
     */
    public Title getTitleElement(int index) throws XBRLException;

    
    /**
     * Get a non-xlink attribute value.
     * @param namespaceURI The namespace of the attribute to retrieve
     * @param localname The local name of the attribute to retrieve
     * @throws XBRLException if the namespace URI is for the XLink namespace.
     */
    public String getAttribute(String namespaceURI, String localname) throws XBRLException;

    /**
     * Get a no-namespace attribute value.
     * @param name The name of the no-namespace attribute to retrieve
     * @throws XBRLException
     */
    public String getAttribute(String name) throws XBRLException;
    

    
}

⌨️ 快捷键说明

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