org.xbrlapi.xdt
Class CustomLinkRecogniserImpl
java.lang.Object
org.xbrlapi.xlink.CustomLinkRecogniser
org.xbrlapi.xlink.handler.XBRLCustomLinkRecogniserImpl
org.xbrlapi.xdt.CustomLinkRecogniserImpl
- All Implemented Interfaces:
- Serializable
public class CustomLinkRecogniserImpl
- extends XBRLCustomLinkRecogniserImpl
This class provides an example custom link
recogniser tailored to the needs of the non-xlink
links used by XBRL.
- Author:
- Geoffrey Shuetrim (geoff@galexy.net)
- See Also:
- Serialized Form
CustomLinkRecogniserImpl
public CustomLinkRecogniserImpl()
- Constructor for the XBRL custom link recogniser
isLink
public boolean isLink(String namespaceURI,
String lName,
String qName,
Attributes attrs)
- Added the ability to detect custom links from typed dimensions to their domain declarations.
- Overrides:
isLink in class XBRLCustomLinkRecogniserImpl
- Parameters:
namespaceURI - The namespace of the element.lName - The localname of the element.qName - The QName of the element.attrs - The attributes of the element.
- Returns:
- true if the element is a custom simple link and false
otherwise.
- See Also:
CustomLinkRecogniser.isLink(String, String, String, Attributes)
getHref
public String getHref(String namespaceURI,
String lName,
String qName,
Attributes attrs)
throws XLinkException
- Get the href from the custom link
- Overrides:
getHref in class XBRLCustomLinkRecogniserImpl
- Returns:
- the href
- Throws:
XLinkException