com.conradroche.dtd.decl.elem
Interface SimpleContentParticle

All Superinterfaces:
ContentParticle

public interface SimpleContentParticle
extends ContentParticle

This class holds the ContentParticle that contains an Element Name followed by the Multiplicity.

Author:
Conrad Roche

Fields inherited from interface com.conradroche.dtd.decl.elem.ContentParticle
CARDINALITY_MULTIPLE, CARDINALITY_ONCE, CARDINALITY_OPTIONAL, CARDINALITY_OPTIONAL_MULTIPLE
 
Method Summary
 java.lang.String getElementName()
          Returns the element name that this content particle holds.
 void setElementName(java.lang.String elemName)
          Sets the element name that this content particle holds.
 
Methods inherited from interface com.conradroche.dtd.decl.elem.ContentParticle
getCardinality, setCardinality
 

Method Detail

getElementName

public java.lang.String getElementName()
Returns the element name that this content particle holds.
Returns:
The element name held by this CP.

setElementName

public void setElementName(java.lang.String elemName)
Sets the element name that this content particle holds.
Parameters:
elemName - The element name held by this CP.