| |
|
| java.lang.Object org.w3c.tools.resources.Attribute org.w3c.tools.resources.ArrayAttribute org.w3c.tools.resources.PropertiesAttribute
PropertiesAttribute | public class PropertiesAttribute extends ArrayAttribute (Code) | | The generic description of an PropertiesAttribute.
A PropertiesAttribute instance holds a String to String mapping, it
should be used only with care, since people may act on a reference to
it.
|
Method Summary | |
public boolean | checkValue(Object obj) Is the given object a valid PropertiesAttribute value ?
Parameters: obj - The object to test. | public String[] | pickle(Object o) Pickle an attribute array into a String array. | public Object | unpickle(String array) Unpickle an attribute array from a string array. |
PropertiesAttribute | public PropertiesAttribute(String name, String def, int flags)(Code) | | Create a description for a generic property list attribute.
Parameters: name - The attribute name. Parameters: def - The default value for these attributes. Parameters: flags - The associated flags. |
PropertiesAttribute | public PropertiesAttribute()(Code) | | |
checkValue | public boolean checkValue(Object obj)(Code) | | Is the given object a valid PropertiesAttribute value ?
Parameters: obj - The object to test. A boolean true if value is valid. |
pickle | public String[] pickle(Object o)(Code) | | Pickle an attribute array into a String array.
Parameters: array - the attribute array a String array |
unpickle | public Object unpickle(String array)(Code) | | Unpickle an attribute array from a string array.
Parameters: array - the String array a Object array |
|
|
|