public class Definition extends BasicAttributeContext
| Modifier and Type | Field and Description |
|---|---|
protected String |
inherit
Extends attribute value.
|
protected String |
name
Definition name.
|
attributes, cascadedAttributes, preparer, templateAttribute| Constructor and Description |
|---|
Definition()
Constructor.
|
Definition(Definition definition)
Copy Constructor.
|
Definition(String name,
Attribute templateAttribute,
Map<String,Attribute> attributes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getExtends()
Get extends.
|
String |
getName()
Access method for the name property.
|
int |
hashCode() |
boolean |
isExtending()
Get extends flag.
|
void |
setExtends(String name)
Set extends.
|
void |
setName(String aName)
Sets the value of the name property.
|
String |
toString()
Returns a description of the attributes.
|
addAll, clear, getAttribute, getCascadedAttribute, getCascadedAttributeNames, getLocalAttribute, getLocalAttributeNames, getPreparer, getTemplateAttribute, inherit, inherit, inheritCascadedAttributes, putAttribute, putAttribute, setPreparer, setTemplateAttributeprotected String inherit
protected String name
public Definition()
public Definition(Definition definition)
definition - The definition to copy.public String getName()
public void setName(String aName)
aName - the new value of the name propertypublic void setExtends(String name)
name - Name of the extended definition.public String getExtends()
public boolean equals(Object obj)
equals in class BasicAttributeContextpublic int hashCode()
hashCode in class BasicAttributeContextpublic boolean isExtending()
true if this definition extends another.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.