Lines Matching refs:node

99         IIOMetadataNode node; // scratch node
103 node = new IIOMetadataNode("Version");
104 node.setAttribute("value", version);
105 root.appendChild(node);
108 node = new IIOMetadataNode("LogicalScreenDescriptor");
113 node.setAttribute("logicalScreenWidth",
116 node.setAttribute("logicalScreenHeight",
120 node.setAttribute("colorResolution",
123 node.setAttribute("pixelAspectRatio",
125 root.appendChild(node);
128 node = new IIOMetadataNode("GlobalColorTable");
130 node.setAttribute("sizeOfGlobalColorTable",
132 node.setAttribute("backgroundColorIndex",
134 node.setAttribute("sortFlag",
147 node.appendChild(entry);
149 root.appendChild(node);
157 IIOMetadataNode node = null; // scratch node
159 node = new IIOMetadataNode("ColorSpaceType");
160 node.setAttribute("name", "RGB");
161 chroma_node.appendChild(node);
163 node = new IIOMetadataNode("BlackIsZero");
164 node.setAttribute("value", "TRUE");
165 chroma_node.appendChild(node);
171 node = new IIOMetadataNode("Palette");
183 node.appendChild(entry);
185 chroma_node.appendChild(node);
188 node = new IIOMetadataNode("BackgroundIndex");
189 node.setAttribute("value", Integer.toString(backgroundColorIndex));
190 chroma_node.appendChild(node);
198 IIOMetadataNode node = null; // scratch node
200 node = new IIOMetadataNode("CompressionTypeName");
201 node.setAttribute("value", "lzw");
202 compression_node.appendChild(node);
204 node = new IIOMetadataNode("Lossless");
205 node.setAttribute("value", "TRUE");
206 compression_node.appendChild(node);
216 IIOMetadataNode node = null; // scratch node
220 node = new IIOMetadataNode("SampleFormat");
221 node.setAttribute("value", "Index");
222 data_node.appendChild(node);
224 node = new IIOMetadataNode("BitsPerSample");
225 node.setAttribute("value",
228 data_node.appendChild(node);
238 IIOMetadataNode node = null; // scratch node
240 node = new IIOMetadataNode("PixelAspectRatio");
245 node.setAttribute("value", Float.toString(aspectRatio));
246 dimension_node.appendChild(node);
248 node = new IIOMetadataNode("ImageOrientation");
249 node.setAttribute("value", "Normal");
250 dimension_node.appendChild(node);
261 node = new IIOMetadataNode("HorizontalScreenSize");
262 node.setAttribute("value",
265 dimension_node.appendChild(node);
267 node = new IIOMetadataNode("VerticalScreenSize");
268 node.setAttribute("value",
271 dimension_node.appendChild(node);
278 IIOMetadataNode node = null; // scratch node
280 node = new IIOMetadataNode("FormatVersion");
281 node.setAttribute("value", version);
282 document_node.appendChild(node);