| java.lang.Object com.nabhinc.ws.core.PropertyInfo
PropertyInfo | public class PropertyInfo (Code) | | Encapsulates a Web service framework object property information
including the property name and value, description, etc.
author: Padmanabh Dabke author: (c) 2005 Nabh Information Systems, Inc. All Rights Reserved. |
SPEC_TYPE_COIL | final public static int SPEC_TYPE_COIL(Code) | | |
SPEC_TYPE_LITERAL | final public static int SPEC_TYPE_LITERAL(Code) | | |
description | public String description(Code) | | Property description
|
isMemo | public boolean isMemo(Code) | | A flag that provides a hint for editor UI. If true, editor
should provide a text area for specifying this property.
|
prompt | public String prompt(Code) | | Prompt to be used in a form corresponding to this property
|
specType | public int specType(Code) | | Indicates how the property value is specified. If
the spec type is SPEC_TYPE_COIL, the property
setting mechanism will attempt to evaluate the value
as COIL expression.
|
init | public void init(Element config)(Code) | | Initializes property meta-data from XML configuration
Parameters: config - XML configuration throws: IllegalArgumentException - When spec-type is other than "coil" or "literal". |
serialize | public void serialize(String indent, String delta, Writer w, String tag) throws IOException(Code) | | Serializes property metadata as XML.
Parameters: indent - Starting indent Parameters: delta - Indentation for each level Parameters: w - Writer Parameters: tag - Enclosing tag used for the element. throws: IOException - |
|
|