public class CMDTDAttributeDeclaration extends org.apache.xerces.impl.dtd.XMLAttributeDecl implements CMAttributeDeclaration
Constructor and Description |
---|
CMDTDAttributeDeclaration(CMDTDElementDeclaration elementDecl) |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue() |
String |
getDocumentation() |
Collection<String> |
getEnumerationValues() |
String |
getName()
Returns the declared element name.
|
String |
getValueDocumentation(String value) |
boolean |
isRequired()
Returns true if the attribute is required and false otherwise.
|
public CMDTDAttributeDeclaration(CMDTDElementDeclaration elementDecl)
public String getName()
CMAttributeDeclaration
getName
in interface CMAttributeDeclaration
public String getDefaultValue()
getDefaultValue
in interface CMAttributeDeclaration
public Collection<String> getEnumerationValues()
getEnumerationValues
in interface CMAttributeDeclaration
public String getDocumentation()
getDocumentation
in interface CMAttributeDeclaration
public boolean isRequired()
CMAttributeDeclaration
isRequired
in interface CMAttributeDeclaration
public String getValueDocumentation(String value)
getValueDocumentation
in interface CMAttributeDeclaration
Copyright © 2020. All rights reserved.