public class XBRLRoleArcroleTypeFormatter
extends java.lang.Object
| Constructor and Description |
|---|
XBRLRoleArcroleTypeFormatter() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getArcroleTypeString(XBRLArcroleType arcrole)
Static method to format an arc role type.
|
static java.lang.String |
getRoleTypeString(XBRLRoleType role)
Static method to format a role type.
|
public static java.lang.String getRoleTypeString(XBRLRoleType role)
The method first tries to get the role definition. If a role definition exist, then the role definition is returned.
Secondly, the role URI is processed. If the role URI starts with the standard http://www.xbrl.org/2003/role/ then that part of the role is skipped.
role - the rolepublic static java.lang.String getArcroleTypeString(XBRLArcroleType arcrole)
The method first tries to get the arc role definition. If an arc role definition exist, then the arc role definition is returned.
Secondly, the arc role URI is processed. If the arc role URI starts with the standard http://www.xbrl.org/2003/arcrole/ then that part of the role is skipped.
arcrole - the arcrole