org.w3c.jigsaw.ssi
Class SegmentArrayAttribute

java.lang.Object
  |
  +--org.w3c.tools.resources.Attribute
        |
        +--org.w3c.tools.resources.ArrayAttribute
              |
              +--org.w3c.jigsaw.ssi.SegmentArrayAttribute

public class SegmentArrayAttribute
extends ArrayAttribute

Attribute used to make the document segment information persistent.

See Also:
Serialized Form

Fields inherited from class org.w3c.tools.resources.Attribute
COMPUTED, DONTSAVE, EDITABLE, flags, MANDATORY, name, type
 
Constructor Summary
SegmentArrayAttribute()
           
SegmentArrayAttribute(java.lang.String name, Segment[] def, int flags)
           
 
Method Summary
 boolean checkValue(java.lang.Object value)
           
 java.lang.String[] pickle(java.lang.Object obj)
          Pickle an attribute array into a String array.
 java.lang.String stringify(java.lang.Object value)
           
 java.lang.Object unpickle(java.lang.String[] array)
          Unpickle an attribute array from a string array.
 
Methods inherited from class org.w3c.tools.resources.Attribute
checkFlag, getDefault, getFlag, getName, getType, setFlag, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SegmentArrayAttribute

public SegmentArrayAttribute(java.lang.String name,
                             Segment[] def,
                             int flags)

SegmentArrayAttribute

public SegmentArrayAttribute()
Method Detail

checkValue

public boolean checkValue(java.lang.Object value)
Overrides:
checkValue in class Attribute

unpickle

public java.lang.Object unpickle(java.lang.String[] array)
Unpickle an attribute array from a string array.
Parameters:
array - the String array
Returns:
a Object array
Overrides:
unpickle in class ArrayAttribute

pickle

public java.lang.String[] pickle(java.lang.Object obj)
Pickle an attribute array into a String array.
Parameters:
array - the attribute array
Returns:
a String array
Overrides:
pickle in class ArrayAttribute

stringify

public java.lang.String stringify(java.lang.Object value)
Overrides:
stringify in class ArrayAttribute