viper.descriptors.attributes
Interface ExtendedAttributeValue
- All Superinterfaces:
- AttributeValue, Measurable
- public interface ExtendedAttributeValue
- extends AttributeValue
Some attributes have extra config information. Their must implement
this interface. When outputing the attribute config section, this
method is called on each attribute's archetype.
- Author:
- davidm
Method Summary |
org.w3c.dom.Element |
getExtraConfig(org.w3c.dom.Document root)
Gets the extra config information as an XML
DOM node. |
java.lang.String |
getExtraConfigString()
Gets the extra config information for the attribute. |
getExtraConfigString
public java.lang.String getExtraConfigString()
- Gets the extra config information for the attribute.
- Returns:
- the extra config string
getExtraConfig
public org.w3c.dom.Element getExtraConfig(org.w3c.dom.Document root)
- Gets the extra config information as an XML
DOM node.
- Parameters:
root
- the document root; necessary for
creation of a DOM node
- Returns:
- the element