org.apache.woden.internal.xml
Class BooleanAttrImpl

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

public class BooleanAttrImpl
extends XMLAttrImpl
implements BooleanAttr

This class represents XML attribute information items of type xs:boolean. If the attribute value is not "true" or "false" the Boolean content will be initialized to "false" by default, but the isValid() method will return "false".

Author:
jkaputin@apache.org

Field Summary
 
Fields inherited from class org.apache.woden.internal.xml.XMLAttrImpl
fAttrType, fContent, fExternalForm, fValid
 
Constructor Summary
BooleanAttrImpl()
           
BooleanAttrImpl(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.Boolean getBoolean()
           
 
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

BooleanAttrImpl

public BooleanAttrImpl()

BooleanAttrImpl

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

getBoolean

public java.lang.Boolean getBoolean()
Specified by:
getBoolean in interface BooleanAttr

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.