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(ISharedSettingsRequest request)
Returns formatted documentation of the declared
attribute according to settings defined in
request |
Collection<String> |
getEnumerationValues() |
String |
getName()
Returns the declared element name.
|
String |
getValueDocumentation(String value,
ISharedSettingsRequest settings)
Returns formatted documentation about
value,
according to settings defined in request |
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(ISharedSettingsRequest request)
CMAttributeDeclarationrequestgetDocumentation in interface CMAttributeDeclarationrequest - the request that contains settingsrequestpublic boolean isRequired()
CMAttributeDeclarationisRequired in interface CMAttributeDeclarationpublic String getValueDocumentation(String value, ISharedSettingsRequest settings)
CMAttributeDeclarationvalue,
according to settings defined in requestgetValueDocumentation in interface CMAttributeDeclarationvalue - the attribute value to find documentation forsettings - the request containing settingsvalue,
according to settings defined in requestCopyright © 2020. All rights reserved.