org.exolab.castor.xml.util
Class AttributeSetImpl

java.lang.Object
  extended by org.exolab.castor.xml.util.AttributeSetImpl
All Implemented Interfaces:
AttributeSet

public class AttributeSetImpl
extends java.lang.Object
implements AttributeSet

The default implementation of AttributeSet used by the Marshalling Framework.

Version:
$Revision: 6671 $ $Date: 2006-04-13 06:47:36 -0600 (Thu, 13 Apr 2006) $
Author:
Keith Visco

Nested Class Summary
(package private)  class AttributeSetImpl.Attribute
          A representation of an Attribute
 
Field Summary
static java.lang.String XMLNS
          The XML namespace declaration prefix.
 
Constructor Summary
AttributeSetImpl()
          Creates a new AttributeSetImpl
AttributeSetImpl(int size)
          Creates a new AttributeSetImpl.
 
Method Summary
 void clear()
          Removes all Attributes in this AttributeSetImpl
 int getIndex(java.lang.String name, java.lang.String namespace)
          Returns the index of the attribute associated with the given name and namespace.
 java.lang.String getName(int index)
          Returns the name of the attribute located at the given index.
 java.lang.String getNamespace(int index)
          Returns the namespace of the attribute located at the given index.
 int getSize()
          Returns the number of Attributes within this AttributeSet.
 java.lang.String getValue(int index)
          Returns the value of the attribute located at the given index within this AttributeSet.
 java.lang.String getValue(java.lang.String name)
          Returns the value of the attribute associated with the given name.
 java.lang.String getValue(java.lang.String name, java.lang.String namespace)
          Returns the value of the attribute associated with the given name.
 void setAttribute(java.lang.String name, java.lang.String value)
          Adds or replaces the attribute with the given name.
 void setAttribute(java.lang.String name, java.lang.String value, java.lang.String namespace)
          Adds or replaces the attribute with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XMLNS

public static final java.lang.String XMLNS
The XML namespace declaration prefix. It is an error for anLASS="Tabl" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES     SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com ./usr/share/doc/libcastor-xml-java/api/org/exolab/castor/xml/util/AttributeSetImpl.html0000644000000000000000000005615411543634671030126 0ustar rootroot AttributeSetImpl (Castor JavaDoc)

org.exolab.castor.xml.util
Class AttributeSetImpl

java.lang.Object
  extended by org.exolab.castor.xml.util.AttributeSetImpl
All Implemented Interfaces:
AttributeSet

public class AttributeSetImpl
extends java.lang.Object
implements AttributeSet

The default implementation of AttributeSet used by the Marshalling Framework.

Version:
$Revision: 6671 $ $Date: 2006-04-13 06:47:36 -0600 (Thu, 13 Apr 2006) $
Author:
Keith Visco

Nested Class Summary
(package private)  class AttributeSetImpl.Attribute
          A representation of an Attribute
 
Field Summary
static java.lang.String XMLNS
          The XML namespace declaration prefix.
 
Constructor Summary
AttributeSetImpl()
          Creates a new AttributeSetImpl
AttributeSetImpl(int size)
          Creates a new AttributeSetImpl.
 
Method Summary</