public class XMLDocumentation extends AbstractDocumentation
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeDefaultValue(String elementName,
String attributeName)
Returns the default value of an attribute.
|
String[] |
getAttributeEnumValues(String elementName,
String attributeName)
Returns the enumeration values of a specified attribute.
|
void |
modifyAttributeDTD(String elementName,
String attributeName,
String[] values,
String defValue)
Modifies the DTD of an attribute.
|
boolean |
removeAttributeDTD(String elementName,
String attributeName)
Removes an attribute for the specified element.
|
XMLDocuNode |
root() |
getName, getTypepublic XMLDocuNode root()
public boolean removeAttributeDTD(String elementName, String attributeName)
elementName - Name of the elementattributeName - Name of the attributepublic String[] getAttributeEnumValues(String elementName, String attributeName)
elementName - Name of elementattributeName - Name of the attributenull
if the attribute was not found or does not contain enum valuespublic String getAttributeDefaultValue(String elementName, String attributeName)
elementName - Name of the elementattributeName - Name of the attributepublic void modifyAttributeDTD(String elementName, String attributeName, String[] values, String defValue)
elementName - Name of the elementattributeName - Name of the attributevalues - Enumeration values or null if this attribute can contain any valuesdefValue - Default valueCopyright © 2021. All rights reserved.