org.jbind.xml.schema.element
Class IntAttribute

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

public class IntAttribute
extends Attribute


Constructor Summary
IntAttribute(ACParams anACParams)
           
 
Method Summary
 int getInt()
          Gets the attribute value interpreted as an integer.
 
Methods inherited from class org.jbind.xml.schema.element.Attribute
getBoolean, 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

IntAttribute

public IntAttribute(ACParams anACParams)
             throws XmlException
Method Detail

getInt

public int getInt()
Description copied from interface: IAttribute
Gets the attribute value interpreted as an integer. This method must only be called if it is known that the attribute is an integer.

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