com.conradroche.dtd.decl
Interface AttlistDecl


public interface AttlistDecl

From the XML Specification [Section 3.3 Attribute-List Declarations] - [Definition: Attribute-list declarations specify the name, data type, and default value (if any) of each attribute associated with a given element type]

Author:
Conrad Roche

Method Summary
 void addAttDef(AttDef attDef)
          Adds an attribute definition to this attribute list declaration.
 void addAttDefs(java.util.Collection attDefs)
          Adds Attribute definitions to this attribute list declaration.
 java.util.Collection getAttDefs()
          Returns the attribute definitions contained within this attribute list declaration.
 java.lang.String getElementName()
          Returns the element name associated with this attribute list declaration.
 void setElementName(java.lang.String elemName)
          Sets the element name associated with this attribute list declaration.
 

Method Detail

getElementName

public java.lang.String getElementName()
Returns the element name associated with this attribute list declaration.
Returns:
The element name.

setElementName

public void setElementName(java.lang.String elemName)
Sets the element name associated with this attribute list declaration.
Parameters:
elemName - The element name.

addAttDef

public void addAttDef(AttDef attDef)
Adds an attribute definition to this attribute list declaration.
Parameters:
attDef - Attribute definition to add.

addAttDefs

public void addAttDefs(java.util.Collection attDefs)
Adds Attribute definitions to this attribute list declaration.
Parameters:
attDefs - Attribute definitions to add.

getAttDefs

public java.util.Collection getAttDefs()
Returns the attribute definitions contained within this attribute list declaration.
Returns:
Collection of AttDef objects.