org.apache.woden.internal.xml
Class QNameListOrTokenAnyAttrImpl

java.lang.Object
  extended by org.apache.woden.internal.xml.XMLAttrImpl
      extended by org.apache.woden.internal.xml.QNameListOrTokenAnyAttrImpl
All Implemented Interfaces:
QNameListOrTokenAttr, XMLAttr

public class QNameListOrTokenAnyAttrImpl
extends XMLAttrImpl
implements QNameListOrTokenAttr

This class represents XML attribute information items of type Union of list of QName or xs:token #any. For example, the wsoap:subcodes extension attribute of binding fault.

Author:
jkaputin@apache.org

Field Summary
 
Fields inherited from class org.apache.woden.internal.xml.XMLAttrImpl
fAttrType, fContent, fExternalForm, fValid
 
Constructor Summary
QNameListOrTokenAnyAttrImpl()
           
 
Method Summary
protected  java.lang.Object convert(XMLElement ownerEl, java.lang.String attrValue)
           
 QName[] getQNames()
           
 java.lang.String getToken()
           
 boolean isQNameList()
           
 boolean isToken()
           
 
Methods inherited from class org.apache.woden.internal.xml.XMLAttrImpl
getAttributeType, getContent, getErrorReporter, init, isValid, setErrorReporter, setValid, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.woden.xml.XMLAttr
getAttributeType, getContent, init, isValid, setErrorReporter, toExternalForm
 

Constructor Detail

QNameListOrTokenAnyAttrImpl

public QNameListOrTokenAnyAttrImpl()
Method Detail

isQNameList

public boolean isQNameList()
Specified by:
isQNameList in interface QNameListOrTokenAttr

isToken

public boolean isToken()
Specified by:
isToken in interface QNameListOrTokenAttr

getQNames

public QName[] getQNames()
Specified by:
getQNames in interface QNameListOrTokenAttr

getToken

public java.lang.String getToken()
Specified by:
getToken in interface QNameListOrTokenAttr

convert

protected java.lang.Object convert(XMLElement ownerEl,
                                   java.lang.String attrValue)
                            throws WSDLException
Specified by:
convert in class XMLAttrImpl
Throws:
WSDLException


Copyright © 2007. All Rights Reserved.