public class ElementDecl extends Object implements Decl
AttributeDecl
represents an element declaration in a DTD.
Constructor and Description |
---|
ElementDecl() |
ElementDecl(String name,
String model) |
Modifier and Type | Method and Description |
---|---|
String |
getModel()
Getter for property model.
|
String |
getName()
Getter for property name.
|
void |
setModel(String model)
Setter for property model.
|
void |
setName(String name)
Setter for property name.
|
String |
toString() |
public String getName()
public void setName(String name)
name
- New value of property name.public String getModel()
public void setModel(String model)
model
- New value of property model.Copyright © 2018 JBoss by Red Hat. All rights reserved.