Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / real-world application / jigsaw / WWW / Doc / Programmer / api / org / w3c / tools / resources / upgrade / Attribute.html
diff --git a/JMCR-Stable/real-world application/jigsaw/WWW/Doc/Programmer/api/org/w3c/tools/resources/upgrade/Attribute.html b/JMCR-Stable/real-world application/jigsaw/WWW/Doc/Programmer/api/org/w3c/tools/resources/upgrade/Attribute.html
new file mode 100644 (file)
index 0000000..34ef7f9
--- /dev/null
@@ -0,0 +1,655 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
+<!--NewPage-->\r
+<HTML>\r
+<HEAD>\r
+<!-- Generated by javadoc (build 1.5.0_11) on Tue Apr 10 15:02:45 UTC 2007 -->\r
+<TITLE>\r
+Attribute\r
+</TITLE>\r
+\r
+<META NAME="keywords" CONTENT="org.w3c.tools.resources.upgrade.Attribute class">\r
+\r
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">\r
+\r
+<SCRIPT type="text/javascript">\r
+function windowTitle()\r
+{\r
+    parent.document.title="Attribute";\r
+}\r
+</SCRIPT>\r
+<NOSCRIPT>\r
+</NOSCRIPT>\r
+\r
+</HEAD>\r
+\r
+<BODY BGCOLOR="white" onload="windowTitle();">\r
+\r
+\r
+<!-- ========= START OF TOP NAVBAR ======= -->\r
+<A NAME="navbar_top"><!-- --></A>\r
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>\r
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
+<TR>\r
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
+<A NAME="navbar_top_firstrow"><!-- --></A>\r
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
+  <TR ALIGN="center" VALIGN="top">\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
+  </TR>\r
+</TABLE>\r
+</TD>\r
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
+</EM>\r
+</TD>\r
+</TR>\r
+\r
+<TR>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+&nbsp;PREV CLASS&nbsp;\r
+&nbsp;<A HREF="../../../../../org/w3c/tools/resources/upgrade/AttributeRegistry.html" title="class in org.w3c.tools.resources.upgrade"><B>NEXT CLASS</B></A></FONT></TD>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+  <A HREF="../../../../../index.html?org/w3c/tools/resources/upgrade/Attribute.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
+&nbsp;<A HREF="Attribute.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
+&nbsp;<SCRIPT type="text/javascript">\r
+  <!--\r
+  if(window==top) {\r
+    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
+  }\r
+  //-->\r
+</SCRIPT>\r
+<NOSCRIPT>\r
+  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
+</NOSCRIPT>\r
+\r
+\r
+</FONT></TD>\r
+</TR>\r
+<TR>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
+</TR>\r
+</TABLE>\r
+<A NAME="skip-navbar_top"></A>\r
+<!-- ========= END OF TOP NAVBAR ========= -->\r
+\r
+<HR>\r
+<!-- ======== START OF CLASS DATA ======== -->\r
+<H2>\r
+<FONT SIZE="-1">\r
+org.w3c.tools.resources.upgrade</FONT>\r
+<BR>\r
+Class Attribute</H2>\r
+<PRE>\r
+java.lang.Object\r
+  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.w3c.tools.resources.upgrade.Attribute</B>\r
+</PRE>\r
+<DL>\r
+<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>\r
+</DL>\r
+<DL>\r
+<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/w3c/tools/resources/upgrade/BooleanAttribute.html" title="class in org.w3c.tools.resources.upgrade">BooleanAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/ClassAttribute.html" title="class in org.w3c.tools.resources.upgrade">ClassAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/DoubleAttribute.html" title="class in org.w3c.tools.resources.upgrade">DoubleAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/FileAttribute.html" title="class in org.w3c.tools.resources.upgrade">FileAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/FrameArrayAttribute.html" title="class in org.w3c.tools.resources.upgrade">FrameArrayAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/IntegerArrayAttribute.html" title="class in org.w3c.tools.resources.upgrade">IntegerArrayAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/IntegerAttribute.html" title="class in org.w3c.tools.resources.upgrade">IntegerAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/IPTemplatesAttribute.html" title="class in org.w3c.tools.resources.upgrade">IPTemplatesAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/LongAttribute.html" title="class in org.w3c.tools.resources.upgrade">LongAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/MimeTypeAttribute.html" title="class in org.w3c.tools.resources.upgrade">MimeTypeAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/ObjectAttribute.html" title="class in org.w3c.tools.resources.upgrade">ObjectAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/PropertiesAttribute.html" title="class in org.w3c.tools.resources.upgrade">PropertiesAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/StringArrayAttribute.html" title="class in org.w3c.tools.resources.upgrade">StringArrayAttribute</A>, <A HREF="../../../../../org/w3c/tools/resources/upgrade/StringAttribute.html" title="class in org.w3c.tools.resources.upgrade">StringAttribute</A></DD>\r
+</DL>\r
+<HR>\r
+<DL>\r
+<DT><PRE>public abstract class <B>Attribute</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>\r
+</PRE>\r
+\r
+<P>\r
+Instances of this class describe an attribute of a resource.\r
+<P>\r
+\r
+<P>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.w3c.tools.resources.upgrade.Attribute">Serialized Form</A></DL>\r
+<HR>\r
+\r
+<P>\r
+<!-- =========== FIELD SUMMARY =========== -->\r
+\r
+<A NAME="field_summary"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
+<B>Field Summary</B></FONT></TH>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>static&nbsp;int</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#COMPUTED">COMPUTED</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flags value - This attribute is computed from the resource state.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>static&nbsp;int</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#DONTSAVE">DONTSAVE</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag value - This attribute shouldn't be saved.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>static&nbsp;int</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#EDITABLE">EDITABLE</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag value - This attribute is editable.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected &nbsp;int</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#flags">flags</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The associated flags (see the predefined flags).</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>static&nbsp;int</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#MANDATORY">MANDATORY</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag value - This attribute is mandatory.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#name">name</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The attribute name.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#type">type</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The attribute's value type, as the name of its class.</TD>\r
+</TR>\r
+</TABLE>\r
+&nbsp;\r
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
+\r
+<A NAME="constructor_summary"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
+<B>Constructor Summary</B></FONT></TH>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#Attribute(java.lang.String, java.lang.Object, java.lang.Integer)">Attribute</A></B>(java.lang.String&nbsp;name,\r
+          java.lang.Object&nbsp;def,\r
+          java.lang.Integer&nbsp;flags)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Private constructore to create a new resource attribute description.</TD>\r
+</TR>\r
+</TABLE>\r
+&nbsp;\r
+<!-- ========== METHOD SUMMARY =========== -->\r
+\r
+<A NAME="method_summary"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
+<B>Method Summary</B></FONT></TH>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;boolean</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#checkFlag(int)">checkFlag</A></B>(int&nbsp;tst)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check some flag on this attribute description.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>abstract &nbsp;boolean</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#checkValue(java.lang.Object)">checkValue</A></B>(java.lang.Object&nbsp;value)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is the provided object a suitable value for this attribute ?\r
+ If so, store it into the given store.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#getDefault()">getDefault</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get this attribute default value.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#getName()">getName</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get this attribute name.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>abstract &nbsp;int</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#getPickleLength(java.lang.Object)">getPickleLength</A></B>(java.lang.Object&nbsp;value)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get number of bytes needed to pickle that attribute.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#getType()">getType</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get this attribute type.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>abstract &nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#pickle(java.io.DataOutputStream, java.lang.Object)">pickle</A></B>(java.io.DataOutputStream&nbsp;out,\r
+       java.lang.Object&nbsp;obj)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pickle an attribute of this type to the given stream.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#stringify(java.lang.Object)">stringify</A></B>(java.lang.Object&nbsp;value)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stringify a value of this kind.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>abstract &nbsp;java.lang.Object</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/upgrade/Attribute.html#unpickle(java.io.DataInputStream)">unpickle</A></B>(java.io.DataInputStream&nbsp;in)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unpickle an attribute of this type from the given stream.</TD>\r
+</TR>\r
+</TABLE>\r
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
+</TR>\r
+</TABLE>\r
+&nbsp;\r
+<P>\r
+\r
+<!-- ============ FIELD DETAIL =========== -->\r
+\r
+<A NAME="field_detail"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
+<B>Field Detail</B></FONT></TH>\r
+</TR>\r
+</TABLE>\r
+\r
+<A NAME="COMPUTED"><!-- --></A><H3>\r
+COMPUTED</H3>\r
+<PRE>\r
+public static final int <B>COMPUTED</B></PRE>\r
+<DL>\r
+<DD>Flags value - This attribute is computed from the resource state.\r
+<P>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.w3c.tools.resources.upgrade.Attribute.COMPUTED">Constant Field Values</A></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="EDITABLE"><!-- --></A><H3>\r
+EDITABLE</H3>\r
+<PRE>\r
+public static final int <B>EDITABLE</B></PRE>\r
+<DL>\r
+<DD>Flag value - This attribute is editable.\r
+<P>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.w3c.tools.resources.upgrade.Attribute.EDITABLE">Constant Field Values</A></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="MANDATORY"><!-- --></A><H3>\r
+MANDATORY</H3>\r
+<PRE>\r
+public static final int <B>MANDATORY</B></PRE>\r
+<DL>\r
+<DD>Flag value - This attribute is mandatory.\r
+<P>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.w3c.tools.resources.upgrade.Attribute.MANDATORY">Constant Field Values</A></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="DONTSAVE"><!-- --></A><H3>\r
+DONTSAVE</H3>\r
+<PRE>\r
+public static final int <B>DONTSAVE</B></PRE>\r
+<DL>\r
+<DD>Flag value - This attribute shouldn't be saved.\r
+<P>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.w3c.tools.resources.upgrade.Attribute.DONTSAVE">Constant Field Values</A></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="name"><!-- --></A><H3>\r
+name</H3>\r
+<PRE>\r
+protected java.lang.String <B>name</B></PRE>\r
+<DL>\r
+<DD>The attribute name.\r
+<P>\r
+<DL>\r
+</DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="type"><!-- --></A><H3>\r
+type</H3>\r
+<PRE>\r
+protected java.lang.String <B>type</B></PRE>\r
+<DL>\r
+<DD>The attribute's value type, as the name of its class.\r
+<P>\r
+<DL>\r
+</DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="flags"><!-- --></A><H3>\r
+flags</H3>\r
+<PRE>\r
+protected int <B>flags</B></PRE>\r
+<DL>\r
+<DD>The associated flags (see the predefined flags).\r
+<P>\r
+<DL>\r
+</DL>\r
+</DL>\r
+\r
+<!-- ========= CONSTRUCTOR DETAIL ======== -->\r
+\r
+<A NAME="constructor_detail"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
+<B>Constructor Detail</B></FONT></TH>\r
+</TR>\r
+</TABLE>\r
+\r
+<A NAME="Attribute(java.lang.String, java.lang.Object, java.lang.Integer)"><!-- --></A><H3>\r
+Attribute</H3>\r
+<PRE>\r
+public <B>Attribute</B>(java.lang.String&nbsp;name,\r
+                 java.lang.Object&nbsp;def,\r
+                 java.lang.Integer&nbsp;flags)</PRE>\r
+<DL>\r
+<DD>Private constructore to create a new resource attribute description.\r
+<P>\r
+<DL>\r
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the attribute.<DD><CODE>type</CODE> - Its type (as a Java class).<DD><CODE>def</CODE> - Its default value.<DD><CODE>flags</CODE> - Its associated flags.</DL>\r
+</DL>\r
+\r
+<!-- ============ METHOD DETAIL ========== -->\r
+\r
+<A NAME="method_detail"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
+<B>Method Detail</B></FONT></TH>\r
+</TR>\r
+</TABLE>\r
+\r
+<A NAME="getName()"><!-- --></A><H3>\r
+getName</H3>\r
+<PRE>\r
+public java.lang.String <B>getName</B>()</PRE>\r
+<DL>\r
+<DD>Get this attribute name.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+\r
+<DT><B>Returns:</B><DD>A String giving the attribute name.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="getType()"><!-- --></A><H3>\r
+getType</H3>\r
+<PRE>\r
+public java.lang.String <B>getType</B>()</PRE>\r
+<DL>\r
+<DD>Get this attribute type.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="checkFlag(int)"><!-- --></A><H3>\r
+checkFlag</H3>\r
+<PRE>\r
+public boolean <B>checkFlag</B>(int&nbsp;tst)</PRE>\r
+<DL>\r
+<DD>Check some flag on this attribute description.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="getDefault()"><!-- --></A><H3>\r
+getDefault</H3>\r
+<PRE>\r
+public java.lang.Object <B>getDefault</B>()</PRE>\r
+<DL>\r
+<DD>Get this attribute default value.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+\r
+<DT><B>Returns:</B><DD>A default value for this attribute (may be\r
+    <strong>null</strong>).</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="stringify(java.lang.Object)"><!-- --></A><H3>\r
+stringify</H3>\r
+<PRE>\r
+public java.lang.String <B>stringify</B>(java.lang.Object&nbsp;value)</PRE>\r
+<DL>\r
+<DD>Stringify a value of this kind.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>obj</CODE> - The value to stringify.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="checkValue(java.lang.Object)"><!-- --></A><H3>\r
+checkValue</H3>\r
+<PRE>\r
+public abstract boolean <B>checkValue</B>(java.lang.Object&nbsp;value)</PRE>\r
+<DL>\r
+<DD>Is the provided object a suitable value for this attribute ?\r
+ If so, store it into the given store.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>value</CODE> - The value to check.<DD><CODE>store</CODE> - The array to store the value to if succeed.<DD><CODE>idx</CODE> - The location in the above array.\r
+<DT><B>Returns:</B><DD>A boolean <strong>true</strong> if this object can be used\r
+    as a value for this attribute.\r
+<DT><B>Throws:</B>\r
+<DD><CODE>IllegalAttributeAccess</CODE> - If the provided value doesn't match\r
+    the expected type.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="getPickleLength(java.lang.Object)"><!-- --></A><H3>\r
+getPickleLength</H3>\r
+<PRE>\r
+public abstract int <B>getPickleLength</B>(java.lang.Object&nbsp;value)</PRE>\r
+<DL>\r
+<DD>Get number of bytes needed to pickle that attribute.\r
+ This method is always called before pickling an attribute, to\r
+ get the length of that attribute value, and record it before saving\r
+ the actual bytes. This allows, for example, to skip attribute whose\r
+ definition was removed from a class. \r
+ <p>In an ASCII format, this plays a role similar to emitting\r
+ a newline.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>value</CODE> - The value that is about to be pickled.\r
+<DT><B>Returns:</B><DD>The number of bytes needed to pickle that value.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="pickle(java.io.DataOutputStream, java.lang.Object)"><!-- --></A><H3>\r
+pickle</H3>\r
+<PRE>\r
+public abstract void <B>pickle</B>(java.io.DataOutputStream&nbsp;out,\r
+                            java.lang.Object&nbsp;obj)\r
+                     throws java.io.IOException</PRE>\r
+<DL>\r
+<DD>Pickle an attribute of this type to the given stream.\r
+ This method is used to make attribute values persistent, the pickle\r
+ method should dump the provided value in whatever format, provided\r
+ its unpickle method is able to restore it.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>out</CODE> - The DataOutputStream to dump the object to.<DD><CODE>obj</CODE> - The object to pickle.\r
+<DT><B>Throws:</B>\r
+<DD><CODE>java.io.IOException</CODE> - If some IO error occured while dump the\r
+    attribute.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="unpickle(java.io.DataInputStream)"><!-- --></A><H3>\r
+unpickle</H3>\r
+<PRE>\r
+public abstract java.lang.Object <B>unpickle</B>(java.io.DataInputStream&nbsp;in)\r
+                                   throws java.io.IOException</PRE>\r
+<DL>\r
+<DD>Unpickle an attribute of this type from the given stream.\r
+ This method is used to restore a pickled attribute value from the given\r
+ stream. It should read in the format it used at pickle time, and\r
+ consume the same number of bytes from the stream.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>in</CODE> - The DataInputStream to read from.\r
+<DT><B>Returns:</B><DD>The object value.\r
+<DT><B>Throws:</B>\r
+<DD><CODE>java.io.IOException</CODE> - If some IOError occured while reading the stream.</DL>\r
+</DD>\r
+</DL>\r
+<!-- ========= END OF CLASS DATA ========= -->\r
+<HR>\r
+\r
+\r
+<!-- ======= START OF BOTTOM NAVBAR ====== -->\r
+<A NAME="navbar_bottom"><!-- --></A>\r
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>\r
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
+<TR>\r
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
+<A NAME="navbar_bottom_firstrow"><!-- --></A>\r
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
+  <TR ALIGN="center" VALIGN="top">\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
+  </TR>\r
+</TABLE>\r
+</TD>\r
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
+</EM>\r
+</TD>\r
+</TR>\r
+\r
+<TR>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+&nbsp;PREV CLASS&nbsp;\r
+&nbsp;<A HREF="../../../../../org/w3c/tools/resources/upgrade/AttributeRegistry.html" title="class in org.w3c.tools.resources.upgrade"><B>NEXT CLASS</B></A></FONT></TD>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+  <A HREF="../../../../../index.html?org/w3c/tools/resources/upgrade/Attribute.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
+&nbsp;<A HREF="Attribute.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
+&nbsp;<SCRIPT type="text/javascript">\r
+  <!--\r
+  if(window==top) {\r
+    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
+  }\r
+  //-->\r
+</SCRIPT>\r
+<NOSCRIPT>\r
+  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
+</NOSCRIPT>\r
+\r
+\r
+</FONT></TD>\r
+</TR>\r
+<TR>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
+</TR>\r
+</TABLE>\r
+<A NAME="skip-navbar_bottom"></A>\r
+<!-- ======== END OF BOTTOM NAVBAR ======= -->\r
+\r
+<HR>\r
+\r
+</BODY>\r
+</HTML>\r