org.apache.woden.internal.xml
Class IntOrTokenAnyAttrImpl

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

public class IntOrTokenAnyAttrImpl
extends XMLAttrImpl
implements IntOrTokenAttr

This class represents XML attribute information items of type 'Union of xs:int, xs:token #any', for example the whttp: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
IntOrTokenAnyAttrImpl()
           
 
Method Summary
protected  java.lang.Object convert(XMLElement ownerEl, java.lang.String attrValue)
           
 java.lang.Integer getInt()
           
 java.lang.String getToken()
           
 boolean isInt()
           
 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

IntOrTokenAnyAttrImpl

public IntOrTokenAnyAttrImpl()
Method Detail

isInt

public boolean isInt()
Specified by:
isInt in interface IntOrTokenAttr

isToken

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

getInt

public java.lang.Integer getInt()
Specified by:
getInt in interface IntOrTokenAttr

getToken

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

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.