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, wait
getName, getName
public CMDTDAttributeDeclaration(CMDTDElementDeclaration elementDecl)
public String getLocalName()
CMAttributeDeclaration
getLocalName
in interface CMAttributeDeclaration
public String getNamespace()
CMAttributeDeclaration
getNamespace
in interface CMAttributeDeclaration
public CMElementDeclaration getOwnerElementDeclaration()
CMAttributeDeclaration
getOwnerElementDeclaration
in interface CMAttributeDeclaration
public String getDefaultValue()
CMAttributeDeclaration
getDefaultValue
in interface CMAttributeDeclaration
public Collection<String> getEnumerationValues()
CMAttributeDeclaration
getEnumerationValues
in interface CMAttributeDeclaration
public String getAttributeNameDocumentation(ISharedSettingsRequest request)
CMAttributeDeclaration
request
getAttributeNameDocumentation
in interface CMAttributeDeclaration
request
- the request that contains settingsrequest
public boolean isRequired()
CMAttributeDeclaration
isRequired
in interface CMAttributeDeclaration
public String getAttributeValueDocumentation(String value, ISharedSettingsRequest request)
CMAttributeDeclaration
value
, according to
settings defined in request
getAttributeValueDocumentation
in interface CMAttributeDeclaration
value
- the attribute value to find documentation forrequest
- the request containing settingsvalue
, according to
settings defined in request
Copyright © 2022. All rights reserved.