org.apache.woden.internal.xml
Class TokenAttrImpl

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

public class TokenAttrImpl
extends XMLAttrImpl
implements TokenAttr

This class represents XML attribute information items of type xs:token. TODO when the class org.apache.woden.types.Token has been created, convert the xs:token to a Token instead of a String and modify the getToken method to return a Token instead of a String.

Author:
jkaputin@apache.org

Field Summary
 
Fields inherited from class org.apache.woden.internal.xml.XMLAttrImpl
fAttrType, fContent, fExternalForm, fValid
 
Constructor Summary
TokenAttrImpl()
           
TokenAttrImpl(XMLElement ownerEl, QName attrType, java.lang.String attrValue, ErrorReporter errRpt)
           
 
Method Summary
protected  java.lang.Object convert(XMLElement ownerEl, java.lang.String attrValue)
           
 java.lang.String getToken()
           
 
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

TokenAttrImpl

public TokenAttrImpl()

TokenAttrImpl

public TokenAttrImpl(XMLElement ownerEl,
                     QName attrType,
                     java.lang.String attrValue,
                     ErrorReporter errRpt)
              throws WSDLException
Throws:
WSDLException
Method Detail

getToken

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

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.