|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeManager
Define the interface for attribute's specific behavior
Method Summary | |
---|---|
java.lang.String |
getAttributeTypeCode()
Return the attribute Type code |
java.lang.String |
getAttributeXmlValue(Document document,
DocumentAttribute attribute)
Get the XML data corresponding to the attribute to build the docuemnt XML content |
java.lang.String |
getCreateFormHtml(DocumentAttribute attribute,
java.util.Locale locale)
Gets the part of an HTML form to enter attribute data |
java.util.List<AttributeTypeParameter> |
getExtraParameters(java.util.Locale locale)
Gets extra parameters for the attribute |
java.util.Collection |
getExtraParametersValues(java.util.Locale locale,
int nAttributeId)
Gets extra parameters values for the attribute |
java.lang.String |
getModifyFormHtml(DocumentAttribute attribute,
java.util.Locale locale)
Gets the part of an HTML form to modify attribute data |
void |
setAttributeTypeCode(java.lang.String strCode)
Define the attribute Type code |
java.lang.String |
validateValue(byte[] baValue)
Validate the value for the attribute |
java.lang.String |
validateValue(java.lang.String strValue)
Validate the value for the attribute |
Method Detail |
---|
void setAttributeTypeCode(java.lang.String strCode)
strCode
- The Attribute Type Codejava.lang.String getAttributeTypeCode()
java.lang.String getCreateFormHtml(DocumentAttribute attribute, java.util.Locale locale)
attribute
- The attributelocale
- The current Locale
java.lang.String getModifyFormHtml(DocumentAttribute attribute, java.util.Locale locale)
attribute
- The attributelocale
- The current Locale
java.util.List<AttributeTypeParameter> getExtraParameters(java.util.Locale locale)
locale
- The current Locale
java.util.Collection getExtraParametersValues(java.util.Locale locale, int nAttributeId)
locale
- The current LocalenAttributeId
-
java.lang.String validateValue(java.lang.String strValue)
strValue
- The value to check
java.lang.String validateValue(byte[] baValue)
baValue
- The value to check
java.lang.String getAttributeXmlValue(Document document, DocumentAttribute attribute)
document
- The documentattribute
- The attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |