📄 xlink.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -