Top Description Fields Constructors Methods
org.dom4j.dtd

public Class ElementDecl

extends Object
implements Decl
Class Inheritance
All Implemented Interfaces
org.dom4j.dtd.Decl

AttributeDecl represents an element declaration in a DTD.

Author
James Strachan
Version
$Revision: 1.6 $

Field Summary

Modifier and TypeField and Description
private String
model

Holds value of property model.

private String
name

Holds value of property name.

Constructor Summary

AccessConstructor and Description
public
public
ElementDecl(String name, String model)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

Value of property model.
getModel
()

Getter for property model.

public String

Returns:

Value of property name.
getName
()

Getter for property name.

public void
setModel(String
New value of property model.
model
)

Setter for property model.

public void
setName(String
New value of property name.
name
)

Setter for property name.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

modelback to summary
private String model

Holds value of property model.

nameback to summary
private String name

Holds value of property name.

Constructor Detail

ElementDeclback to summary
public ElementDecl()
ElementDeclback to summary
public ElementDecl(String name, String model)

Method Detail

getModelback to summary
public String getModel()

Getter for property model.

Returns:String

Value of property model.

getNameback to summary
public String getName()

Getter for property name.

Returns:String

Value of property name.

setModelback to summary
public void setModel(String model)

Setter for property model.

Parameters
model:String

New value of property model.

setNameback to summary
public void setName(String name)

Setter for property name.

Parameters
name:String

New value of property name.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.