public class CMXSDAttributeDeclaration extends Object implements CMAttributeDeclaration
| Constructor and Description |
|---|
CMXSDAttributeDeclaration(CMXSDElementDeclaration cmElement,
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()
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.
|
String |
getPrefix() |
boolean |
isRequired()
Returns true if the attribute is required and false otherwise.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getNamepublic CMXSDAttributeDeclaration(CMXSDElementDeclaration cmElement, org.apache.xerces.xs.XSAttributeUse attributeUse)
public String getPrefix()
getPrefix in interface CMAttributeDeclarationpublic String getLocalName()
CMAttributeDeclarationgetLocalName in interface CMAttributeDeclarationpublic String getNamespace()
CMAttributeDeclarationgetNamespace in interface CMAttributeDeclarationpublic CMElementDeclaration getOwnerElementDeclaration()
CMAttributeDeclarationgetOwnerElementDeclaration in interface CMAttributeDeclarationpublic String getDefaultValue()
CMAttributeDeclarationgetDefaultValue 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()
CMAttributeDeclarationgetEnumerationValues in interface CMAttributeDeclarationCopyright © 2024. All rights reserved.