<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  
  

  
	  <!-- New body template to add a custom footer block : ajp, Fri 10 Jun 2011 13:48:56 BST -->


  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <link rel="stylesheet" type="text/css" media="screen" href="/ome/chrome/agilo/stylesheet/agilo_theme.css" />
    <link rel="stylesheet" type="text/css" media="print" href="/ome/chrome/agilo/stylesheet/print.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="/ome/chrome/agilo/js/lib/select2js/select2.css" />
    <title>
      0002-specification-Add-Endian-enum.patch on Ticket #12121 – Attachment
     – OME
    </title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <link rel="search" href="/ome/search" />
        <link rel="help" href="/ome/wiki/TracGuide" />
        <link rel="alternate" href="/ome/raw-attachment/ticket/12121/0002-specification-Add-Endian-enum.patch" type="text/x-diff; charset=iso-8859-15" title="Original Format" />
        <link rel="up" href="/ome/ticket/12121" title="Ticket #12121" />
        <link rel="start" href="/ome/wiki" />
        <link rel="stylesheet" href="/ome/chrome/common/css/diff.css" type="text/css" /><link rel="stylesheet" href="/ome/chrome/common/css/code.css" type="text/css" /><link rel="stylesheet" href="/ome/chrome/agilo_common/css/licenseNotifier.css" type="text/css" /><link rel="stylesheet" href="/ome/chrome/agilo_pro/css/agilo_pro.css" type="text/css" /><link rel="stylesheet" href="/ome/chrome/agilo/stylesheet/agilo.css" type="text/css" />
        <link rel="shortcut icon" href="/ome/chrome/site/favicon.ico" type="image/x-icon" />
        <link rel="icon" href="/ome/chrome/site/favicon.ico" type="image/x-icon" />
      <link type="application/opensearchdescription+xml" rel="search" href="/ome/search/opensearch" title="Search OME" />
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/common/js/jquery.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/common/js/babel.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/common/js/trac.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/common/js/search.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/common/js/diff.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/agilo_common/js/licenseNotifier.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/agilo/js/sidebar.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/agilo/js/cookies.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/agilo/js/settings.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/agilo/js/collapse.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ome/chrome/agilo/js/ie-patches.js"></script>
      <script type="text/javascript" src="/ome/chrome/common/js/folding.js"></script>
      <script type="text/javascript">
        jQuery(document).ready(function($) {
          $('#preview table.code').enableCollapsibleColumns($('#preview table.code thead th.content'));
        });
      </script>
	<script type="text/javascript" src="/ome/chrome/agilo/js/lib/jquery.form.js"></script>
    <script type="text/javascript" src="/ome/chrome/agilo/js/lib/jquery.cookie.js"></script>
    <script type="text/javascript" src="/ome/chrome/agilo/js/lib/html2canvas.js"></script>
    <script type="text/javascript" src="/ome/chrome/agilo/js/lib/select2js/select2.js"></script>
	<script type="text/javascript" src="/ome/chrome/agilo/js/third_parties_hacks.js"></script>
	<script type="text/javascript" src="/ome/chrome/agilo/js/utilities.js"></script>
	<script type="text/javascript">
	//<![CDATA[
		// Initialize the variables right at the start, so other js can use it in document.ready handlers
		BASE_URL = "/ome";
		CHROME_URL = "/ome/chrome";
		// Normalise base url pattern so it also works with mod_python which can hickup on double slashes...
		if ((/\/$/).test(BASE_URL))
			BASE_URL = BASE_URL.slice(0, -1);
		// No caching of ajax. Ever. Especially in IE 7!
		$.ajaxSetup({cache: false});
		// If we use metadata we want to put json into the data attribute
		if ($.metadata)
			$.metadata.setType('attr', 'data');
		// Disable selection on the navigation
		$(document).ready(function() {
			setTimeout('if ($.fn.disableSelection) $(".menu").disableSelection()',500);
              $("select.searchable, #field-milestone, #field-owner, #field-sprint").select2();
		});
		// this is used to trigger javascript execution when the page is accessed from history (e.g. browser's back button)
		window.onunload = function(){};
	//]]>
	</script>
	    <link rel="stylesheet" type="text/css" href="/ome/chrome/site/style.css" />
	  </head>
	<body>
	<div class="menu">
	<form class="search" id="search_form" action="/ome/search" method="get">
	<label><a href="">Advanced Search</a></label>
	<input type="text" id="proj-search" name="q" size="18" value="" />
	</form>
        <div id="project_logo_container">
            <a id="logo" href="http://trac.openmicroscopy.org.uk/ome">
                <img src="/ome/chrome/site/my_logo.png" alt="OME" />
            </a>
        </div>
        <ul class="button group mainnav">
		                <li><a href="/ome/wiki" class="iconWiki">Wiki</a></li>
		                <li><a href="/ome/timeline" class="iconTimeline">Timeline</a></li>
		                <li><a href="/ome/roadmap" class="iconRoadmap">Roadmap</a></li>
		                <li><a href="/ome/browser" class="iconBrowser">Browse Source</a></li>
		                <li><a href="/ome/report" class="iconTickets">View Tickets</a></li>
		                <li><a href="/ome/search" class="iconSearch">Search</a></li>
		</ul>
        <div class="metanav-container">
            <a class="metanav-logo" href="/ome"></a>
        <ul class="button group metanav">
		                <li><a href="/ome/login" class="iconLogin">Login</a></li>
		                <li><a href="/ome/agilo-help">Help/Guide</a></li>
		                <li><a href="/ome/about" class="iconAbout">About Trac</a></li>
		                <li><a href="/ome/prefs" class="iconPrefs">Preferences</a></li>
		</ul>
        </div>
    </div>
	<div class="sidebar"><!-- TODO: make this a harmonica, or add an all toggle -->
	<!-- TODO: fix the empty space at the bottom. -->
		<label>Tickets</label>
		<ul class="tickets tree">
		</ul>
    <label>Wiki</label>
	<ul class="wiki tree">
	</ul>
	</div>
	<div class="main"><!-- Main Content -->
	<div id="popup-div">Loading...</div>
	<div id="ctxtnav" class="nav">
	<h2>Context Navigation</h2>
	<ul>
		<li class="first last"><a href="/ome/ticket/12121">Back to Ticket #12121</a></li>
	</ul>
	<hr />
	</div>
    <div id="content" class="attachment">
        <h1><a href="/ome/ticket/12121">Ticket #12121</a>: 0002-specification-Add-Endian-enum.patch</h1>
        <table id="info" summary="Description">
          <tbody>
            <tr>
              <th scope="col">File 0002-specification-Add-Endian-enum.patch,
                <span title="5300 bytes">5.2 KB</span>
                (added by rleigh, <a class="timeline" href="/ome/timeline?from=2014-04-19T12%3A35%3A09%2B01%3A00&amp;precision=second" title="See timeline at 04/19/14 12:35:09">5 years ago</a>)</th>
            </tr>
            <tr>
              <td class="message searchable">
                
              </td>
            </tr>
          </tbody>
        </table>
        <div id="preview" class="searchable">
          
  <div class="diff">
  <ul class="entries">
      <li class="entry">
        <h2>
          <a>components/formats-api/src/loci/formats/MetadataTools.java</a>
        </h2>
        <pre>From 5d4aa8bedf84e40b942f40451d12a97c7c5e6317 Mon Sep 17 00:00:00 2001
From: Roger Leigh &lt;r.leigh@dundee.ac.uk&gt;
Date: Fri, 18 Apr 2014 17:22:05 +0100
Subject: [PATCH 2/7] specification: Add Endian enum

---
 .../src/loci/formats/MetadataTools.java            |  3 ++-
 .../src/loci/formats/meta/MetadataConverter.java   |  4 ++--
 .../released-schema/2013-10-dev-2/ome.xsd          | 24 ++++++++++++++++++++--
 .../templates-java/OMEXMLMetadataImpl.template     |  8 ++++----
 4 files changed, 30 insertions(+), 9 deletions(-)

diff --git a/components/formats-api/src/loci/formats/MetadataTools.java b/components/formats-api/src/loci/formats/MetadataTools.java
index d5be396..114eb05 100644</pre>
        <table class="trac-diff inline" summary="Differences" cellspacing="0">
              <colgroup><col class="lineno" /><col class="lineno" /><col class="content" /></colgroup>
              <thead>
                <tr>
                  <th title="File a/components/formats-api/src/loci/formats/MetadataTools.java">
                      a
                  </th>
                  <th title="File b/components/formats-api/src/loci/formats/MetadataTools.java">
                      b
                  </th>
                  <td><em> import ome.xml.meta.MetadataRoot;</em> </td>
                </tr>
              </thead>
            <tbody class="unmod">
                  <tr>
                          <th>54</th><th>54</th><td class="l"><span>import ome.xml.meta.OMEXMLMetadataRoot;</span> </td>
                  </tr><tr>
                          <th>55</th><th>55</th><td class="l"><span>import ome.xml.model.BinData;</span> </td>
                  </tr><tr>
                          <th>56</th><th>56</th><td class="l"><span>import ome.xml.model.enums.DimensionOrder;</span> </td>
                  </tr>
            </tbody><tbody class="add">
                  <tr class="last first">
                          <th> </th><th>57</th><td class="r"><ins>import ome.xml.model.enums.Endian;</ins> </td>
                  </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>57</th><th>58</th><td class="l"><span>import ome.xml.model.enums.EnumerationException;</span> </td>
                  </tr><tr>
                          <th>58</th><th>59</th><td class="l"><span>import ome.xml.model.enums.PixelType;</span> </td>
                  </tr><tr>
                          <th>59</th><th>60</th><td class="l"><span>import ome.xml.model.enums.SubChannelInterleaving;</span> </td>
                  </tr>
            </tbody>
              <tbody class="skipped">
                <tr>
                  <th><a href="#L259">…</a></th>
                  <th><a href="#L260">…</a></th>
                  <td><em> public final class MetadataTools {</em> </td>
                </tr>
              </tbody>
            <tbody class="unmod">
                  <tr>
                          <th>259</th><th>260</th><td class="l"><span>&nbsp; &nbsp; int sizeY, int sizeZ, int sizeC, int sizeT, int samplesPerPixel)</span> </td>
                  </tr><tr>
                          <th>260</th><th>261</th><td class="l"><span>&nbsp; {</span> </td>
                  </tr><tr>
                          <th>261</th><th>262</th><td class="l"><span>&nbsp; &nbsp; store.setPixelsID(createLSID("Pixels", series), series);</span> </td>
                  </tr>
            </tbody><tbody class="mod">
                      <tr class="first">
                        <th>262</th><th> </th><td class="l"><span>&nbsp; &nbsp; store.setPixels<del>BigEndian(!littleEndian</del>, series);</span> </td>
                      </tr>
                      <tr class="last">
                        <th> </th><th>263</th><td class="r"><span>&nbsp; &nbsp; store.setPixels<ins>Endian(!littleEndian ? Endian.BIG : Endian.LITTLE</ins>, series);</span> </td>
                      </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>263</th><th>264</th><td class="l"><span>&nbsp; &nbsp; try {</span> </td>
                  </tr><tr>
                          <th>264</th><th>265</th><td class="l"><span>&nbsp; &nbsp; &nbsp; store.setPixelsDimensionOrder(</span> </td>
                  </tr><tr>
                          <th>265</th><th>266</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; DimensionOrder.fromString(dimensionOrder), series);</span> </td>
                  </tr>
            </tbody>
        </table>
      </li>
      <li class="entry">
        <h2>
          <a>components/formats-api/src/loci/formats/meta/MetadataConverter.java</a>
        </h2>
        <pre>diff --git a/components/formats-api/src/loci/formats/meta/MetadataConverter.java b/components/formats-api/src/loci/formats/meta/MetadataConverter.java
index 6ef1c38..1ab1c70 100644</pre>
        <table class="trac-diff inline" summary="Differences" cellspacing="0">
              <colgroup><col class="lineno" /><col class="lineno" /><col class="content" /></colgroup>
              <thead>
                <tr>
                  <th title="File a/components/formats-api/src/loci/formats/meta/MetadataConverter.java">
                      a
                  </th>
                  <th title="File b/components/formats-api/src/loci/formats/meta/MetadataConverter.java">
                      b
                  </th>
                  <td><em> public final class MetadataConverter {</em> </td>
                </tr>
              </thead>
            <tbody class="unmod">
                  <tr>
                          <th>858</th><th>858</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; catch (NullPointerException e) { }</span> </td>
                  </tr><tr>
                          <th>859</th><th>859</th><td class="l"><span></span> </td>
                  </tr><tr>
                          <th>860</th><th>860</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; try {</span> </td>
                  </tr>
            </tbody><tbody class="mod">
                      <tr class="first">
                        <th>861</th><th> </th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <del>Boolean bigEndian = src.getPixelsBig</del>Endian(i);</span> </td>
                      </tr><tr>
                        <th>862</th><th> </th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dest.setPixels<del>BigEndian(bigE</del>ndian, i);</span> </td>
                      </tr>
                      <tr>
                        <th> </th><th>861</th><td class="r"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ins>Endian endian = src.getPixels</ins>Endian(i);</span> </td>
                      </tr><tr class="last">
                        <th> </th><th>862</th><td class="r"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dest.setPixels<ins>Endian(e</ins>ndian, i);</span> </td>
                      </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>863</th><th>863</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; }</span> </td>
                  </tr><tr>
                          <th>864</th><th>864</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; catch (NullPointerException e) { }</span> </td>
                  </tr><tr>
                          <th>865</th><th>865</th><td class="l"><span></span> </td>
                  </tr>
            </tbody>
        </table>
      </li>
      <li class="entry">
        <h2>
          <a>components/specification/released-schema/2013-10-dev-2/ome.xsd</a>
        </h2>
        <pre>diff --git a/components/specification/released-schema/2013-10-dev-2/ome.xsd b/components/specification/released-schema/2013-10-dev-2/ome.xsd
index 2ccb091..bd281cd 100644</pre>
        <table class="trac-diff inline" summary="Differences" cellspacing="0">
              <colgroup><col class="lineno" /><col class="lineno" /><col class="content" /></colgroup>
              <thead>
                <tr>
                  <th title="File a/components/specification/released-schema/2013-10-dev-2/ome.xsd">
                      a
                  </th>
                  <th title="File b/components/specification/released-schema/2013-10-dev-2/ome.xsd">
                      b
                  </th>
                  <td><em></em> </td>
                </tr>
              </thead>
            <tbody class="unmod">
                  <tr>
                          <th>416</th><th>416</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:restriction&gt;</span> </td>
                  </tr><tr>
                          <th>417</th><th>417</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:simpleType&gt;</span> </td>
                  </tr><tr>
                          <th>418</th><th>418</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:attribute&gt;</span> </td>
                  </tr>
            </tbody><tbody class="mod">
                      <tr class="first">
                        <th>419</th><th> </th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:attribute name="<del>BigEndian" use="optional" type="xsd:boole</del>an"&gt;</span> </td>
                      </tr>
                      <tr class="last">
                        <th> </th><th>419</th><td class="r"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:attribute name="<ins>Endian" use="optional" type="Endi</ins>an"&gt;</span> </td>
                      </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>420</th><th>420</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:annotation&gt;</span> </td>
                  </tr><tr>
                          <th>421</th><th>421</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:documentation&gt;</span> </td>
                  </tr>
            </tbody><tbody class="mod">
                      <tr class="first">
                        <th>422</th><th> </th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; This is true if the pixels data was written in BigEndian order.</span> </td>
                      </tr>
                      <tr>
                        <th> </th><th>422</th><td class="r"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; This is Big if the pixels data was written in big endian order, or</span> </td>
                      </tr><tr class="last">
                        <th> </th><th>423</th><td class="r"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Little if in little endian order.</span> </td>
                      </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>423</th><th>424</th><td class="l"><span></span> </td>
                  </tr><tr>
                          <th>424</th><th>425</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If this value is present it should match the value used in BinData</span> </td>
                  </tr><tr>
                          <th>425</th><th>426</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; or TiffData. If it does not a reader should honour the value used</span> </td>
                  </tr>
            </tbody>
              <tbody class="skipped">
                <tr>
                  <th><a href="#L427">…</a></th>
                  <th><a href="#L428">…</a></th>
                  <td><em></em> </td>
                </tr>
              </tbody>
            <tbody class="unmod">
                  <tr>
                          <th>427</th><th>428</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; files and is to allow for future storage solutions.</span> </td>
                  </tr><tr>
                          <th>428</th><th>429</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:documentation&gt;</span> </td>
                  </tr><tr>
                          <th>429</th><th>430</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:annotation&gt;</span> </td>
                  </tr>
            </tbody><tbody class="add">
                  <tr class="first">
                          <th> </th><th>431</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:simpleType&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>432</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:restriction base="xsd:string"&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>433</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:enumeration value="Big"/&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>434</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:enumeration value="Little"/&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>435</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:restriction&gt;</ins> </td>
                  </tr><tr class="last">
                          <th> </th><th>436</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:simpleType&gt;</ins> </td>
                  </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>430</th><th>437</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:attribute&gt;</span> </td>
                  </tr><tr>
                          <th>431</th><th>438</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:attribute name="SizeX" use="required" type="PositiveInt"&gt;</span> </td>
                  </tr><tr>
                          <th>432</th><th>439</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:annotation&gt;</span> </td>
                  </tr>
            </tbody>
              <tbody class="skipped">
                <tr>
                  <th><a href="#L1468">…</a></th>
                  <th><a href="#L1475">…</a></th>
                  <td><em></em> </td>
                </tr>
              </tbody>
            <tbody class="unmod">
                  <tr>
                          <th>1468</th><th>1475</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:enumeration value = "double-complex"/&gt;</span> </td>
                  </tr><tr>
                          <th>1469</th><th>1476</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:restriction&gt;</span> </td>
                  </tr><tr>
                          <th>1470</th><th>1477</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:simpleType&gt;</span> </td>
                  </tr>
            </tbody><tbody class="add">
                  <tr class="first">
                          <th> </th><th>1478</th><td class="r"><ins></ins> </td>
                  </tr><tr>
                          <th> </th><th>1479</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:simpleType name="Endian"&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>1480</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:annotation&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>1481</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:documentation&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>1482</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The ordering of bits within a pixel</ins> </td>
                  </tr><tr>
                          <th> </th><th>1483</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:documentation&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>1484</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:annotation&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>1485</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:restriction base="xsd:string"&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>1486</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:enumeration value="Big"/&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>1487</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:enumeration value="Little"/&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>1488</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:restriction&gt;</ins> </td>
                  </tr><tr>
                          <th> </th><th>1489</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsd:simpleType&gt;</ins> </td>
                  </tr><tr class="last">
                          <th> </th><th>1490</th><td class="r"><ins></ins> </td>
                  </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>1471</th><th>1491</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:simpleType name="Color"&gt;</span> </td>
                  </tr><tr>
                          <th>1472</th><th>1492</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:annotation&gt;</span> </td>
                  </tr><tr>
                          <th>1473</th><th>1493</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsd:documentation&gt;</span> </td>
                  </tr>
            </tbody>
        </table>
      </li>
      <li class="entry">
        <h2>
          <a>components/xsd-fu/templates-java/OMEXMLMetadataImpl.template</a>
        </h2>
        <pre>diff --git a/components/xsd-fu/templates-java/OMEXMLMetadataImpl.template b/components/xsd-fu/templates-java/OMEXMLMetadataImpl.template
index 1653e50..a1ea2f3 100644</pre>
        <table class="trac-diff inline" summary="Differences" cellspacing="0">
              <colgroup><col class="lineno" /><col class="lineno" /><col class="content" /></colgroup>
              <thead>
                <tr>
                  <th title="File a/components/xsd-fu/templates-java/OMEXMLMetadataImpl.template">
                      a
                  </th>
                  <th title="File b/components/xsd-fu/templates-java/OMEXMLMetadataImpl.template">
                      b
                  </th>
                  <td><em> ${counter(k, o, v)}\</em> </td>
                </tr>
              </thead>
            <tbody class="unmod">
                  <tr>
                          <th>441</th><th>441</th><td class="l"><span></span> </td>
                  </tr><tr>
                          <th>442</th><th>442</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; public Boolean getPixelsBinDataBigEndian(int imageIndex, int binDataIndex)</span> </td>
                  </tr><tr>
                          <th>443</th><th>443</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; {</span> </td>
                  </tr>
            </tbody><tbody class="mod">
                      <tr class="first">
                        <th>444</th><th> </th><td class="l"><span>&nbsp; &nbsp; <del>Boolean bigEndian = root.getImage(imageIndex).getPixels().getBig</del>Endian();</span> </td>
                      </tr><tr>
                        <th>445</th><th> </th><td class="l"><span>&nbsp; &nbsp; if (<del>bigE</del>ndian != null) {</span> </td>
                      </tr><tr>
                        <th>446</th><th> </th><td class="l"><span>&nbsp; &nbsp; &nbsp; return <del>bigEndian</del>;</span> </td>
                      </tr>
                      <tr>
                        <th> </th><th>444</th><td class="r"><span>&nbsp; &nbsp; <ins>Endian endian = root.getImage(imageIndex).getPixels().get</ins>Endian();</span> </td>
                      </tr><tr>
                        <th> </th><th>445</th><td class="r"><span>&nbsp; &nbsp; if (<ins>e</ins>ndian != null) {</span> </td>
                      </tr><tr class="last">
                        <th> </th><th>446</th><td class="r"><span>&nbsp; &nbsp; &nbsp; return <ins>endian == Endian.BIG</ins>;</span> </td>
                      </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>447</th><th>447</th><td class="l"><span>&nbsp; &nbsp; }</span> </td>
                  </tr><tr>
                          <th>448</th><th>448</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return root.getImage(imageIndex).getPixels().getBinData(binDataIndex).getBigEndian();</span> </td>
                  </tr><tr>
                          <th>449</th><th>449</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; }</span> </td>
                  </tr>
            </tbody>
              <tbody class="skipped">
                <tr>
                  <th><a href="#L570">…</a></th>
                  <th><a href="#L570">…</a></th>
                  <td><em> ${getter(k, o, prop, v)}\</em> </td>
                </tr>
              </tbody>
            <tbody class="unmod">
                  <tr>
                          <th>570</th><th>570</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; o1.setPixels(new Pixels());</span> </td>
                  </tr><tr>
                          <th>571</th><th>571</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span> </td>
                  </tr><tr>
                          <th>572</th><th>572</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Pixels o2 = o1.getPixels();</span> </td>
                  </tr>
            </tbody><tbody class="mod">
                      <tr class="first">
                        <th>573</th><th> </th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; o2.set<del>BigEndian(bigEndian</del>);</span> </td>
                      </tr>
                      <tr class="last">
                        <th> </th><th>573</th><td class="r"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; o2.set<ins>Endian(bigEndian ? Endian.BIG : Endian.LITTLE</ins>);</span> </td>
                      </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>574</th><th>574</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; }</span> </td>
                  </tr><tr>
                          <th>575</th><th>575</th><td class="l"><span></span> </td>
                  </tr><tr>
                          <th>576</th><th>576</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; public void setMaskBinData(byte[] binData, int ROIIndex, int shapeIndex)</span> </td>
                  </tr>
            </tbody>
        </table>
      </li>
  </ul>
</div>

        </div>
    </div>
    <div id="altlinks">
      <h3>Download in other formats:</h3>
      <ul>
        <li class="last first">
          <a rel="nofollow" href="/ome/raw-attachment/ticket/12121/0002-specification-Add-Endian-enum.patch">Original Format</a>
        </li>
      </ul>
    </div>
	<div id="bottom">
	<p><span class="agilo_version">1.3.13-PRO</span> © 2008-2011
	<a href="http://www.agilosoftware.com/" target="_blank">Agilo Software</a> all
	rights reserved
        (this page was served in: 0.20472 sec.)
    </p>
	</div>
	</div>
		<div class="ome-footer">
			<p>
			  <acronym title="Copyright">©</acronym> 2000-2014 University of
			  Dundee &amp; Open Microscopy Environment.
			  <a href="http://www.openmicroscopy.org/site/about/licensing-attribution">Creative Commons Attribution 3.0 Unported License</a><br />
			  OME source code is available under the <a href="http://www.openmicroscopy.org/site/about/licensing-attribution">
			  GNU General public license</a> or through commercial license from
			<a href="http://www.glencoesoftware.com/">Glencoe Software</a>
		  </p>
		</div>
		<div class="left-ribbon-holder">
			<img id="left-hire-ribbon" src="https://www.openmicroscopy.org/site/art/were-hiring-ribbon-100x100.png" usemap="#left-hire-ribbon-map" />
			<map id="_left-hire-ribbon-map" name="left-hire-ribbon-map">
				<area shape="poly" coords="0,63,63,0,87,0,0,87," href="https://www.openmicroscopy.org/site/community/jobs" alt="We're Hiring!" title="OME Jobs" />
				<area shape="poly" coords="0,0,0,60,60,0," href="/ome" />
				<area shape="poly" coords="90,0,100,0,100,70,28,70," href="/ome" />
			</map>
		</div>
	  </body>
</html>