com.bluecast.xml

Class ElementDefinition

public final class ElementDefinition extends Object

A class to hold information about an element defined within an XML document type declaration.

Version: $Revision: 1.3 $

Author: Yuval Oren, yuval@bluecast.com

Constructor Summary
ElementDefinition()
ElementDefinition(String name)
Method Summary
voidaddAttribute(AttributeDefinition attrib)
AttributeDefinitiongetAttribute(int index)
intgetAttributeCount()
AttributeDefinition[]getAttributes()
IndexedObjectgetIndexedAttribute(String name)
StringgetName()
voidsetName(String name)

Constructor Detail

ElementDefinition

public ElementDefinition()

ElementDefinition

public ElementDefinition(String name)

Method Detail

addAttribute

public final void addAttribute(AttributeDefinition attrib)

getAttribute

public final AttributeDefinition getAttribute(int index)

getAttributeCount

public final int getAttributeCount()

getAttributes

public final AttributeDefinition[] getAttributes()

getIndexedAttribute

public final IndexedObject getIndexedAttribute(String name)

getName

public final String getName()

setName

public final void setName(String name)