org.jbind.xml.schema.element
Class Attribute
java.lang.Object
org.jbind.xml.schema.element.Attribute
- All Implemented Interfaces:
- IAttribute, IHasLocation
- Direct Known Subclasses:
- BooleanAttribute, IntAttribute, RefAttribute
- public class Attribute
- extends java.lang.Object
- implements IAttribute
Constructor Summary |
Attribute(ACParams anACParams)
|
Attribute(java.lang.String aNamespace,
java.lang.String aName,
java.lang.String aValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Attribute
public Attribute(ACParams anACParams)
Attribute
public Attribute(java.lang.String aNamespace,
java.lang.String aName,
java.lang.String aValue)
getLocalName
public java.lang.String getLocalName()
- Specified by:
getLocalName
in interface IAttribute
getNamespaceUri
public java.lang.String getNamespaceUri()
- Specified by:
getNamespaceUri
in interface IAttribute
getStringValue
public java.lang.String getStringValue()
- Specified by:
getStringValue
in interface IAttribute
getRef
public IRef getRef()
- Description copied from interface:
IAttribute
- Gets the attribute value interpreted as a reference. This method must only
be called if it is known that the attribute is a reference.
- Specified by:
getRef
in interface IAttribute
- Returns:
- (required).
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
- Returns:
- The boolean value of the attribute.
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
- Returns:
- The integer value of the attribute.
getLocation
public ILocation getLocation()
- Specified by:
getLocation
in interface IHasLocation