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()
CMAttributeDeclarationgetName in interface CMAttributeDeclarationpublic String getDefaultValue()
getDefaultValue in interface CMAttributeDeclarationpublic Collection<String> getEnumerationValues()
getEnumerationValues in interface CMAttributeDeclarationpublic String getDocumentation()
getDocumentation in interface CMAttributeDeclarationpublic boolean isRequired()
CMAttributeDeclarationisRequired in interface CMAttributeDeclarationpublic String getValueDocumentation(String value)
getValueDocumentation in interface CMAttributeDeclarationCopyright © 2020. All rights reserved.