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 |
getAttributeNameDocumentation(ISharedSettingsRequest request)
Returns formatted documentation of the declared attribute according to
settings defined in
request |
String |
getAttributeValueDocumentation(String value,
ISharedSettingsRequest request)
Returns formatted documentation about
value, according to
settings defined in request |
String |
getDefaultValue()
Returns the default value of the declared attribute and null otherwise.
|
Collection<String> |
getEnumerationValues()
Returns enumeration values of the declared attribute and empty collection
otherwise.
|
String |
getLocalName()
Returns the declared attribute local name.
|
String |
getNamespace()
Returns the target namespace and null otherwise.
|
CMElementDeclaration |
getOwnerElementDeclaration()
Returns the owner element declaration.
|
boolean |
isRequired()
Returns true if the attribute is required and false otherwise.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getNamepublic CMDTDAttributeDeclaration(CMDTDElementDeclaration elementDecl)
public String getLocalName()
CMAttributeDeclarationgetLocalName in interface CMAttributeDeclarationpublic String getNamespace()
CMAttributeDeclarationgetNamespace in interface CMAttributeDeclarationpublic CMElementDeclaration getOwnerElementDeclaration()
CMAttributeDeclarationgetOwnerElementDeclaration in interface CMAttributeDeclarationpublic String getDefaultValue()
CMAttributeDeclarationgetDefaultValue in interface CMAttributeDeclarationpublic Collection<String> getEnumerationValues()
CMAttributeDeclarationgetEnumerationValues in interface CMAttributeDeclarationpublic String getAttributeNameDocumentation(ISharedSettingsRequest request)
CMAttributeDeclarationrequestgetAttributeNameDocumentation in interface CMAttributeDeclarationrequest - the request that contains settingsrequestpublic boolean isRequired()
CMAttributeDeclarationisRequired in interface CMAttributeDeclarationpublic String getAttributeValueDocumentation(String value, ISharedSettingsRequest request)
CMAttributeDeclarationvalue, according to
settings defined in requestgetAttributeValueDocumentation in interface CMAttributeDeclarationvalue - the attribute value to find documentation forrequest - the request containing settingsvalue, according to
settings defined in requestCopyright © 2022. All rights reserved.