|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.woden.types.QNameTokenUnion
public class QNameTokenUnion
This class represents the data type "Union of xs:QName and xs:Token" where the token values are #any, #none, or #other.
Field Summary | |
---|---|
static QNameTokenUnion |
ANY
|
static QNameTokenUnion |
NONE
|
static QNameTokenUnion |
OTHER
|
Constructor Summary | |
---|---|
QNameTokenUnion(QName qname)
Constructs a QNameTokenUnion as a 'QName' type with the specified qname value. |
Method Summary | |
---|---|
QName |
getQName()
Returns the QName if it exists otherwise null. |
java.lang.String |
getToken()
Returns the token value if it exists otherwise null. |
boolean |
isQName()
Returns True if a QName exists, otherwise it returns False; |
boolean |
isToken()
Returns True is a token value exists, otherwise it returns False. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final QNameTokenUnion ANY
public static final QNameTokenUnion NONE
public static final QNameTokenUnion OTHER
Constructor Detail |
---|
public QNameTokenUnion(QName qname)
qname
- the QName to set as its value.
java.lang.NullPointerException
- if qname is nullMethod Detail |
---|
public QName getQName()
public java.lang.String getToken()
public boolean isQName()
public boolean isToken()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |