org.jbind.xml.schema.element
Class BooleanAttribute

java.lang.Object
  extended byorg.jbind.xml.schema.element.Attribute
      extended byorg.jbind.xml.schema.element.BooleanAttribute
All Implemented Interfaces:
IAttribute, IHasLocation

public class BooleanAttribute
extends Attribute


Constructor Summary
BooleanAttribute(ACParams anACParams)
           
 
Method Summary
 boolean getBoolean()
          Gets the attribute value interpreted as a boolean.
 
Methods inherited from class org.jbind.xml.schema.element.Attribute
getInt, getLocalName, getLocation, getNamespaceUri, getRef, getStringValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanAttribute

public BooleanAttribute(ACParams anACParams)
                 throws XmlException
Method Detail

getBoolean

public boolean getBoolean()
Description copied from interface: IAttribute
Gets the attribute value interpreted as a boolean. This method must only be called if it is known that the attribute is a boolean.

Specified by:
getBoolean in interface IAttribute
Overrides:
getBoolean in class Attribute