Matra DTD Parser 0.8b

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 Cardinality.

Author:
Conrad Roche

Fields inherited from interface com.conradroche.dtd.decl.elem.ContentParticle
CARDINALITY_MULTIPLE, CARDINALITY_ONCE, CARDINALITY_OPTIONAL, CARDINALITY_OPTIONAL_MULTIPLE
 
Method Summary
 String getElementName()
          Returns the element name that this content particle holds.
 void setElementName(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 String getElementName()
Returns the element name that this content particle holds.
Returns:
The element name held by this CP.
See Also:
setElementName(java.lang.String)

setElementName

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

Matra DTD Parser 0.8b