Public Member Functions | |
int | getIndex (String name, String namespace) |
String | getName (int index) |
String | getNamespace (int index) |
int | getSize () |
String | getValue (int index) |
String | getValue (String name) |
String | getValue (String name, String namespace) |
A simple interface for handling Attributes in the Marshalling Framework.
int org.exolab.castor.xml.AttributeSet.getIndex | ( | String | name, | |
String | namespace | |||
) |
Returns the index of the attribute associated with the given name and namespace.
name | the name of the attribute whose value should be returned. | |
namespace | the namespace of the attribute |
Implemented in org.exolab.castor.xml.util.AttributeSetImpl.
String org.exolab.castor.xml.AttributeSet.getName | ( | int | index | ) |
Returns the name of the attribute located at the given index.
index | the index of the attribute whose name should be returned. |
Implemented in org.exolab.castor.xml.util.AttributeSetImpl.
String org.exolab.castor.xml.AttributeSet.getNamespace | ( | int | index | ) |
Returns the namespace of the attribute located at the given index.
Implemented in org.exolab.castor.xml.util.AttributeSetImpl.
int org.exolab.castor.xml.AttributeSet.getSize | ( | ) |
Returns the number of Attributes within this AttributeSet.
Implemented in org.exolab.castor.xml.util.AttributeSetImpl.
String org.exolab.castor.xml.AttributeSet.getValue | ( | String | name, | |
String | namespace | |||
) |
Returns the value of the attribute associated with the given name. This method is equivalent to call getValue(name, null);
name | the name of the attribute whose value should be returned. | |
namespace | the namespace of the attribute |
Implemented in org.exolab.castor.xml.util.AttributeSetImpl.
String org.exolab.castor.xml.AttributeSet.getValue | ( | String | name | ) |
Returns the value of the attribute associated with the given name. This method is equivalent to call getValue(name, null);
name | the name of the attribute whose value should be returned. |
Implemented in org.exolab.castor.xml.util.AttributeSetImpl.
String org.exolab.castor.xml.AttributeSet.getValue | ( | int | index | ) |
Returns the value of the attribute located at the given index within this AttributeSet.
index | the index of the attribute whose value should be returned. |
Implemented in org.exolab.castor.xml.util.AttributeSetImpl.
Referenced by org.exolab.castor.xml.schema.reader.AttributeUnmarshaller.AttributeUnmarshaller(), org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.ComplexContentRestrictionUnmarshaller(), org.exolab.castor.xml.schema.reader.ComplexContentUnmarshaller.ComplexContentUnmarshaller(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.ComplexTypeUnmarshaller(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.ElementUnmarshaller(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.ExtensionUnmarshaller(), org.exolab.castor.xml.schema.reader.FieldOrSelectorUnmarshaller.FieldOrSelectorUnmarshaller(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.GroupUnmarshaller(), org.exolab.castor.xml.schema.reader.IdentityConstraintUnmarshaller.IdentityConstraintUnmarshaller(), org.exolab.castor.xml.schema.reader.ImportUnmarshaller.ImportUnmarshaller(), org.exolab.castor.xml.schema.reader.IncludeUnmarshaller.IncludeUnmarshaller(), org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.ModelGroupUnmarshaller(), org.exolab.castor.xml.schema.reader.RedefineUnmarshaller.RedefineUnmarshaller(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.SimpleContentRestrictionUnmarshaller(), org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.SimpleTypeRestrictionUnmarshaller(), org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.SimpleTypeUnmarshaller(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.startElement(), org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.startElement(), and org.exolab.castor.xml.schema.reader.ComplexContentRestrictionUnmarshaller.startElement().