org.apache.woden.internal.xml
Class QNameOrTokenAnyAttrImpl

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

public class QNameOrTokenAnyAttrImpl
extends XMLAttrImpl
implements QNameOrTokenAttr

This class represents XML attribute information items of type Union of QName or xs:token #any. For example, the wsoap:code 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
QNameOrTokenAnyAttrImpl()
           
 
Method Summary
protected  java.lang.Object convert(XMLElement ownerEl, java.lang.String attrValue)
           
 QName getQName()
           
 java.lang.String getToken()
           
 boolean isQName()
           
 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

QNameOrTokenAnyAttrImpl

public QNameOrTokenAnyAttrImpl()
Method Detail

isQName

public boolean isQName()
Specified by:
isQName in interface QNameOrTokenAttr

isToken

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

getQName

public QName getQName()
Specified by:
getQName in interface QNameOrTokenAttr

getToken

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

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.