You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by bu...@apache.org on 2013/08/20 21:38:32 UTC
svn commit: r875499 [20/26] - in /websites/staging/creadur/trunk/content: ./
rat/ rat/apache-rat-core/ rat/apache-rat-core/apidocs/
rat/apache-rat-core/apidocs/org/apache/rat/
rat/apache-rat-core/apidocs/org/apache/rat/analysis/
rat/apache-rat-core/api...
Modified: websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/cobertura/js/sortabletable.js
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/cobertura/js/sortabletable.js (original)
+++ websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/cobertura/js/sortabletable.js Tue Aug 20 19:38:16 2013
@@ -1,455 +1,455 @@
-
-/*----------------------------------------------------------------------------\
-| Sortable Table 1.12 |
-|-----------------------------------------------------------------------------|
-| Created by Erik Arvidsson |
-| (http://webfx.eae.net/contact.html#erik) |
-| For WebFX (http://webfx.eae.net/) |
-|-----------------------------------------------------------------------------|
-| A DOM 1 based script that allows an ordinary HTML table to be sortable. |
-|-----------------------------------------------------------------------------|
-| Copyright (c) 1998 - 2004 Erik Arvidsson |
-|-----------------------------------------------------------------------------|
-| This software is provided "as is", without warranty of any kind, express or |
-| implied, including but not limited to the warranties of merchantability, |
-| fitness for a particular purpose and noninfringement. In no event shall the |
-| authors or copyright holders be liable for any claim, damages or other |
-| liability, whether in an action of contract, tort or otherwise, arising |
-| from, out of or in connection with the software or the use or other |
-| dealings in the software. |
-| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
-| This software is available under the three different licenses mentioned |
-| below. To use this software you must chose, and qualify, for one of those. |
-| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
-| The WebFX Non-Commercial License http://webfx.eae.net/license.html |
-| Permits anyone the right to use the software in a non-commercial context |
-| free of charge. |
-| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
-| The WebFX Commercial license http://webfx.eae.net/commercial.html |
-| Permits the license holder the right to use the software in a commercial |
-| context. Such license must be specifically obtained, however it's valid for |
-| any number of implementations of the licensed software. |
-| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
-| GPL - The GNU General Public License http://www.gnu.org/licenses/gpl.txt |
-| Permits anyone the right to use and modify the software without limitations |
-| as long as proper credits are given and the original and modified source |
-| code are included. Requires that the final product, software derivate from |
-| the original source or any software utilizing a GPL component, such as |
-| this, is also licensed under the GPL license. |
-|-----------------------------------------------------------------------------|
-| 2003-01-10 | First version |
-| 2003-01-19 | Minor changes to the date parsing |
-| 2003-01-28 | JScript 5.0 fixes (no support for 'in' operator) |
-| 2003-02-01 | Sloppy typo like error fixed in getInnerText |
-| 2003-07-04 | Added workaround for IE cellIndex bug. |
-| 2003-11-09 | The bDescending argument to sort was not correctly working |
-| | Using onclick DOM0 event if no support for addEventListener |
-| | or attachEvent |
-| 2004-01-13 | Adding addSortType and removeSortType which makes it a lot |
-| | easier to add new, custom sort types. |
-| 2004-01-27 | Switch to use descending = false as the default sort order. |
-| | Change defaultDescending to suit your needs. |
-| 2004-03-14 | Improved sort type None look and feel a bit |
-| 2004-08-26 | Made the handling of tBody and tHead more flexible. Now you |
-| | can use another tHead or no tHead, and you can chose some |
-| | other tBody. |
-|-----------------------------------------------------------------------------|
-| Created 2003-01-10 | All changes are in the log above. | Updated 2004-08-26 |
-\----------------------------------------------------------------------------*/
-
-
-function SortableTable(oTable, oSortTypes) {
-
- this.sortTypes = oSortTypes || [];
-
- this.sortColumn = null;
- this.descending = null;
-
- var oThis = this;
- this._headerOnclick = function (e) {
- oThis.headerOnclick(e);
- };
-
- if (oTable) {
- this.setTable( oTable );
- this.document = oTable.ownerDocument || oTable.document;
- }
- else {
- this.document = document;
- }
-
-
- // only IE needs this
- var win = this.document.defaultView || this.document.parentWindow;
- this._onunload = function () {
- oThis.destroy();
- };
- if (win && typeof win.attachEvent != "undefined") {
- win.attachEvent("onunload", this._onunload);
- }
-}
-
-SortableTable.gecko = navigator.product == "Gecko";
-SortableTable.msie = /msie/i.test(navigator.userAgent);
-// Mozilla is faster when doing the DOM manipulations on
-// an orphaned element. MSIE is not
-SortableTable.removeBeforeSort = SortableTable.gecko;
-
-SortableTable.prototype.onsort = function () {};
-
-// default sort order. true -> descending, false -> ascending
-SortableTable.prototype.defaultDescending = false;
-
-// shared between all instances. This is intentional to allow external files
-// to modify the prototype
-SortableTable.prototype._sortTypeInfo = {};
-
-SortableTable.prototype.setTable = function (oTable) {
- if ( this.tHead )
- this.uninitHeader();
- this.element = oTable;
- this.setTHead( oTable.tHead );
- this.setTBody( oTable.tBodies[0] );
-};
-
-SortableTable.prototype.setTHead = function (oTHead) {
- if (this.tHead && this.tHead != oTHead )
- this.uninitHeader();
- this.tHead = oTHead;
- this.initHeader( this.sortTypes );
-};
-
-SortableTable.prototype.setTBody = function (oTBody) {
- this.tBody = oTBody;
-};
-
-SortableTable.prototype.setSortTypes = function ( oSortTypes ) {
- if ( this.tHead )
- this.uninitHeader();
- this.sortTypes = oSortTypes || [];
- if ( this.tHead )
- this.initHeader( this.sortTypes );
-};
-
-// adds arrow containers and events
-// also binds sort type to the header cells so that reordering columns does
-// not break the sort types
-SortableTable.prototype.initHeader = function (oSortTypes) {
- if (!this.tHead) return;
- var cells = this.tHead.rows[0].cells;
- var doc = this.tHead.ownerDocument || this.tHead.document;
- this.sortTypes = oSortTypes || [];
- var l = cells.length;
- var img, c;
- for (var i = 0; i < l; i++) {
- c = cells[i];
- if (this.sortTypes[i] != null && this.sortTypes[i] != "None") {
- img = doc.createElement("IMG");
- img.src = "images/blank.png";
- c.appendChild(img);
- if (this.sortTypes[i] != null)
- c._sortType = this.sortTypes[i];
- if (typeof c.addEventListener != "undefined")
- c.addEventListener("click", this._headerOnclick, false);
- else if (typeof c.attachEvent != "undefined")
- c.attachEvent("onclick", this._headerOnclick);
- else
- c.onclick = this._headerOnclick;
- }
- else
- {
- c.setAttribute( "_sortType", oSortTypes[i] );
- c._sortType = "None";
- }
- }
- this.updateHeaderArrows();
-};
-
-// remove arrows and events
-SortableTable.prototype.uninitHeader = function () {
- if (!this.tHead) return;
- var cells = this.tHead.rows[0].cells;
- var l = cells.length;
- var c;
- for (var i = 0; i < l; i++) {
- c = cells[i];
- if (c._sortType != null && c._sortType != "None") {
- c.removeChild(c.lastChild);
- if (typeof c.removeEventListener != "undefined")
- c.removeEventListener("click", this._headerOnclick, false);
- else if (typeof c.detachEvent != "undefined")
- c.detachEvent("onclick", this._headerOnclick);
- c._sortType = null;
- c.removeAttribute( "_sortType" );
- }
- }
-};
-
-SortableTable.prototype.updateHeaderArrows = function () {
- if (!this.tHead) return;
- var cells = this.tHead.rows[0].cells;
- var l = cells.length;
- var img;
- for (var i = 0; i < l; i++) {
- if (cells[i]._sortType != null && cells[i]._sortType != "None") {
- img = cells[i].lastChild;
- if (i == this.sortColumn)
- img.className = "sort-arrow " + (this.descending ? "descending" : "ascending");
- else
- img.className = "sort-arrow";
- }
- }
-};
-
-SortableTable.prototype.headerOnclick = function (e) {
- // find TD element
- var el = e.target || e.srcElement;
- while (el.tagName != "TD")
- el = el.parentNode;
-
- this.sort(SortableTable.msie ? SortableTable.getCellIndex(el) : el.cellIndex);
-};
-
-// IE returns wrong cellIndex when columns are hidden
-SortableTable.getCellIndex = function (oTd) {
- var cells = oTd.parentNode.childNodes
- var l = cells.length;
- var i;
- for (i = 0; cells[i] != oTd && i < l; i++)
- ;
- return i;
-};
-
-SortableTable.prototype.getSortType = function (nColumn) {
- return this.sortTypes[nColumn] || "String";
-};
-
-// only nColumn is required
-// if bDescending is left out the old value is taken into account
-// if sSortType is left out the sort type is found from the sortTypes array
-
-SortableTable.prototype.sort = function (nColumn, bDescending, sSortType) {
- if (!this.tBody) return;
- if (sSortType == null)
- sSortType = this.getSortType(nColumn);
-
- // exit if None
- if (sSortType == "None")
- return;
-
- if (bDescending == null) {
- if (this.sortColumn != nColumn)
- this.descending = this.defaultDescending;
- else
- this.descending = !this.descending;
- }
- else
- this.descending = bDescending;
-
- this.sortColumn = nColumn;
-
- if (typeof this.onbeforesort == "function")
- this.onbeforesort();
-
- var f = this.getSortFunction(sSortType, nColumn);
- var a = this.getCache(sSortType, nColumn);
- var tBody = this.tBody;
-
- a.sort(f);
-
- if (this.descending)
- a.reverse();
-
- if (SortableTable.removeBeforeSort) {
- // remove from doc
- var nextSibling = tBody.nextSibling;
- var p = tBody.parentNode;
- p.removeChild(tBody);
- }
-
- // insert in the new order
- var l = a.length;
- for (var i = 0; i < l; i++)
- tBody.appendChild(a[i].element);
-
- if (SortableTable.removeBeforeSort) {
- // insert into doc
- p.insertBefore(tBody, nextSibling);
- }
-
- this.updateHeaderArrows();
-
- this.destroyCache(a);
-
- if (typeof this.onsort == "function")
- this.onsort();
-};
-
-SortableTable.prototype.asyncSort = function (nColumn, bDescending, sSortType) {
- var oThis = this;
- this._asyncsort = function () {
- oThis.sort(nColumn, bDescending, sSortType);
- };
- window.setTimeout(this._asyncsort, 1);
-};
-
-SortableTable.prototype.getCache = function (sType, nColumn) {
- if (!this.tBody) return [];
- var rows = this.tBody.rows;
- var l = rows.length;
- var a = new Array(l);
- var r;
- for (var i = 0; i < l; i++) {
- r = rows[i];
- a[i] = {
- value: this.getRowValue(r, sType, nColumn),
- element: r
- };
- };
- return a;
-};
-
-SortableTable.prototype.destroyCache = function (oArray) {
- var l = oArray.length;
- for (var i = 0; i < l; i++) {
- oArray[i].value = null;
- oArray[i].element = null;
- oArray[i] = null;
- }
-};
-
-SortableTable.prototype.getRowValue = function (oRow, sType, nColumn) {
- // if we have defined a custom getRowValue use that
- if (this._sortTypeInfo[sType] && this._sortTypeInfo[sType].getRowValue)
- return this._sortTypeInfo[sType].getRowValue(oRow, nColumn);
-
- var s;
- var c = oRow.cells[nColumn];
- if (typeof c.innerText != "undefined")
- s = c.innerText;
- else
- s = SortableTable.getInnerText(c);
- return this.getValueFromString(s, sType);
-};
-
-SortableTable.getInnerText = function (oNode) {
- var s = "";
- var cs = oNode.childNodes;
- var l = cs.length;
- for (var i = 0; i < l; i++) {
- switch (cs[i].nodeType) {
- case 1: //ELEMENT_NODE
- s += SortableTable.getInnerText(cs[i]);
- break;
- case 3: //TEXT_NODE
- s += cs[i].nodeValue;
- break;
- }
- }
- return s;
-};
-
-SortableTable.prototype.getValueFromString = function (sText, sType) {
- if (this._sortTypeInfo[sType])
- return this._sortTypeInfo[sType].getValueFromString( sText );
- return sText;
- /*
- switch (sType) {
- case "Number":
- return Number(sText);
- case "CaseInsensitiveString":
- return sText.toUpperCase();
- case "Date":
- var parts = sText.split("-");
- var d = new Date(0);
- d.setFullYear(parts[0]);
- d.setDate(parts[2]);
- d.setMonth(parts[1] - 1);
- return d.valueOf();
- }
- return sText;
- */
- };
-
-SortableTable.prototype.getSortFunction = function (sType, nColumn) {
- if (this._sortTypeInfo[sType])
- return this._sortTypeInfo[sType].compare;
- return SortableTable.basicCompare;
-};
-
-SortableTable.prototype.destroy = function () {
- this.uninitHeader();
- var win = this.document.parentWindow;
- if (win && typeof win.detachEvent != "undefined") { // only IE needs this
- win.detachEvent("onunload", this._onunload);
- }
- this._onunload = null;
- this.element = null;
- this.tHead = null;
- this.tBody = null;
- this.document = null;
- this._headerOnclick = null;
- this.sortTypes = null;
- this._asyncsort = null;
- this.onsort = null;
-};
-
-// Adds a sort type to all instance of SortableTable
-// sType : String - the identifier of the sort type
-// fGetValueFromString : function ( s : string ) : T - A function that takes a
-// string and casts it to a desired format. If left out the string is just
-// returned
-// fCompareFunction : function ( n1 : T, n2 : T ) : Number - A normal JS sort
-// compare function. Takes two values and compares them. If left out less than,
-// <, compare is used
-// fGetRowValue : function( oRow : HTMLTRElement, nColumn : int ) : T - A function
-// that takes the row and the column index and returns the value used to compare.
-// If left out then the innerText is first taken for the cell and then the
-// fGetValueFromString is used to convert that string the desired value and type
-
-SortableTable.prototype.addSortType = function (sType, fGetValueFromString, fCompareFunction, fGetRowValue) {
- this._sortTypeInfo[sType] = {
- type: sType,
- getValueFromString: fGetValueFromString || SortableTable.idFunction,
- compare: fCompareFunction || SortableTable.basicCompare,
- getRowValue: fGetRowValue
- };
-};
-
-// this removes the sort type from all instances of SortableTable
-SortableTable.prototype.removeSortType = function (sType) {
- delete this._sortTypeInfo[sType];
-};
-
-SortableTable.basicCompare = function compare(n1, n2) {
- if (n1.value < n2.value)
- return -1;
- if (n2.value < n1.value)
- return 1;
- return 0;
-};
-
-SortableTable.idFunction = function (x) {
- return x;
-};
-
-SortableTable.toUpperCase = function (s) {
- return s.toUpperCase();
-};
-
-SortableTable.toDate = function (s) {
- var parts = s.split("-");
- var d = new Date(0);
- d.setFullYear(parts[0]);
- d.setDate(parts[2]);
- d.setMonth(parts[1] - 1);
- return d.valueOf();
-};
-
-
-// add sort types
-SortableTable.prototype.addSortType("Number", Number);
-SortableTable.prototype.addSortType("CaseInsensitiveString", SortableTable.toUpperCase);
-SortableTable.prototype.addSortType("Date", SortableTable.toDate);
-SortableTable.prototype.addSortType("String");
-// None is a special case
+
+/*----------------------------------------------------------------------------\
+| Sortable Table 1.12 |
+|-----------------------------------------------------------------------------|
+| Created by Erik Arvidsson |
+| (http://webfx.eae.net/contact.html#erik) |
+| For WebFX (http://webfx.eae.net/) |
+|-----------------------------------------------------------------------------|
+| A DOM 1 based script that allows an ordinary HTML table to be sortable. |
+|-----------------------------------------------------------------------------|
+| Copyright (c) 1998 - 2004 Erik Arvidsson |
+|-----------------------------------------------------------------------------|
+| This software is provided "as is", without warranty of any kind, express or |
+| implied, including but not limited to the warranties of merchantability, |
+| fitness for a particular purpose and noninfringement. In no event shall the |
+| authors or copyright holders be liable for any claim, damages or other |
+| liability, whether in an action of contract, tort or otherwise, arising |
+| from, out of or in connection with the software or the use or other |
+| dealings in the software. |
+| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
+| This software is available under the three different licenses mentioned |
+| below. To use this software you must chose, and qualify, for one of those. |
+| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
+| The WebFX Non-Commercial License http://webfx.eae.net/license.html |
+| Permits anyone the right to use the software in a non-commercial context |
+| free of charge. |
+| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
+| The WebFX Commercial license http://webfx.eae.net/commercial.html |
+| Permits the license holder the right to use the software in a commercial |
+| context. Such license must be specifically obtained, however it's valid for |
+| any number of implementations of the licensed software. |
+| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
+| GPL - The GNU General Public License http://www.gnu.org/licenses/gpl.txt |
+| Permits anyone the right to use and modify the software without limitations |
+| as long as proper credits are given and the original and modified source |
+| code are included. Requires that the final product, software derivate from |
+| the original source or any software utilizing a GPL component, such as |
+| this, is also licensed under the GPL license. |
+|-----------------------------------------------------------------------------|
+| 2003-01-10 | First version |
+| 2003-01-19 | Minor changes to the date parsing |
+| 2003-01-28 | JScript 5.0 fixes (no support for 'in' operator) |
+| 2003-02-01 | Sloppy typo like error fixed in getInnerText |
+| 2003-07-04 | Added workaround for IE cellIndex bug. |
+| 2003-11-09 | The bDescending argument to sort was not correctly working |
+| | Using onclick DOM0 event if no support for addEventListener |
+| | or attachEvent |
+| 2004-01-13 | Adding addSortType and removeSortType which makes it a lot |
+| | easier to add new, custom sort types. |
+| 2004-01-27 | Switch to use descending = false as the default sort order. |
+| | Change defaultDescending to suit your needs. |
+| 2004-03-14 | Improved sort type None look and feel a bit |
+| 2004-08-26 | Made the handling of tBody and tHead more flexible. Now you |
+| | can use another tHead or no tHead, and you can chose some |
+| | other tBody. |
+|-----------------------------------------------------------------------------|
+| Created 2003-01-10 | All changes are in the log above. | Updated 2004-08-26 |
+\----------------------------------------------------------------------------*/
+
+
+function SortableTable(oTable, oSortTypes) {
+
+ this.sortTypes = oSortTypes || [];
+
+ this.sortColumn = null;
+ this.descending = null;
+
+ var oThis = this;
+ this._headerOnclick = function (e) {
+ oThis.headerOnclick(e);
+ };
+
+ if (oTable) {
+ this.setTable( oTable );
+ this.document = oTable.ownerDocument || oTable.document;
+ }
+ else {
+ this.document = document;
+ }
+
+
+ // only IE needs this
+ var win = this.document.defaultView || this.document.parentWindow;
+ this._onunload = function () {
+ oThis.destroy();
+ };
+ if (win && typeof win.attachEvent != "undefined") {
+ win.attachEvent("onunload", this._onunload);
+ }
+}
+
+SortableTable.gecko = navigator.product == "Gecko";
+SortableTable.msie = /msie/i.test(navigator.userAgent);
+// Mozilla is faster when doing the DOM manipulations on
+// an orphaned element. MSIE is not
+SortableTable.removeBeforeSort = SortableTable.gecko;
+
+SortableTable.prototype.onsort = function () {};
+
+// default sort order. true -> descending, false -> ascending
+SortableTable.prototype.defaultDescending = false;
+
+// shared between all instances. This is intentional to allow external files
+// to modify the prototype
+SortableTable.prototype._sortTypeInfo = {};
+
+SortableTable.prototype.setTable = function (oTable) {
+ if ( this.tHead )
+ this.uninitHeader();
+ this.element = oTable;
+ this.setTHead( oTable.tHead );
+ this.setTBody( oTable.tBodies[0] );
+};
+
+SortableTable.prototype.setTHead = function (oTHead) {
+ if (this.tHead && this.tHead != oTHead )
+ this.uninitHeader();
+ this.tHead = oTHead;
+ this.initHeader( this.sortTypes );
+};
+
+SortableTable.prototype.setTBody = function (oTBody) {
+ this.tBody = oTBody;
+};
+
+SortableTable.prototype.setSortTypes = function ( oSortTypes ) {
+ if ( this.tHead )
+ this.uninitHeader();
+ this.sortTypes = oSortTypes || [];
+ if ( this.tHead )
+ this.initHeader( this.sortTypes );
+};
+
+// adds arrow containers and events
+// also binds sort type to the header cells so that reordering columns does
+// not break the sort types
+SortableTable.prototype.initHeader = function (oSortTypes) {
+ if (!this.tHead) return;
+ var cells = this.tHead.rows[0].cells;
+ var doc = this.tHead.ownerDocument || this.tHead.document;
+ this.sortTypes = oSortTypes || [];
+ var l = cells.length;
+ var img, c;
+ for (var i = 0; i < l; i++) {
+ c = cells[i];
+ if (this.sortTypes[i] != null && this.sortTypes[i] != "None") {
+ img = doc.createElement("IMG");
+ img.src = "images/blank.png";
+ c.appendChild(img);
+ if (this.sortTypes[i] != null)
+ c._sortType = this.sortTypes[i];
+ if (typeof c.addEventListener != "undefined")
+ c.addEventListener("click", this._headerOnclick, false);
+ else if (typeof c.attachEvent != "undefined")
+ c.attachEvent("onclick", this._headerOnclick);
+ else
+ c.onclick = this._headerOnclick;
+ }
+ else
+ {
+ c.setAttribute( "_sortType", oSortTypes[i] );
+ c._sortType = "None";
+ }
+ }
+ this.updateHeaderArrows();
+};
+
+// remove arrows and events
+SortableTable.prototype.uninitHeader = function () {
+ if (!this.tHead) return;
+ var cells = this.tHead.rows[0].cells;
+ var l = cells.length;
+ var c;
+ for (var i = 0; i < l; i++) {
+ c = cells[i];
+ if (c._sortType != null && c._sortType != "None") {
+ c.removeChild(c.lastChild);
+ if (typeof c.removeEventListener != "undefined")
+ c.removeEventListener("click", this._headerOnclick, false);
+ else if (typeof c.detachEvent != "undefined")
+ c.detachEvent("onclick", this._headerOnclick);
+ c._sortType = null;
+ c.removeAttribute( "_sortType" );
+ }
+ }
+};
+
+SortableTable.prototype.updateHeaderArrows = function () {
+ if (!this.tHead) return;
+ var cells = this.tHead.rows[0].cells;
+ var l = cells.length;
+ var img;
+ for (var i = 0; i < l; i++) {
+ if (cells[i]._sortType != null && cells[i]._sortType != "None") {
+ img = cells[i].lastChild;
+ if (i == this.sortColumn)
+ img.className = "sort-arrow " + (this.descending ? "descending" : "ascending");
+ else
+ img.className = "sort-arrow";
+ }
+ }
+};
+
+SortableTable.prototype.headerOnclick = function (e) {
+ // find TD element
+ var el = e.target || e.srcElement;
+ while (el.tagName != "TD")
+ el = el.parentNode;
+
+ this.sort(SortableTable.msie ? SortableTable.getCellIndex(el) : el.cellIndex);
+};
+
+// IE returns wrong cellIndex when columns are hidden
+SortableTable.getCellIndex = function (oTd) {
+ var cells = oTd.parentNode.childNodes
+ var l = cells.length;
+ var i;
+ for (i = 0; cells[i] != oTd && i < l; i++)
+ ;
+ return i;
+};
+
+SortableTable.prototype.getSortType = function (nColumn) {
+ return this.sortTypes[nColumn] || "String";
+};
+
+// only nColumn is required
+// if bDescending is left out the old value is taken into account
+// if sSortType is left out the sort type is found from the sortTypes array
+
+SortableTable.prototype.sort = function (nColumn, bDescending, sSortType) {
+ if (!this.tBody) return;
+ if (sSortType == null)
+ sSortType = this.getSortType(nColumn);
+
+ // exit if None
+ if (sSortType == "None")
+ return;
+
+ if (bDescending == null) {
+ if (this.sortColumn != nColumn)
+ this.descending = this.defaultDescending;
+ else
+ this.descending = !this.descending;
+ }
+ else
+ this.descending = bDescending;
+
+ this.sortColumn = nColumn;
+
+ if (typeof this.onbeforesort == "function")
+ this.onbeforesort();
+
+ var f = this.getSortFunction(sSortType, nColumn);
+ var a = this.getCache(sSortType, nColumn);
+ var tBody = this.tBody;
+
+ a.sort(f);
+
+ if (this.descending)
+ a.reverse();
+
+ if (SortableTable.removeBeforeSort) {
+ // remove from doc
+ var nextSibling = tBody.nextSibling;
+ var p = tBody.parentNode;
+ p.removeChild(tBody);
+ }
+
+ // insert in the new order
+ var l = a.length;
+ for (var i = 0; i < l; i++)
+ tBody.appendChild(a[i].element);
+
+ if (SortableTable.removeBeforeSort) {
+ // insert into doc
+ p.insertBefore(tBody, nextSibling);
+ }
+
+ this.updateHeaderArrows();
+
+ this.destroyCache(a);
+
+ if (typeof this.onsort == "function")
+ this.onsort();
+};
+
+SortableTable.prototype.asyncSort = function (nColumn, bDescending, sSortType) {
+ var oThis = this;
+ this._asyncsort = function () {
+ oThis.sort(nColumn, bDescending, sSortType);
+ };
+ window.setTimeout(this._asyncsort, 1);
+};
+
+SortableTable.prototype.getCache = function (sType, nColumn) {
+ if (!this.tBody) return [];
+ var rows = this.tBody.rows;
+ var l = rows.length;
+ var a = new Array(l);
+ var r;
+ for (var i = 0; i < l; i++) {
+ r = rows[i];
+ a[i] = {
+ value: this.getRowValue(r, sType, nColumn),
+ element: r
+ };
+ };
+ return a;
+};
+
+SortableTable.prototype.destroyCache = function (oArray) {
+ var l = oArray.length;
+ for (var i = 0; i < l; i++) {
+ oArray[i].value = null;
+ oArray[i].element = null;
+ oArray[i] = null;
+ }
+};
+
+SortableTable.prototype.getRowValue = function (oRow, sType, nColumn) {
+ // if we have defined a custom getRowValue use that
+ if (this._sortTypeInfo[sType] && this._sortTypeInfo[sType].getRowValue)
+ return this._sortTypeInfo[sType].getRowValue(oRow, nColumn);
+
+ var s;
+ var c = oRow.cells[nColumn];
+ if (typeof c.innerText != "undefined")
+ s = c.innerText;
+ else
+ s = SortableTable.getInnerText(c);
+ return this.getValueFromString(s, sType);
+};
+
+SortableTable.getInnerText = function (oNode) {
+ var s = "";
+ var cs = oNode.childNodes;
+ var l = cs.length;
+ for (var i = 0; i < l; i++) {
+ switch (cs[i].nodeType) {
+ case 1: //ELEMENT_NODE
+ s += SortableTable.getInnerText(cs[i]);
+ break;
+ case 3: //TEXT_NODE
+ s += cs[i].nodeValue;
+ break;
+ }
+ }
+ return s;
+};
+
+SortableTable.prototype.getValueFromString = function (sText, sType) {
+ if (this._sortTypeInfo[sType])
+ return this._sortTypeInfo[sType].getValueFromString( sText );
+ return sText;
+ /*
+ switch (sType) {
+ case "Number":
+ return Number(sText);
+ case "CaseInsensitiveString":
+ return sText.toUpperCase();
+ case "Date":
+ var parts = sText.split("-");
+ var d = new Date(0);
+ d.setFullYear(parts[0]);
+ d.setDate(parts[2]);
+ d.setMonth(parts[1] - 1);
+ return d.valueOf();
+ }
+ return sText;
+ */
+ };
+
+SortableTable.prototype.getSortFunction = function (sType, nColumn) {
+ if (this._sortTypeInfo[sType])
+ return this._sortTypeInfo[sType].compare;
+ return SortableTable.basicCompare;
+};
+
+SortableTable.prototype.destroy = function () {
+ this.uninitHeader();
+ var win = this.document.parentWindow;
+ if (win && typeof win.detachEvent != "undefined") { // only IE needs this
+ win.detachEvent("onunload", this._onunload);
+ }
+ this._onunload = null;
+ this.element = null;
+ this.tHead = null;
+ this.tBody = null;
+ this.document = null;
+ this._headerOnclick = null;
+ this.sortTypes = null;
+ this._asyncsort = null;
+ this.onsort = null;
+};
+
+// Adds a sort type to all instance of SortableTable
+// sType : String - the identifier of the sort type
+// fGetValueFromString : function ( s : string ) : T - A function that takes a
+// string and casts it to a desired format. If left out the string is just
+// returned
+// fCompareFunction : function ( n1 : T, n2 : T ) : Number - A normal JS sort
+// compare function. Takes two values and compares them. If left out less than,
+// <, compare is used
+// fGetRowValue : function( oRow : HTMLTRElement, nColumn : int ) : T - A function
+// that takes the row and the column index and returns the value used to compare.
+// If left out then the innerText is first taken for the cell and then the
+// fGetValueFromString is used to convert that string the desired value and type
+
+SortableTable.prototype.addSortType = function (sType, fGetValueFromString, fCompareFunction, fGetRowValue) {
+ this._sortTypeInfo[sType] = {
+ type: sType,
+ getValueFromString: fGetValueFromString || SortableTable.idFunction,
+ compare: fCompareFunction || SortableTable.basicCompare,
+ getRowValue: fGetRowValue
+ };
+};
+
+// this removes the sort type from all instances of SortableTable
+SortableTable.prototype.removeSortType = function (sType) {
+ delete this._sortTypeInfo[sType];
+};
+
+SortableTable.basicCompare = function compare(n1, n2) {
+ if (n1.value < n2.value)
+ return -1;
+ if (n2.value < n1.value)
+ return 1;
+ return 0;
+};
+
+SortableTable.idFunction = function (x) {
+ return x;
+};
+
+SortableTable.toUpperCase = function (s) {
+ return s.toUpperCase();
+};
+
+SortableTable.toDate = function (s) {
+ var parts = s.split("-");
+ var d = new Date(0);
+ d.setFullYear(parts[0]);
+ d.setDate(parts[2]);
+ d.setMonth(parts[1] - 1);
+ return d.valueOf();
+};
+
+
+// add sort types
+SortableTable.prototype.addSortType("Number", Number);
+SortableTable.prototype.addSortType("CaseInsensitiveString", SortableTable.toUpperCase);
+SortableTable.prototype.addSortType("Date", SortableTable.toDate);
+SortableTable.prototype.addSortType("String");
+// None is a special case
\ No newline at end of file
Modified: websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/cobertura/js/stringbuilder.js
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/cobertura/js/stringbuilder.js (original)
+++ websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/cobertura/js/stringbuilder.js Tue Aug 20 19:38:16 2013
@@ -1,79 +1,79 @@
-/*----------------------------------------------------------------------------\
-| String Builder 1.02 |
-|-----------------------------------------------------------------------------|
-| Created by Erik Arvidsson |
-| (http://webfx.eae.net/contact.html#erik) |
-| For WebFX (http://webfx.eae.net/) |
-|-----------------------------------------------------------------------------|
-| A class that allows more efficient building of strings than concatenation. |
-|-----------------------------------------------------------------------------|
-| Copyright (c) 1999 - 2002 Erik Arvidsson |
-|-----------------------------------------------------------------------------|
-| This software is provided "as is", without warranty of any kind, express or |
-| implied, including but not limited to the warranties of merchantability, |
-| fitness for a particular purpose and noninfringement. In no event shall the |
-| authors or copyright holders be liable for any claim, damages or other |
-| liability, whether in an action of contract, tort or otherwise, arising |
-| from, out of or in connection with the software or the use or other |
-| dealings in the software. |
-| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
-| This software is available under the three different licenses mentioned |
-| below. To use this software you must chose, and qualify, for one of those. |
-| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
-| The WebFX Non-Commercial License http://webfx.eae.net/license.html |
-| Permits anyone the right to use the software in a non-commercial context |
-| free of charge. |
-| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
-| The WebFX Commercial license http://webfx.eae.net/commercial.html |
-| Permits the license holder the right to use the software in a commercial |
-| context. Such license must be specifically obtained, however it's valid for |
-| any number of implementations of the licensed software. |
-| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
-| GPL - The GNU General Public License http://www.gnu.org/licenses/gpl.txt |
-| Permits anyone the right to use and modify the software without limitations |
-| as long as proper credits are given and the original and modified source |
-| code are included. Requires that the final product, software derivate from |
-| the original source or any software utilizing a GPL component, such as |
-| this, is also licensed under the GPL license. |
-|-----------------------------------------------------------------------------|
-| 2000-10-02 | First version |
-| 2000-10-05 | Added a cache of the string so that it does not need to be |
-| | regenerated every time in toString |
-| 2002-10-03 | Added minor improvement in the toString method |
-|-----------------------------------------------------------------------------|
-| Created 2000-10-02 | All changes are in the log above. | Updated 2002-10-03 |
-\----------------------------------------------------------------------------*/ function StringBuilder(sString) {
-
- // public
- this.length = 0;
-
- this.append = function (sString) {
- // append argument
- this.length += (this._parts[this._current++] = String(sString)).length;
-
- // reset cache
- this._string = null;
- return this;
- };
-
- this.toString = function () {
- if (this._string != null)
- return this._string;
-
- var s = this._parts.join("");
- this._parts = [s];
- this._current = 1;
- this.length = s.length;
-
- return this._string = s;
- };
-
- // private
- this._current = 0;
- this._parts = [];
- this._string = null; // used to cache the string
-
- // init
- if (sString != null)
- this.append(sString);
-}
+/*----------------------------------------------------------------------------\
+| String Builder 1.02 |
+|-----------------------------------------------------------------------------|
+| Created by Erik Arvidsson |
+| (http://webfx.eae.net/contact.html#erik) |
+| For WebFX (http://webfx.eae.net/) |
+|-----------------------------------------------------------------------------|
+| A class that allows more efficient building of strings than concatenation. |
+|-----------------------------------------------------------------------------|
+| Copyright (c) 1999 - 2002 Erik Arvidsson |
+|-----------------------------------------------------------------------------|
+| This software is provided "as is", without warranty of any kind, express or |
+| implied, including but not limited to the warranties of merchantability, |
+| fitness for a particular purpose and noninfringement. In no event shall the |
+| authors or copyright holders be liable for any claim, damages or other |
+| liability, whether in an action of contract, tort or otherwise, arising |
+| from, out of or in connection with the software or the use or other |
+| dealings in the software. |
+| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
+| This software is available under the three different licenses mentioned |
+| below. To use this software you must chose, and qualify, for one of those. |
+| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
+| The WebFX Non-Commercial License http://webfx.eae.net/license.html |
+| Permits anyone the right to use the software in a non-commercial context |
+| free of charge. |
+| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
+| The WebFX Commercial license http://webfx.eae.net/commercial.html |
+| Permits the license holder the right to use the software in a commercial |
+| context. Such license must be specifically obtained, however it's valid for |
+| any number of implementations of the licensed software. |
+| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
+| GPL - The GNU General Public License http://www.gnu.org/licenses/gpl.txt |
+| Permits anyone the right to use and modify the software without limitations |
+| as long as proper credits are given and the original and modified source |
+| code are included. Requires that the final product, software derivate from |
+| the original source or any software utilizing a GPL component, such as |
+| this, is also licensed under the GPL license. |
+|-----------------------------------------------------------------------------|
+| 2000-10-02 | First version |
+| 2000-10-05 | Added a cache of the string so that it does not need to be |
+| | regenerated every time in toString |
+| 2002-10-03 | Added minor improvement in the toString method |
+|-----------------------------------------------------------------------------|
+| Created 2000-10-02 | All changes are in the log above. | Updated 2002-10-03 |
+\----------------------------------------------------------------------------*/ function StringBuilder(sString) {
+
+ // public
+ this.length = 0;
+
+ this.append = function (sString) {
+ // append argument
+ this.length += (this._parts[this._current++] = String(sString)).length;
+
+ // reset cache
+ this._string = null;
+ return this;
+ };
+
+ this.toString = function () {
+ if (this._string != null)
+ return this._string;
+
+ var s = this._parts.join("");
+ this._parts = [s];
+ this._current = 1;
+ this.length = s.length;
+
+ return this._string = s;
+ };
+
+ // private
+ this._current = 0;
+ this._parts = [];
+ this._string = null; // used to cache the string
+
+ // init
+ if (sString != null)
+ this.append(sString);
+}
\ No newline at end of file
Modified: websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/css/maven-base.css
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/css/maven-base.css (original)
+++ websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/css/maven-base.css Tue Aug 20 19:38:16 2013
@@ -1,155 +1,155 @@
-body {
- margin: 0px;
- padding: 0px;
-}
-img {
- border:none;
-}
-table {
- padding:0px;
- width: 100%;
- margin-left: -2px;
- margin-right: -2px;
-}
-acronym {
- cursor: help;
- border-bottom: 1px dotted #feb;
-}
-table.bodyTable th, table.bodyTable td {
- padding: 2px 4px 2px 4px;
- vertical-align: top;
-}
-div.clear{
- clear:both;
- visibility: hidden;
-}
-div.clear hr{
- display: none;
-}
-#bannerLeft, #bannerRight {
- font-size: xx-large;
- font-weight: bold;
-}
-#bannerLeft img, #bannerRight img {
- margin: 0px;
-}
-.xleft, #bannerLeft img {
- float:left;
-}
-.xright, #bannerRight {
- float:right;
-}
-#banner {
- padding: 0px;
-}
-#banner img {
- border: none;
-}
-#breadcrumbs {
- padding: 3px 10px 3px 10px;
-}
-#leftColumn {
- width: 170px;
- float:left;
- overflow: auto;
-}
-#bodyColumn {
- margin-right: 1.5em;
- margin-left: 197px;
-}
-#legend {
- padding: 8px 0 8px 0;
-}
-#navcolumn {
- padding: 8px 4px 0 8px;
-}
-#navcolumn h5 {
- margin: 0;
- padding: 0;
- font-size: small;
-}
-#navcolumn ul {
- margin: 0;
- padding: 0;
- font-size: small;
-}
-#navcolumn li {
- list-style-type: none;
- background-image: none;
- background-repeat: no-repeat;
- background-position: 0 0.4em;
- padding-left: 16px;
- list-style-position: outside;
- line-height: 1.2em;
- font-size: smaller;
-}
-#navcolumn li.expanded {
- background-image: url(../images/expanded.gif);
-}
-#navcolumn li.collapsed {
- background-image: url(../images/collapsed.gif);
-}
-#navcolumn li.none {
- text-indent: -1em;
- margin-left: 1em;
-}
-#poweredBy {
- text-align: center;
-}
-#navcolumn img {
- margin-top: 10px;
- margin-bottom: 3px;
-}
-#poweredBy img {
- display:block;
- margin: 20px 0 20px 17px;
-}
-#search img {
- margin: 0px;
- display: block;
-}
-#search #q, #search #btnG {
- border: 1px solid #999;
- margin-bottom:10px;
-}
-#search form {
- margin: 0px;
-}
-#lastPublished {
- font-size: x-small;
-}
-.navSection {
- margin-bottom: 2px;
- padding: 8px;
-}
-.navSectionHead {
- font-weight: bold;
- font-size: x-small;
-}
-.section {
- padding: 4px;
-}
-#footer {
- padding: 3px 10px 3px 10px;
- font-size: x-small;
-}
-#breadcrumbs {
- font-size: x-small;
- margin: 0pt;
-}
-.source {
- padding: 12px;
- margin: 1em 7px 1em 7px;
-}
-.source pre {
- margin: 0px;
- padding: 0px;
-}
-#navcolumn img.imageLink, .imageLink {
- padding-left: 0px;
- padding-bottom: 0px;
- padding-top: 0px;
- padding-right: 2px;
- border: 0px;
- margin: 0px;
-}
+body {
+ margin: 0px;
+ padding: 0px;
+}
+img {
+ border:none;
+}
+table {
+ padding:0px;
+ width: 100%;
+ margin-left: -2px;
+ margin-right: -2px;
+}
+acronym {
+ cursor: help;
+ border-bottom: 1px dotted #feb;
+}
+table.bodyTable th, table.bodyTable td {
+ padding: 2px 4px 2px 4px;
+ vertical-align: top;
+}
+div.clear{
+ clear:both;
+ visibility: hidden;
+}
+div.clear hr{
+ display: none;
+}
+#bannerLeft, #bannerRight {
+ font-size: xx-large;
+ font-weight: bold;
+}
+#bannerLeft img, #bannerRight img {
+ margin: 0px;
+}
+.xleft, #bannerLeft img {
+ float:left;
+}
+.xright, #bannerRight {
+ float:right;
+}
+#banner {
+ padding: 0px;
+}
+#banner img {
+ border: none;
+}
+#breadcrumbs {
+ padding: 3px 10px 3px 10px;
+}
+#leftColumn {
+ width: 170px;
+ float:left;
+ overflow: auto;
+}
+#bodyColumn {
+ margin-right: 1.5em;
+ margin-left: 197px;
+}
+#legend {
+ padding: 8px 0 8px 0;
+}
+#navcolumn {
+ padding: 8px 4px 0 8px;
+}
+#navcolumn h5 {
+ margin: 0;
+ padding: 0;
+ font-size: small;
+}
+#navcolumn ul {
+ margin: 0;
+ padding: 0;
+ font-size: small;
+}
+#navcolumn li {
+ list-style-type: none;
+ background-image: none;
+ background-repeat: no-repeat;
+ background-position: 0 0.4em;
+ padding-left: 16px;
+ list-style-position: outside;
+ line-height: 1.2em;
+ font-size: smaller;
+}
+#navcolumn li.expanded {
+ background-image: url(../images/expanded.gif);
+}
+#navcolumn li.collapsed {
+ background-image: url(../images/collapsed.gif);
+}
+#navcolumn li.none {
+ text-indent: -1em;
+ margin-left: 1em;
+}
+#poweredBy {
+ text-align: center;
+}
+#navcolumn img {
+ margin-top: 10px;
+ margin-bottom: 3px;
+}
+#poweredBy img {
+ display:block;
+ margin: 20px 0 20px 17px;
+}
+#search img {
+ margin: 0px;
+ display: block;
+}
+#search #q, #search #btnG {
+ border: 1px solid #999;
+ margin-bottom:10px;
+}
+#search form {
+ margin: 0px;
+}
+#lastPublished {
+ font-size: x-small;
+}
+.navSection {
+ margin-bottom: 2px;
+ padding: 8px;
+}
+.navSectionHead {
+ font-weight: bold;
+ font-size: x-small;
+}
+.section {
+ padding: 4px;
+}
+#footer {
+ padding: 3px 10px 3px 10px;
+ font-size: x-small;
+}
+#breadcrumbs {
+ font-size: x-small;
+ margin: 0pt;
+}
+.source {
+ padding: 12px;
+ margin: 1em 7px 1em 7px;
+}
+.source pre {
+ margin: 0px;
+ padding: 0px;
+}
+#navcolumn img.imageLink, .imageLink {
+ padding-left: 0px;
+ padding-bottom: 0px;
+ padding-top: 0px;
+ padding-right: 2px;
+ border: 0px;
+ margin: 0px;
+}
\ No newline at end of file
Modified: websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/css/maven-theme.css
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/css/maven-theme.css (original)
+++ websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/css/maven-theme.css Tue Aug 20 19:38:16 2013
@@ -1,141 +1,140 @@
-body {
- padding: 0px 0px 10px 0px;
-}
-body, td, select, input, li{
- font-family: Verdana, Helvetica, Arial, sans-serif;
- font-size: 13px;
-}
-code{
- font-family: Courier, monospace;
- font-size: 13px;
-}
-a {
- text-decoration: none;
-}
-a:link {
- color:#36a;
-}
-a:visited {
- color:#47a;
-}
-a:active, a:hover {
- color:#69c;
-}
-#legend li.externalLink {
- background: url(../images/external.png) left top no-repeat;
- padding-left: 18px;
-}
-a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
- background: url(../images/external.png) right center no-repeat;
- padding-right: 18px;
-}
-#legend li.newWindow {
- background: url(../images/newwindow.png) left top no-repeat;
- padding-left: 18px;
-}
-a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
- background: url(../images/newwindow.png) right center no-repeat;
- padding-right: 18px;
-}
-h2 {
- padding: 4px 4px 4px 6px;
- border: 1px solid #999;
- color: #900;
- background-color: #ddd;
- font-weight:900;
- font-size: x-large;
-}
-h3 {
- padding: 4px 4px 4px 6px;
- border: 1px solid #aaa;
- color: #900;
- background-color: #eee;
- font-weight: normal;
- font-size: large;
-}
-h4 {
- padding: 4px 4px 4px 6px;
- border: 1px solid #bbb;
- color: #900;
- background-color: #fff;
- font-weight: normal;
- font-size: large;
-}
-h5 {
- padding: 4px 4px 4px 6px;
- color: #900;
- font-size: normal;
-}
-p {
- line-height: 1.3em;
- font-size: small;
-}
-#breadcrumbs {
- border-top: 1px solid #aaa;
- border-bottom: 1px solid #aaa;
- background-color: #ccc;
-}
-#leftColumn {
- margin: 10px 0 0 5px;
- border: 1px solid #999;
- background-color: #eee;
-}
-#navcolumn h5 {
- font-size: smaller;
- border-bottom: 1px solid #aaaaaa;
- padding-top: 2px;
- color: #000;
-}
-
-table.bodyTable th {
- color: white;
- background-color: #bbb;
- text-align: left;
- font-weight: bold;
-}
-
-table.bodyTable th, table.bodyTable td {
- font-size: 1em;
-}
-
-table.bodyTable tr.a {
- background-color: #ddd;
-}
-
-table.bodyTable tr.b {
- background-color: #eee;
-}
-
-.source {
- border: 1px solid #999;
-}
-dl {
- padding: 4px 4px 4px 6px;
- border: 1px solid #aaa;
- background-color: #ffc;
-}
-dt {
- color: #900;
-}
-#organizationLogo img, #projectLogo img, #projectLogo span{
- margin: 8px;
-}
-#banner {
- border-bottom: 1px solid #fff;
-}
-.errormark, .warningmark, .donemark, .infomark {
- background: url(../images/icon_error_sml.gif) no-repeat;
-}
-
-.warningmark {
- background-image: url(../images/icon_warning_sml.gif);
-}
-
-.donemark {
- background-image: url(../images/icon_success_sml.gif);
-}
-
-.infomark {
- background-image: url(../images/icon_info_sml.gif);
-}
-
+body {
+ padding: 0px 0px 10px 0px;
+}
+body, td, select, input, li{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ font-size: 13px;
+}
+code{
+ font-family: Courier, monospace;
+ font-size: 13px;
+}
+a {
+ text-decoration: none;
+}
+a:link {
+ color:#36a;
+}
+a:visited {
+ color:#47a;
+}
+a:active, a:hover {
+ color:#69c;
+}
+#legend li.externalLink {
+ background: url(../images/external.png) left top no-repeat;
+ padding-left: 18px;
+}
+a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
+ background: url(../images/external.png) right center no-repeat;
+ padding-right: 18px;
+}
+#legend li.newWindow {
+ background: url(../images/newwindow.png) left top no-repeat;
+ padding-left: 18px;
+}
+a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
+ background: url(../images/newwindow.png) right center no-repeat;
+ padding-right: 18px;
+}
+h2 {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #999;
+ color: #900;
+ background-color: #ddd;
+ font-weight:900;
+ font-size: x-large;
+}
+h3 {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #aaa;
+ color: #900;
+ background-color: #eee;
+ font-weight: normal;
+ font-size: large;
+}
+h4 {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #bbb;
+ color: #900;
+ background-color: #fff;
+ font-weight: normal;
+ font-size: large;
+}
+h5 {
+ padding: 4px 4px 4px 6px;
+ color: #900;
+ font-size: normal;
+}
+p {
+ line-height: 1.3em;
+ font-size: small;
+}
+#breadcrumbs {
+ border-top: 1px solid #aaa;
+ border-bottom: 1px solid #aaa;
+ background-color: #ccc;
+}
+#leftColumn {
+ margin: 10px 0 0 5px;
+ border: 1px solid #999;
+ background-color: #eee;
+}
+#navcolumn h5 {
+ font-size: smaller;
+ border-bottom: 1px solid #aaaaaa;
+ padding-top: 2px;
+ color: #000;
+}
+
+table.bodyTable th {
+ color: white;
+ background-color: #bbb;
+ text-align: left;
+ font-weight: bold;
+}
+
+table.bodyTable th, table.bodyTable td {
+ font-size: 1em;
+}
+
+table.bodyTable tr.a {
+ background-color: #ddd;
+}
+
+table.bodyTable tr.b {
+ background-color: #eee;
+}
+
+.source {
+ border: 1px solid #999;
+}
+dl {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #aaa;
+ background-color: #ffc;
+}
+dt {
+ color: #900;
+}
+#organizationLogo img, #projectLogo img, #projectLogo span{
+ margin: 8px;
+}
+#banner {
+ border-bottom: 1px solid #fff;
+}
+.errormark, .warningmark, .donemark, .infomark {
+ background: url(../images/icon_error_sml.gif) no-repeat;
+}
+
+.warningmark {
+ background-image: url(../images/icon_warning_sml.gif);
+}
+
+.donemark {
+ background-image: url(../images/icon_success_sml.gif);
+}
+
+.infomark {
+ background-image: url(../images/icon_info_sml.gif);
+}
Modified: websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/css/print.css
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/css/print.css (original)
+++ websites/staging/creadur/trunk/content/whisker/apache-whisker-xml/css/print.css Tue Aug 20 19:38:16 2013
@@ -1,7 +1,7 @@
-#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {
- display: none !important;
-}
-#bodyColumn, body.docs div.docs {
- margin: 0 !important;
- border: none !important
-}
+#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {
+ display: none !important;
+}
+#bodyColumn, body.docs div.docs {
+ margin: 0 !important;
+ border: none !important
+}
\ No newline at end of file
Modified: websites/staging/creadur/trunk/content/whisker/css/maven-base.css
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/css/maven-base.css (original)
+++ websites/staging/creadur/trunk/content/whisker/css/maven-base.css Tue Aug 20 19:38:16 2013
@@ -1,155 +1,155 @@
-body {
- margin: 0px;
- padding: 0px;
-}
-img {
- border:none;
-}
-table {
- padding:0px;
- width: 100%;
- margin-left: -2px;
- margin-right: -2px;
-}
-acronym {
- cursor: help;
- border-bottom: 1px dotted #feb;
-}
-table.bodyTable th, table.bodyTable td {
- padding: 2px 4px 2px 4px;
- vertical-align: top;
-}
-div.clear{
- clear:both;
- visibility: hidden;
-}
-div.clear hr{
- display: none;
-}
-#bannerLeft, #bannerRight {
- font-size: xx-large;
- font-weight: bold;
-}
-#bannerLeft img, #bannerRight img {
- margin: 0px;
-}
-.xleft, #bannerLeft img {
- float:left;
-}
-.xright, #bannerRight {
- float:right;
-}
-#banner {
- padding: 0px;
-}
-#banner img {
- border: none;
-}
-#breadcrumbs {
- padding: 3px 10px 3px 10px;
-}
-#leftColumn {
- width: 170px;
- float:left;
- overflow: auto;
-}
-#bodyColumn {
- margin-right: 1.5em;
- margin-left: 197px;
-}
-#legend {
- padding: 8px 0 8px 0;
-}
-#navcolumn {
- padding: 8px 4px 0 8px;
-}
-#navcolumn h5 {
- margin: 0;
- padding: 0;
- font-size: small;
-}
-#navcolumn ul {
- margin: 0;
- padding: 0;
- font-size: small;
-}
-#navcolumn li {
- list-style-type: none;
- background-image: none;
- background-repeat: no-repeat;
- background-position: 0 0.4em;
- padding-left: 16px;
- list-style-position: outside;
- line-height: 1.2em;
- font-size: smaller;
-}
-#navcolumn li.expanded {
- background-image: url(../images/expanded.gif);
-}
-#navcolumn li.collapsed {
- background-image: url(../images/collapsed.gif);
-}
-#navcolumn li.none {
- text-indent: -1em;
- margin-left: 1em;
-}
-#poweredBy {
- text-align: center;
-}
-#navcolumn img {
- margin-top: 10px;
- margin-bottom: 3px;
-}
-#poweredBy img {
- display:block;
- margin: 20px 0 20px 17px;
-}
-#search img {
- margin: 0px;
- display: block;
-}
-#search #q, #search #btnG {
- border: 1px solid #999;
- margin-bottom:10px;
-}
-#search form {
- margin: 0px;
-}
-#lastPublished {
- font-size: x-small;
-}
-.navSection {
- margin-bottom: 2px;
- padding: 8px;
-}
-.navSectionHead {
- font-weight: bold;
- font-size: x-small;
-}
-.section {
- padding: 4px;
-}
-#footer {
- padding: 3px 10px 3px 10px;
- font-size: x-small;
-}
-#breadcrumbs {
- font-size: x-small;
- margin: 0pt;
-}
-.source {
- padding: 12px;
- margin: 1em 7px 1em 7px;
-}
-.source pre {
- margin: 0px;
- padding: 0px;
-}
-#navcolumn img.imageLink, .imageLink {
- padding-left: 0px;
- padding-bottom: 0px;
- padding-top: 0px;
- padding-right: 2px;
- border: 0px;
- margin: 0px;
-}
+body {
+ margin: 0px;
+ padding: 0px;
+}
+img {
+ border:none;
+}
+table {
+ padding:0px;
+ width: 100%;
+ margin-left: -2px;
+ margin-right: -2px;
+}
+acronym {
+ cursor: help;
+ border-bottom: 1px dotted #feb;
+}
+table.bodyTable th, table.bodyTable td {
+ padding: 2px 4px 2px 4px;
+ vertical-align: top;
+}
+div.clear{
+ clear:both;
+ visibility: hidden;
+}
+div.clear hr{
+ display: none;
+}
+#bannerLeft, #bannerRight {
+ font-size: xx-large;
+ font-weight: bold;
+}
+#bannerLeft img, #bannerRight img {
+ margin: 0px;
+}
+.xleft, #bannerLeft img {
+ float:left;
+}
+.xright, #bannerRight {
+ float:right;
+}
+#banner {
+ padding: 0px;
+}
+#banner img {
+ border: none;
+}
+#breadcrumbs {
+ padding: 3px 10px 3px 10px;
+}
+#leftColumn {
+ width: 170px;
+ float:left;
+ overflow: auto;
+}
+#bodyColumn {
+ margin-right: 1.5em;
+ margin-left: 197px;
+}
+#legend {
+ padding: 8px 0 8px 0;
+}
+#navcolumn {
+ padding: 8px 4px 0 8px;
+}
+#navcolumn h5 {
+ margin: 0;
+ padding: 0;
+ font-size: small;
+}
+#navcolumn ul {
+ margin: 0;
+ padding: 0;
+ font-size: small;
+}
+#navcolumn li {
+ list-style-type: none;
+ background-image: none;
+ background-repeat: no-repeat;
+ background-position: 0 0.4em;
+ padding-left: 16px;
+ list-style-position: outside;
+ line-height: 1.2em;
+ font-size: smaller;
+}
+#navcolumn li.expanded {
+ background-image: url(../images/expanded.gif);
+}
+#navcolumn li.collapsed {
+ background-image: url(../images/collapsed.gif);
+}
+#navcolumn li.none {
+ text-indent: -1em;
+ margin-left: 1em;
+}
+#poweredBy {
+ text-align: center;
+}
+#navcolumn img {
+ margin-top: 10px;
+ margin-bottom: 3px;
+}
+#poweredBy img {
+ display:block;
+ margin: 20px 0 20px 17px;
+}
+#search img {
+ margin: 0px;
+ display: block;
+}
+#search #q, #search #btnG {
+ border: 1px solid #999;
+ margin-bottom:10px;
+}
+#search form {
+ margin: 0px;
+}
+#lastPublished {
+ font-size: x-small;
+}
+.navSection {
+ margin-bottom: 2px;
+ padding: 8px;
+}
+.navSectionHead {
+ font-weight: bold;
+ font-size: x-small;
+}
+.section {
+ padding: 4px;
+}
+#footer {
+ padding: 3px 10px 3px 10px;
+ font-size: x-small;
+}
+#breadcrumbs {
+ font-size: x-small;
+ margin: 0pt;
+}
+.source {
+ padding: 12px;
+ margin: 1em 7px 1em 7px;
+}
+.source pre {
+ margin: 0px;
+ padding: 0px;
+}
+#navcolumn img.imageLink, .imageLink {
+ padding-left: 0px;
+ padding-bottom: 0px;
+ padding-top: 0px;
+ padding-right: 2px;
+ border: 0px;
+ margin: 0px;
+}
\ No newline at end of file
Modified: websites/staging/creadur/trunk/content/whisker/css/maven-theme.css
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/css/maven-theme.css (original)
+++ websites/staging/creadur/trunk/content/whisker/css/maven-theme.css Tue Aug 20 19:38:16 2013
@@ -1,141 +1,140 @@
-body {
- padding: 0px 0px 10px 0px;
-}
-body, td, select, input, li{
- font-family: Verdana, Helvetica, Arial, sans-serif;
- font-size: 13px;
-}
-code{
- font-family: Courier, monospace;
- font-size: 13px;
-}
-a {
- text-decoration: none;
-}
-a:link {
- color:#36a;
-}
-a:visited {
- color:#47a;
-}
-a:active, a:hover {
- color:#69c;
-}
-#legend li.externalLink {
- background: url(../images/external.png) left top no-repeat;
- padding-left: 18px;
-}
-a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
- background: url(../images/external.png) right center no-repeat;
- padding-right: 18px;
-}
-#legend li.newWindow {
- background: url(../images/newwindow.png) left top no-repeat;
- padding-left: 18px;
-}
-a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
- background: url(../images/newwindow.png) right center no-repeat;
- padding-right: 18px;
-}
-h2 {
- padding: 4px 4px 4px 6px;
- border: 1px solid #999;
- color: #900;
- background-color: #ddd;
- font-weight:900;
- font-size: x-large;
-}
-h3 {
- padding: 4px 4px 4px 6px;
- border: 1px solid #aaa;
- color: #900;
- background-color: #eee;
- font-weight: normal;
- font-size: large;
-}
-h4 {
- padding: 4px 4px 4px 6px;
- border: 1px solid #bbb;
- color: #900;
- background-color: #fff;
- font-weight: normal;
- font-size: large;
-}
-h5 {
- padding: 4px 4px 4px 6px;
- color: #900;
- font-size: normal;
-}
-p {
- line-height: 1.3em;
- font-size: small;
-}
-#breadcrumbs {
- border-top: 1px solid #aaa;
- border-bottom: 1px solid #aaa;
- background-color: #ccc;
-}
-#leftColumn {
- margin: 10px 0 0 5px;
- border: 1px solid #999;
- background-color: #eee;
-}
-#navcolumn h5 {
- font-size: smaller;
- border-bottom: 1px solid #aaaaaa;
- padding-top: 2px;
- color: #000;
-}
-
-table.bodyTable th {
- color: white;
- background-color: #bbb;
- text-align: left;
- font-weight: bold;
-}
-
-table.bodyTable th, table.bodyTable td {
- font-size: 1em;
-}
-
-table.bodyTable tr.a {
- background-color: #ddd;
-}
-
-table.bodyTable tr.b {
- background-color: #eee;
-}
-
-.source {
- border: 1px solid #999;
-}
-dl {
- padding: 4px 4px 4px 6px;
- border: 1px solid #aaa;
- background-color: #ffc;
-}
-dt {
- color: #900;
-}
-#organizationLogo img, #projectLogo img, #projectLogo span{
- margin: 8px;
-}
-#banner {
- border-bottom: 1px solid #fff;
-}
-.errormark, .warningmark, .donemark, .infomark {
- background: url(../images/icon_error_sml.gif) no-repeat;
-}
-
-.warningmark {
- background-image: url(../images/icon_warning_sml.gif);
-}
-
-.donemark {
- background-image: url(../images/icon_success_sml.gif);
-}
-
-.infomark {
- background-image: url(../images/icon_info_sml.gif);
-}
-
+body {
+ padding: 0px 0px 10px 0px;
+}
+body, td, select, input, li{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ font-size: 13px;
+}
+code{
+ font-family: Courier, monospace;
+ font-size: 13px;
+}
+a {
+ text-decoration: none;
+}
+a:link {
+ color:#36a;
+}
+a:visited {
+ color:#47a;
+}
+a:active, a:hover {
+ color:#69c;
+}
+#legend li.externalLink {
+ background: url(../images/external.png) left top no-repeat;
+ padding-left: 18px;
+}
+a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
+ background: url(../images/external.png) right center no-repeat;
+ padding-right: 18px;
+}
+#legend li.newWindow {
+ background: url(../images/newwindow.png) left top no-repeat;
+ padding-left: 18px;
+}
+a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
+ background: url(../images/newwindow.png) right center no-repeat;
+ padding-right: 18px;
+}
+h2 {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #999;
+ color: #900;
+ background-color: #ddd;
+ font-weight:900;
+ font-size: x-large;
+}
+h3 {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #aaa;
+ color: #900;
+ background-color: #eee;
+ font-weight: normal;
+ font-size: large;
+}
+h4 {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #bbb;
+ color: #900;
+ background-color: #fff;
+ font-weight: normal;
+ font-size: large;
+}
+h5 {
+ padding: 4px 4px 4px 6px;
+ color: #900;
+ font-size: normal;
+}
+p {
+ line-height: 1.3em;
+ font-size: small;
+}
+#breadcrumbs {
+ border-top: 1px solid #aaa;
+ border-bottom: 1px solid #aaa;
+ background-color: #ccc;
+}
+#leftColumn {
+ margin: 10px 0 0 5px;
+ border: 1px solid #999;
+ background-color: #eee;
+}
+#navcolumn h5 {
+ font-size: smaller;
+ border-bottom: 1px solid #aaaaaa;
+ padding-top: 2px;
+ color: #000;
+}
+
+table.bodyTable th {
+ color: white;
+ background-color: #bbb;
+ text-align: left;
+ font-weight: bold;
+}
+
+table.bodyTable th, table.bodyTable td {
+ font-size: 1em;
+}
+
+table.bodyTable tr.a {
+ background-color: #ddd;
+}
+
+table.bodyTable tr.b {
+ background-color: #eee;
+}
+
+.source {
+ border: 1px solid #999;
+}
+dl {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #aaa;
+ background-color: #ffc;
+}
+dt {
+ color: #900;
+}
+#organizationLogo img, #projectLogo img, #projectLogo span{
+ margin: 8px;
+}
+#banner {
+ border-bottom: 1px solid #fff;
+}
+.errormark, .warningmark, .donemark, .infomark {
+ background: url(../images/icon_error_sml.gif) no-repeat;
+}
+
+.warningmark {
+ background-image: url(../images/icon_warning_sml.gif);
+}
+
+.donemark {
+ background-image: url(../images/icon_success_sml.gif);
+}
+
+.infomark {
+ background-image: url(../images/icon_info_sml.gif);
+}
Modified: websites/staging/creadur/trunk/content/whisker/css/print.css
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/css/print.css (original)
+++ websites/staging/creadur/trunk/content/whisker/css/print.css Tue Aug 20 19:38:16 2013
@@ -1,7 +1,7 @@
-#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {
- display: none !important;
-}
-#bodyColumn, body.docs div.docs {
- margin: 0 !important;
- border: none !important
-}
+#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {
+ display: none !important;
+}
+#bodyColumn, body.docs div.docs {
+ margin: 0 !important;
+ border: none !important
+}
\ No newline at end of file
Modified: websites/staging/creadur/trunk/content/whisker/testapidocs/package-list
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/testapidocs/package-list (original)
+++ websites/staging/creadur/trunk/content/whisker/testapidocs/package-list Tue Aug 20 19:38:16 2013
@@ -1,3 +1,4 @@
+org.apache.creadur.whisker.app
org.apache.creadur.whisker.app.load
org.apache.creadur.whisker.cli
org.apache.creadur.whisker.fromxml
Modified: websites/staging/creadur/trunk/content/whisker/xref-test/allclasses-frame.html
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/xref-test/allclasses-frame.html (original)
+++ websites/staging/creadur/trunk/content/whisker/xref-test/allclasses-frame.html Tue Aug 20 19:38:16 2013
@@ -102,6 +102,9 @@
<a href="org/apache/creadur/whisker/cli/TestCommandParsing.html" target="classFrame">TestCommandParsing</a>
</li>
<li>
+ <a href="org/apache/creadur/whisker/app/TestConfigurationBuilder.html" target="classFrame">TestConfigurationBuilder</a>
+ </li>
+ <li>
<a href="org/apache/creadur/whisker/model/TestDescriptorOnlyPrimary.html" target="classFrame">TestDescriptorOnlyPrimary</a>
</li>
<li>
@@ -120,6 +123,9 @@
<a href="org/apache/creadur/whisker/out/velocity/TestLicenseGeneration.html" target="classFrame">TestLicenseGeneration</a>
</li>
<li>
+ <a href="org/apache/creadur/whisker/out/velocity/TestLicenseGenerationSourceURLs.html" target="classFrame">TestLicenseGenerationSourceURLs</a>
+ </li>
+ <li>
<a href="org/apache/creadur/whisker/cli/TestMain.html" target="classFrame">TestMain</a>
</li>
<li>
@@ -132,9 +138,15 @@
<a href="org/apache/creadur/whisker/out/velocity/TestNoticeGeneration.html" target="classFrame">TestNoticeGeneration</a>
</li>
<li>
+ <a href="org/apache/creadur/whisker/out/velocity/TestRenderingHelper.html" target="classFrame">TestRenderingHelper</a>
+ </li>
+ <li>
<a href="org/apache/creadur/whisker/app/load/TestStreamableResourceFactory.html" target="classFrame">TestStreamableResourceFactory</a>
</li>
<li>
+ <a href="org/apache/creadur/whisker/app/TestWhisker.html" target="classFrame">TestWhisker</a>
+ </li>
+ <li>
<a href="org/apache/creadur/whisker/model/TestWithLicense.html" target="classFrame">TestWithLicense</a>
</li>
<li>
@@ -143,4 +155,4 @@
</ul>
</body>
- </html>
+ </html>
\ No newline at end of file
Modified: websites/staging/creadur/trunk/content/whisker/xref-test/index.html
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/xref-test/index.html (original)
+++ websites/staging/creadur/trunk/content/whisker/xref-test/index.html Tue Aug 20 19:38:16 2013
@@ -21,4 +21,3 @@
</noframes>
</frameset>
</html>
-
Added: websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/TestConfigurationBuilder.html
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/TestConfigurationBuilder.html (added)
+++ websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/TestConfigurationBuilder.html Tue Aug 20 19:38:16 2013
@@ -0,0 +1,60 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>TestConfigurationBuilder xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/creadur/whisker/app/TestConfigurationBuilder.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2" href="#2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a class="jxr_linenumber" name="11" href="#11">11</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_javadoccomment"> * KIND, either express or implied. See the License for the</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_javadoccomment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_javadoccomment"> * under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a> <strong class="jxr_keyword">package</strong> org.apache.creadur.whisker.app;
+<a class="jxr_linenumber" name="20" href="#20">20</a>
+<a class="jxr_linenumber" name="21" href="#21">21</a> <strong class="jxr_keyword">import</strong> junit.framework.TestCase;
+<a class="jxr_linenumber" name="22" href="#22">22</a>
+<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/creadur/whisker/app/TestConfigurationBuilder.html">TestConfigurationBuilder</a> <strong class="jxr_keyword">extends</strong> TestCase {
+<a class="jxr_linenumber" name="24" href="#24">24</a>
+<a class="jxr_linenumber" name="25" href="#25">25</a> ConfigurationBuilder subject;
+<a class="jxr_linenumber" name="26" href="#26">26</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> @Override
+<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> setUp() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">super</strong>.setUp();
+<a class="jxr_linenumber" name="30" href="#30">30</a> subject = ConfigurationBuilder.aConfiguration();
+<a class="jxr_linenumber" name="31" href="#31">31</a> }
+<a class="jxr_linenumber" name="32" href="#32">32</a>
+<a class="jxr_linenumber" name="33" href="#33">33</a>
+<a class="jxr_linenumber" name="34" href="#34">34</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testWithNoSourceURLsInLicense() {
+<a class="jxr_linenumber" name="35" href="#35">35</a> assertFalse(subject.noSourceURLsInLicense().build().includeSourceURLsInLicense());
+<a class="jxr_linenumber" name="36" href="#36">36</a> }
+<a class="jxr_linenumber" name="37" href="#37">37</a>
+<a class="jxr_linenumber" name="38" href="#38">38</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSourceURLsInLicenseDefault() {
+<a class="jxr_linenumber" name="39" href="#39">39</a> assertTrue(subject.withSourceURLsInLicense().build().includeSourceURLsInLicense());
+<a class="jxr_linenumber" name="40" href="#40">40</a> }
+<a class="jxr_linenumber" name="41" href="#41">41</a>
+<a class="jxr_linenumber" name="42" href="#42">42</a>
+<a class="jxr_linenumber" name="43" href="#43">43</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testWithSourceURLsInLicense() {
+<a class="jxr_linenumber" name="44" href="#44">44</a> assertTrue(subject.withSourceURLsInLicense().build().includeSourceURLsInLicense());
+<a class="jxr_linenumber" name="45" href="#45">45</a> }
+<a class="jxr_linenumber" name="46" href="#46">46</a>
+<a class="jxr_linenumber" name="47" href="#47">47</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Added: websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/TestWhisker.html
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/TestWhisker.html (added)
+++ websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/TestWhisker.html Tue Aug 20 19:38:16 2013
@@ -0,0 +1,66 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>TestWhisker xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/creadur/whisker/app/TestWhisker.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2" href="#2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a class="jxr_linenumber" name="11" href="#11">11</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_javadoccomment"> * KIND, either express or implied. See the License for the</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_javadoccomment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_javadoccomment"> * under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a> <strong class="jxr_keyword">package</strong> org.apache.creadur.whisker.app;
+<a class="jxr_linenumber" name="20" href="#20">20</a>
+<a class="jxr_linenumber" name="21" href="#21">21</a> <strong class="jxr_keyword">import</strong> junit.framework.TestCase;
+<a class="jxr_linenumber" name="22" href="#22">22</a>
+<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/creadur/whisker/app/TestWhisker.html">TestWhisker</a> <strong class="jxr_keyword">extends</strong> TestCase {
+<a class="jxr_linenumber" name="24" href="#24">24</a>
+<a class="jxr_linenumber" name="25" href="#25">25</a> Whisker subject;
+<a class="jxr_linenumber" name="26" href="#26">26</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> @Override
+<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> setUp() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">super</strong>.setUp();
+<a class="jxr_linenumber" name="30" href="#30">30</a> subject = <strong class="jxr_keyword">new</strong> Whisker();
+<a class="jxr_linenumber" name="31" href="#31">31</a> }
+<a class="jxr_linenumber" name="32" href="#32">32</a>
+<a class="jxr_linenumber" name="33" href="#33">33</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSetNullLicenseConfiguration() {
+<a class="jxr_linenumber" name="34" href="#34">34</a> assertEquals(
+<a class="jxr_linenumber" name="35" href="#35">35</a> subject.setLicenseConfiguration(<strong class="jxr_keyword">null</strong>).getLicenseConfiguration(),
+<a class="jxr_linenumber" name="36" href="#36">36</a> LicenseConfiguration.DEFAULT_LICENSE_CONFIGURATION);
+<a class="jxr_linenumber" name="37" href="#37">37</a> }
+<a class="jxr_linenumber" name="38" href="#38">38</a>
+<a class="jxr_linenumber" name="39" href="#39">39</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testMinimalLicenseConfigurationConfiguresNoSourceUrls() {
+<a class="jxr_linenumber" name="40" href="#40">40</a> assertFalse(
+<a class="jxr_linenumber" name="41" href="#41">41</a> subject
+<a class="jxr_linenumber" name="42" href="#42">42</a> .setLicenseConfiguration(LicenseConfiguration.MINIMAL)
+<a class="jxr_linenumber" name="43" href="#43">43</a> .configuration().includeSourceURLsInLicense());
+<a class="jxr_linenumber" name="44" href="#44">44</a> }
+<a class="jxr_linenumber" name="45" href="#45">45</a>
+<a class="jxr_linenumber" name="46" href="#46">46</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testIncludeSourceUrlsLicenseConfigurationConfiguresNoSourceUrls() {
+<a class="jxr_linenumber" name="47" href="#47">47</a> assertTrue(
+<a class="jxr_linenumber" name="48" href="#48">48</a> subject
+<a class="jxr_linenumber" name="49" href="#49">49</a> .setLicenseConfiguration(LicenseConfiguration.INCLUDE_SOURCE_URLS)
+<a class="jxr_linenumber" name="50" href="#50">50</a> .configuration().includeSourceURLsInLicense());
+<a class="jxr_linenumber" name="51" href="#51">51</a> }
+<a class="jxr_linenumber" name="52" href="#52">52</a>
+<a class="jxr_linenumber" name="53" href="#53">53</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Modified: websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/load/TestStreamableResourceFactory.html
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/load/TestStreamableResourceFactory.html (original)
+++ websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/load/TestStreamableResourceFactory.html Tue Aug 20 19:38:16 2013
@@ -54,4 +54,3 @@
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>
-
Modified: websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/load/package-summary.html
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/load/package-summary.html (original)
+++ websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/load/package-summary.html Tue Aug 20 19:38:16 2013
@@ -62,6 +62,6 @@
</ul>
</div>
<hr />
- Copyright © 2011-2012 Apache Software Foundation. All Rights Reserved.
+ Copyright © 2011-2013 Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Added: websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/package-frame.html
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/package-frame.html (added)
+++ websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/package-frame.html Tue Aug 20 19:38:16 2013
@@ -0,0 +1,27 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <title>Apache Whisker 0.1-SNAPSHOT Reference Package org.apache.creadur.whisker.app</title>
+ <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
+ </head>
+ <body>
+
+ <h3>
+ <a href="package-summary.html" target="classFrame">org.apache.creadur.whisker.app</a>
+ </h3>
+
+ <h3>Classes</h3>
+
+ <ul>
+ <li>
+ <a href="TestConfigurationBuilder.html" target="classFrame">TestConfigurationBuilder</a>
+ </li>
+ <li>
+ <a href="TestWhisker.html" target="classFrame">TestWhisker</a>
+ </li>
+ </ul>
+
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/package-summary.html
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/package-summary.html (added)
+++ websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/app/package-summary.html Tue Aug 20 19:38:16 2013
@@ -0,0 +1,72 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <title>Apache Whisker 0.1-SNAPSHOT Reference Package org.apache.creadur.whisker.app</title>
+ <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
+ </head>
+ <body>
+ <div class="overview">
+ <ul>
+ <li>
+ <a href="../../../../../overview-summary.html">Overview</a>
+ </li>
+ <li class="selected">Package</li>
+ </ul>
+ </div>
+ <div class="framenoframe">
+ <ul>
+ <li>
+ <a href="../../../../../index.html" target="_top">FRAMES</a>
+ </li>
+ <li>
+ <a href="package-summary.html" target="_top">NO FRAMES</a>
+ </li>
+ </ul>
+ </div>
+
+ <h2>Package org.apache.creadur.whisker.app</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Class Summary</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <a href="TestConfigurationBuilder.html" target="classFrame">TestConfigurationBuilder</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="TestWhisker.html" target="classFrame">TestWhisker</a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ <div class="overview">
+ <ul>
+ <li>
+ <a href="../../../../../overview-summary.html">Overview</a>
+ </li>
+ <li class="selected">Package</li>
+ </ul>
+ </div>
+ <div class="framenoframe">
+ <ul>
+ <li>
+ <a href="../../../../../index.html" target="_top">FRAMES</a>
+ </li>
+ <li>
+ <a href="package-summary.html" target="_top">NO FRAMES</a>
+ </li>
+ </ul>
+ </div>
+ <hr />
+ Copyright © 2011-2013 Apache Software Foundation. All Rights Reserved.
+ </body>
+</html>
\ No newline at end of file
Modified: websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/cli/TestCommandParsing.html
==============================================================================
--- websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/cli/TestCommandParsing.html (original)
+++ websites/staging/creadur/trunk/content/whisker/xref-test/org/apache/creadur/whisker/cli/TestCommandParsing.html Tue Aug 20 19:38:16 2013
@@ -230,4 +230,3 @@
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>
-