org.jbind.xml.base
Interface IAttribute

All Superinterfaces:
IHasLocation
All Known Implementing Classes:
Attribute

public interface IAttribute
extends IHasLocation


Method Summary
 boolean getBoolean()
          Gets the attribute value interpreted as a boolean.
 int getInt()
          Gets the attribute value interpreted as an integer.
 java.lang.String getLocalName()
           
 java.lang.String getNamespaceUri()
           
 IRef getRef()
          Gets the attribute value interpreted as a reference.
 java.lang.String getStringValue()
           
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 

Method Detail

getLocalName

public java.lang.String getLocalName()

getNamespaceUri

public java.lang.String getNamespaceUri()

getStringValue

public java.lang.String getStringValue()

getRef

public IRef getRef()
Gets the attribute value interpreted as a reference. This method must only be called if it is known that the attribute is a reference.

Returns:
(required).

getBoolean

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

Returns:
The boolean value of the attribute.

getInt

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

Returns:
The integer value of the attribute.