public class QNameOrExpression
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
QNameOrExpression.Type
The Enum Type.
|
Constructor and Description |
---|
QNameOrExpression(javax.xml.namespace.QName value)
Instantiates a new q name or expression.
|
QNameOrExpression(java.lang.String value)
Instantiates a new q name or expression.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArcrole()
Gets the arcrole.
|
java.lang.String |
getAxis()
Gets the token.
|
java.lang.String |
getExpression()
Gets the expression.
|
java.lang.String |
getLinkRole()
Gets the link role.
|
javax.xml.namespace.QName |
getQName()
Gets the q name.
|
QNameOrExpression.Type |
getType()
Gets the type.
|
boolean |
isExtended()
Check if this member contains linkrole, arcrole or token and returns true if that is the case
note, in order to generate a resource, it is required to provide all this values.
|
static QNameOrExpression |
readQcE(ExcelSheetPoint sp,
GenerationContext gc)
Read from the excel sheet point indicated in sp parameter
either a QName or an XPath expression where
the QName could be a concept definition
|
static QNameOrExpression |
readQcEV(ExcelSheetPoint sp,
GenerationContext gc)
Read from the excel sheet point indicated in sp parameter
either a QName, an XPath expression or a variable name where
the QName could be a concept definition
|
static QNameOrExpression |
readQnE(ExcelSheetPoint sp,
GenerationContext gc)
Read from the excel sheet point indicated in sp parameter
either a QName or an XPath expression where
the QName might NOT be a concept definition
|
static QNameOrExpression |
readQnEV(ExcelSheetPoint sp,
GenerationContext gc)
Read from the excel sheet point indicated in sp parameter
either a QName, an XPath expression or a variable name where
the QName might NOT be a concept definition
|
void |
setArcrole(java.lang.String arcrole)
Sets the arcrole.
|
void |
setAxis(java.lang.String axis)
Sets the token.
|
void |
setLinkRole(java.lang.String linkRole)
Sets the link role.
|
void |
setVariable()
Sets the type to variable.
|
public QNameOrExpression(javax.xml.namespace.QName value)
value
- the valuepublic QNameOrExpression(java.lang.String value)
value
- the valuepublic static QNameOrExpression readQcE(ExcelSheetPoint sp, GenerationContext gc) throws SheetPointException
sp
- the Excel Sheet Point to usegc
- the XBRL Generation ContextSheetPointException
- the sheet point exceptionpublic static QNameOrExpression readQnE(ExcelSheetPoint sp, GenerationContext gc) throws SheetPointException
sp
- the Excel Sheet Point to usegc
- the XBRL Generation ContextSheetPointException
- the sheet point exceptionpublic static QNameOrExpression readQcEV(ExcelSheetPoint sp, GenerationContext gc) throws SheetPointException
sp
- the Excel Sheet Point to usegc
- the XBRL Generation ContextSheetPointException
- the sheet point exceptionpublic static QNameOrExpression readQnEV(ExcelSheetPoint sp, GenerationContext gc) throws SheetPointException
sp
- the Excel Sheet Point to usegc
- the XBRL Generation ContextSheetPointException
- the sheet point exceptionpublic QNameOrExpression.Type getType()
public java.lang.String getExpression()
public javax.xml.namespace.QName getQName()
public java.lang.String getLinkRole()
public java.lang.String getArcrole()
public java.lang.String getAxis()
public void setLinkRole(java.lang.String linkRole)
linkRole
- the linkRole to setpublic void setArcrole(java.lang.String arcrole)
arcrole
- the arcrole to setpublic void setAxis(java.lang.String axis)
axis
- the axis to setpublic void setVariable()
public boolean isExtended()
note, in order to generate a resource, it is required to provide all this values. The method returns true if just one of them is not null. It is application responsibility to generate the proper error message if the value set is not complete
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa