| java.lang.Object org.w3c.tools.resources.upgrade.Attribute org.w3c.tools.resources.upgrade.IntegerArrayAttribute
IntegerArrayAttribute | public class IntegerArrayAttribute extends Attribute (Code) | | The generic description of an IntegerArrayAttribute.
|
Method Summary | |
public boolean | checkValue(Object obj) Is the given object a valid IntegerArrayAttribute value ?
Parameters: obj - The object to test. | final public int | getPickleLength(Object value) Get the number of bytes required to save that attribute value.
Parameters: The - value about to be pickled. | public void | pickle(DataOutputStream out, Object ia) Pickle a integer array to the given output stream. | public String | stringify(Object value) Turn a IntegerArray attribute into a String. | public Object | unpickle(DataInputStream in) Unpickle an integer array from the given input stream.
Parameters: in - The input stream to unpickle from. |
checkValue | public boolean checkValue(Object obj)(Code) | | Is the given object a valid IntegerArrayAttribute value ?
Parameters: obj - The object to test. A boolean true if okay. |
getPickleLength | final public int getPickleLength(Object value)(Code) | | Get the number of bytes required to save that attribute value.
Parameters: The - value about to be pickled. The number of bytes needed to pickle that value. |
pickle | public void pickle(DataOutputStream out, Object ia) throws IOException(Code) | | Pickle a integer array to the given output stream.
Parameters: out - The output stream to pickle to. Parameters: obj - The object to pickle. exception: IOException - If some IO error occured. |
stringify | public String stringify(Object value)(Code) | | Turn a IntegerArray attribute into a String.
We use the normal property convention, which is to separate
each item with a |.
A String based encoding for that value. |
unpickle | public Object unpickle(DataInputStream in) throws IOException(Code) | | Unpickle an integer array from the given input stream.
Parameters: in - The input stream to unpickle from. An instance of int[]. exception: IOException - If some IO error occured. |
|
|