Class CMDTDAttributeDeclaration
java.lang.Object
org.apache.xerces.impl.dtd.XMLAttributeDecl
org.eclipse.lemminx.extensions.dtd.contentmodel.CMDTDAttributeDeclaration
- All Implemented Interfaces:
CMAttributeDeclaration
public class CMDTDAttributeDeclaration
extends org.apache.xerces.impl.dtd.XMLAttributeDecl
implements CMAttributeDeclaration
DTD attribute declaration.
-
Field Summary
Fields inherited from class org.apache.xerces.impl.dtd.XMLAttributeDecl
name, optional, simpleType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns formatted documentation of the declared attribute according to settings defined inrequestgetAttributeValueDocumentation(String value, ISharedSettingsRequest request) Returns formatted documentation aboutvalue, according to settings defined inrequestReturns the default value of the declared attribute and null otherwise.Returns enumeration values of the declared attribute and empty collection otherwise.Returns the declared attribute local name.Returns the target namespace and null otherwise.Returns the owner element declaration.booleanReturns true if the attribute is required and false otherwise.Methods inherited from class org.apache.xerces.impl.dtd.XMLAttributeDecl
clear, setValuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.lemminx.extensions.contentmodel.model.CMAttributeDeclaration
getName, getName
-
Constructor Details
-
CMDTDAttributeDeclaration
-
-
Method Details
-
getLocalName
Description copied from interface:CMAttributeDeclarationReturns the declared attribute local name.- Specified by:
getLocalNamein interfaceCMAttributeDeclaration- Returns:
- the declared attribute local name.
-
getNamespace
Description copied from interface:CMAttributeDeclarationReturns the target namespace and null otherwise.- Specified by:
getNamespacein interfaceCMAttributeDeclaration- Returns:
- the target namespace and null otherwise.
-
getOwnerElementDeclaration
Description copied from interface:CMAttributeDeclarationReturns the owner element declaration.- Specified by:
getOwnerElementDeclarationin interfaceCMAttributeDeclaration- Returns:
- the owner element declaration.
-
getDefaultValue
Description copied from interface:CMAttributeDeclarationReturns the default value of the declared attribute and null otherwise.- Specified by:
getDefaultValuein interfaceCMAttributeDeclaration- Returns:
- the default value of the declared attribute and null otherwise.
-
getEnumerationValues
Description copied from interface:CMAttributeDeclarationReturns enumeration values of the declared attribute and empty collection otherwise.- Specified by:
getEnumerationValuesin interfaceCMAttributeDeclaration- Returns:
- enumeration values of the declared attribute and empty collection otherwise.
-
isRequired
public boolean isRequired()Description copied from interface:CMAttributeDeclarationReturns true if the attribute is required and false otherwise.- Specified by:
isRequiredin interfaceCMAttributeDeclaration- Returns:
- true if the attribute is required and false otherwise.
-