Public Member Functions

org.exolab.castor.xml.AttributeSet Interface Reference

Inheritance diagram for org.exolab.castor.xml.AttributeSet:
org.exolab.castor.xml.util.AttributeSetImpl

List of all members.

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)

Detailed Description

A simple interface for handling Attributes in the Marshalling Framework.

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:08

Member Function Documentation

int org.exolab.castor.xml.AttributeSet.getIndex ( String  name,
String  namespace 
)

Returns the index of the attribute associated with the given name and namespace.

Parameters:
name the name of the attribute whose value should be returned.
namespace the namespace of the attribute
Returns:
the index of the attribute, or -1 if not found.

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.

Parameters:
index the index of the attribute whose name should be returned.
Returns:
the name of the attribute located at the given index.

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.

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.

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);

Parameters:
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);

Parameters:
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.

Parameters:
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().


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties