public class CMXSDAttributeDeclaration extends Object implements CMAttributeDeclaration
| Constructor and Description |
|---|
CMXSDAttributeDeclaration(org.apache.xerces.xs.XSAttributeUse attributeUse) |
| 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() |
Collection<String> |
getEnumerationValues() |
String |
getName()
Returns the declared element name.
|
String |
getNamespace()
Returns the target namespace and null otherwise.
|
boolean |
isRequired()
Returns true if the attribute is required and false otherwise.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic CMXSDAttributeDeclaration(org.apache.xerces.xs.XSAttributeUse attributeUse)
public String getName()
CMAttributeDeclarationgetName in interface CMAttributeDeclarationpublic String getNamespace()
CMAttributeDeclarationgetNamespace in interface CMAttributeDeclarationpublic String getDefaultValue()
getDefaultValue in interface CMAttributeDeclarationpublic String getAttributeNameDocumentation(ISharedSettingsRequest request)
CMAttributeDeclarationrequestgetAttributeNameDocumentation in interface CMAttributeDeclarationrequest - the request that contains settingsrequestpublic 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 requestpublic boolean isRequired()
CMAttributeDeclarationisRequired in interface CMAttributeDeclarationpublic Collection<String> getEnumerationValues()
getEnumerationValues in interface CMAttributeDeclarationCopyright © 2022. All rights reserved.