| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="de"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_03) on Fri Feb 22 10:18:07 CET 2013 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>PuzzlePieceSet (Schema2template v0.8.9-incubating - http://incubator.apache.org/odftoolkit/)</title> |
| <meta name="date" content="2013-02-22"> |
| <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="PuzzlePieceSet (Schema2template v0.8.9-incubating - http://incubator.apache.org/odftoolkit/)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/PuzzlePieceSet.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../schema2template/model/QNamed.html" title="interface in schema2template.model"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../index.html?schema2template/model/PuzzlePieceSet.html" target="_top">Frames</a></li> |
| <li><a href="PuzzlePieceSet.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">schema2template.model</div> |
| <h2 title="Class PuzzlePieceSet" class="title">Class PuzzlePieceSet</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>schema2template.model.PuzzlePieceSet</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>>, <a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>>, <a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a>, <a href="../../schema2template/model/QNamed.html" title="interface in schema2template.model">QNamed</a>, <a href="../../schema2template/model/QNamedPuzzleComponent.html" title="interface in schema2template.model">QNamedPuzzleComponent</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">PuzzlePieceSet</span> |
| extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../schema2template/model/QNamedPuzzleComponent.html" title="interface in schema2template.model">QNamedPuzzleComponent</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></pre> |
| <div class="block">Collection Class for RelaxNG definitions of an Element, Attribute, Value or Datatype. |
| |
| <p>Conventions: <ul><li>PuzzlePiece sorting is done by ns:local tag names as first key and hashCode as second key (see class PuzzlePiece).</li> |
| <li>Since it is a Collection, PuzzlePieceSet is not meant to be used in a Collection. So equals(o) and hashCode() are not overwritten</li> |
| <li>All returned PuzzlePieceSet objects are immutable to protect them against |
| naive usage in velocity templates</li></ul></p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#PuzzlePieceSet()">PuzzlePieceSet</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#PuzzlePieceSet(java.util.Collection)">PuzzlePieceSet</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>> c)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#add(schema2template.model.PuzzlePiece)">add</a></strong>(<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a> e)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#addAll(java.util.Collection)">addAll</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>> c)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#byParent(schema2template.model.QNamedPuzzleComponent)">byParent</a></strong>(<a href="../../schema2template/model/QNamedPuzzleComponent.html" title="interface in schema2template.model">QNamedPuzzleComponent</a> parents)</code> |
| <div class="block">Returns new PuzzlePieceSet containing the elements of this PuzzlePieceSet, but only those |
| which have at least one element from the QNamedPuzzleComponent parameter as one of their parent Definitions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#canHaveText()">canHaveText</a></strong>()</code> |
| <div class="block">Determines whether the Definitions can have text - provided that this PuzzlePieceSet |
| is not empty and all Definitions have the same type and name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#clear()">clear</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#contains(java.lang.Object)">contains</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#containsAll(java.util.Collection)">containsAll</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#containsName(schema2template.model.QNamed)">containsName</a></strong>(<a href="../../schema2template/model/QNamed.html" title="interface in schema2template.model">QNamed</a> aNamed)</code> |
| <div class="block">Check whether this List contains an Element by this Name</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#containsName(java.lang.String)">containsName</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> aDefinitionName)</code> |
| <div class="block">Check whether this List contains an Element by this Name</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#getAttributes()">getAttributes</a></strong>()</code> |
| <div class="block">ELEMENT PuzzlePiece only: Get all attribute Definitions</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#getChildElements()">getChildElements</a></strong>()</code> |
| <div class="block">ELEMENT PuzzlePiece only: Get all child element Definitions</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#getCollection()">getCollection</a></strong>()</code> |
| <div class="block">Method to treat NamedDefined as a Collection of PuzzlePiece</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#getDatatypes()">getDatatypes</a></strong>()</code> |
| <div class="block">ATTRIBUTE PuzzlePiece only: Get all datatype Definitions</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#getLocalName()">getLocalName</a></strong>()</code> |
| <div class="block">Get only localname</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#getNamespace()">getNamespace</a></strong>()</code> |
| <div class="block">Get only namespace</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#getParents()">getParents</a></strong>()</code> |
| <div class="block">Get all parent Definitions</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#getQName()">getQName</a></strong>()</code> |
| <div class="block">Gets the ns:local tag name of the Definitions - provided that this PuzzlePieceSet |
| is not empty and all Definitions share the same tag name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../schema2template/model/MSVExpressionType.html" title="enum in schema2template.model">MSVExpressionType</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#getType()">getType</a></strong>()</code> |
| <div class="block">Gets the type of the Definitions - provided that this PuzzlePieceSet |
| is not empty and all Definitions have the same type and name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#getValues()">getValues</a></strong>()</code> |
| <div class="block">ATTRIBUTE PuzzlePiece only: Get all value Definitions</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#hashCode()">hashCode</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#isEmpty()">isEmpty</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#isMandatory(schema2template.model.QNamedPuzzleComponent)">isMandatory</a></strong>(<a href="../../schema2template/model/QNamedPuzzleComponent.html" title="interface in schema2template.model">QNamedPuzzleComponent</a> child)</code> |
| <div class="block">ELEMENT Definition only: Determine solely by child type and name |
| whether child is mandatory.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#isSingleton(schema2template.model.PuzzleComponent)">isSingleton</a></strong>(<a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a> child)</code> |
| <div class="block">Determines whether the child PuzzlePiece(s) is/are singleton(s) |
| |
| Convention: If child is a collection this method returns false if one child element is no singleton.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#iterator()">iterator</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#makeImmutable()">makeImmutable</a></strong>()</code> |
| <div class="block">Make PuzzlePieceSet immutable.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#remove(java.lang.Object)">remove</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#removeAll(java.util.Collection)">removeAll</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#retainAll(java.util.Collection)">retainAll</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#size()">size</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#toArray()">toArray</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><T> T[]</code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#toArray(T[])">toArray</a></strong>(T[] a)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#toString()">toString</a></strong>()</code> |
| <div class="block">Returns String representation (convenient method for getQName()) |
| |
| Template Usage: Just use $aDefinitionSet as you would use a string variable</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#without(schema2template.model.QNamedPuzzleComponent)">without</a></strong>(<a href="../../schema2template/model/QNamedPuzzleComponent.html" title="interface in schema2template.model">QNamedPuzzleComponent</a> removeAll)</code> |
| <div class="block">Returns new PuzzlePieceSet containing the elements of this PuzzlePieceSet, but without |
| the elements of the parameter removeAll |
| |
| Template Usage: #set ($non_base_attributes = $element.getAttributes().without($baseclass.getAttributes())</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a></code></td> |
| <td class="colLast"><code><strong><a href="../../schema2template/model/PuzzlePieceSet.html#withoutMultiples()">withoutMultiples</a></strong>()</code> |
| <div class="block">Returns new PuzzlePieceSet containing the elements of this PuzzlePieceSet, but restricted to one |
| PuzzlePiece per Name.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="PuzzlePieceSet()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PuzzlePieceSet</h4> |
| <pre>public PuzzlePieceSet()</pre> |
| </li> |
| </ul> |
| <a name="PuzzlePieceSet(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>PuzzlePieceSet</h4> |
| <pre>public PuzzlePieceSet(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>> c)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="equals(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public boolean equals(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util">equals</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="hashCode()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre>public int hashCode()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#hashCode()" title="class or interface in java.util">hashCode</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="makeImmutable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>makeImmutable</h4> |
| <pre>public void makeImmutable()</pre> |
| <div class="block">Make PuzzlePieceSet immutable. Cannot be undone. |
| |
| Template Usage: Not for use in templates as all PuzzlePieceSet already have been made immutable.</div> |
| </li> |
| </ul> |
| <a name="withoutMultiples()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withoutMultiples</h4> |
| <pre>public <a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a> withoutMultiples()</pre> |
| <div class="block"><p>Returns new PuzzlePieceSet containing the elements of this PuzzlePieceSet, but restricted to one |
| PuzzlePiece per Name.</p> |
| |
| <p>Template Usage: #foreach ($element in $elements.withoutMultiples())</p></div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>new PuzzlePieceSet</dd></dl> |
| </li> |
| </ul> |
| <a name="without(schema2template.model.QNamedPuzzleComponent)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>without</h4> |
| <pre>public <a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a> without(<a href="../../schema2template/model/QNamedPuzzleComponent.html" title="interface in schema2template.model">QNamedPuzzleComponent</a> removeAll)</pre> |
| <div class="block"><p>Returns new PuzzlePieceSet containing the elements of this PuzzlePieceSet, but without |
| the elements of the parameter removeAll</p> |
| |
| <p>Template Usage: #set ($non_base_attributes = $element.getAttributes().without($baseclass.getAttributes())</p></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>removeAll</code> - QNamedPuzzleComponent which (or which elements) should be removed from the new PuzzlePieceSet</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>new PuzzlePieceSet</dd></dl> |
| </li> |
| </ul> |
| <a name="byParent(schema2template.model.QNamedPuzzleComponent)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>byParent</h4> |
| <pre>public <a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a> byParent(<a href="../../schema2template/model/QNamedPuzzleComponent.html" title="interface in schema2template.model">QNamedPuzzleComponent</a> parents)</pre> |
| <div class="block">Returns new PuzzlePieceSet containing the elements of this PuzzlePieceSet, but only those |
| which have at least one element from the QNamedPuzzleComponent parameter as one of their parent Definitions. |
| |
| <p>Template Usage: Imagine we have one attribute name and we're not interested in the differences |
| between Definitions sharing the same name. We're now printing the |
| resulting allowed attribute values for each parent element name: </p> |
| <code><br /> |
| #set ( $oneOrMoreAttributes = $model.getAttribute($atttributename) )<br /> |
| ## we want to write information about only _one_ parent per Name...<br /> |
| #foreach ($parent in $oneOrMoreAttributes.getParents().withoutMultiples())<br/> |
| - Allowed Values for Parent Element $parent :<br /> |
| ## but we want the attribute values displayed which are allowed in _all_ parents with the same Name...<br /> |
| #foreach ($value in $oneOrMoreAttributes.byParent($parent.withMultiples()).getValues())<br /> |
| -- "$value" <br /> |
| #end<br /> |
| #end |
| </code><br /></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>parents</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd>new PuzzlePieceSet</dd></dl> |
| </li> |
| </ul> |
| <a name="containsName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsName</h4> |
| <pre>public boolean containsName(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> aDefinitionName)</pre> |
| <div class="block">Check whether this List contains an Element by this Name</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>aDefinitionName</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd>True if an element by this name exists</dd></dl> |
| </li> |
| </ul> |
| <a name="containsName(schema2template.model.QNamed)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsName</h4> |
| <pre>public boolean containsName(<a href="../../schema2template/model/QNamed.html" title="interface in schema2template.model">QNamed</a> aNamed)</pre> |
| <div class="block">Check whether this List contains an Element by this Name</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>aNamed</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd>True if an element by this name exists</dd></dl> |
| </li> |
| </ul> |
| <a name="getQName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQName</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getQName()</pre> |
| <div class="block">Gets the ns:local tag name of the Definitions - provided that this PuzzlePieceSet |
| is not empty and all Definitions share the same tag name. Throws Exception otherwise.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/QNamed.html#getQName()">getQName</a></code> in interface <code><a href="../../schema2template/model/QNamed.html" title="interface in schema2template.model">QNamed</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The tag name</dd></dl> |
| </li> |
| </ul> |
| <a name="getType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getType</h4> |
| <pre>public <a href="../../schema2template/model/MSVExpressionType.html" title="enum in schema2template.model">MSVExpressionType</a> getType()</pre> |
| <div class="block">Gets the type of the Definitions - provided that this PuzzlePieceSet |
| is not empty and all Definitions have the same type and name. Throws Exception otherwise.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/PuzzleComponent.html#getType()">getType</a></code> in interface <code><a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The type of this PuzzleComponent</dd></dl> |
| </li> |
| </ul> |
| <a name="canHaveText()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>canHaveText</h4> |
| <pre>public boolean canHaveText()</pre> |
| <div class="block">Determines whether the Definitions can have text - provided that this PuzzlePieceSet |
| is not empty and all Definitions have the same type and name. Throws Exception otherwise.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/PuzzleComponent.html#canHaveText()">canHaveText</a></code> in interface <code><a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>True if a text node is allowed, false otherwise</dd></dl> |
| </li> |
| </ul> |
| <a name="isSingleton(schema2template.model.PuzzleComponent)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isSingleton</h4> |
| <pre>public boolean isSingleton(<a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a> child)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../schema2template/model/PuzzleComponent.html#isSingleton(schema2template.model.PuzzleComponent)">PuzzleComponent</a></code></strong></div> |
| <div class="block">Determines whether the child PuzzlePiece(s) is/are singleton(s) |
| |
| Convention: If child is a collection this method returns false if one child element is no singleton. |
| If this is a collection this method returns false if child is no singleton for one element of this.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/PuzzleComponent.html#isSingleton(schema2template.model.PuzzleComponent)">isSingleton</a></code> in interface <code><a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>child</code> - PuzzleComponent child</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>True if child is defined as Singleton, falso otherwise.</dd></dl> |
| </li> |
| </ul> |
| <a name="getLocalName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocalName</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getLocalName()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../schema2template/model/QNamed.html#getLocalName()">QNamed</a></code></strong></div> |
| <div class="block">Get only localname</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/QNamed.html#getLocalName()">getLocalName</a></code> in interface <code><a href="../../schema2template/model/QNamed.html" title="interface in schema2template.model">QNamed</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>localname</dd></dl> |
| </li> |
| </ul> |
| <a name="getNamespace()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNamespace</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getNamespace()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../schema2template/model/QNamed.html#getNamespace()">QNamed</a></code></strong></div> |
| <div class="block">Get only namespace</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/QNamed.html#getNamespace()">getNamespace</a></code> in interface <code><a href="../../schema2template/model/QNamed.html" title="interface in schema2template.model">QNamed</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>namespace</dd></dl> |
| </li> |
| </ul> |
| <a name="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> |
| <div class="block"><p>Returns String representation (convenient method for getQName())</p> |
| |
| <p>Template Usage: Just use $aDefinitionSet as you would use a string variable</p></div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add(schema2template.model.PuzzlePiece)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public boolean add(<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a> e)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#add(E)" title="class or interface in java.util">add</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addAll(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addAll</h4> |
| <pre>public boolean addAll(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>> c)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#addAll(java.util.Collection)" title="class or interface in java.util">addAll</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clear()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>public void clear()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#clear()" title="class or interface in java.util">clear</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="contains(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>contains</h4> |
| <pre>public boolean contains(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#contains(java.lang.Object)" title="class or interface in java.util">contains</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsAll(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsAll</h4> |
| <pre>public boolean containsAll(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#containsAll(java.util.Collection)" title="class or interface in java.util">containsAll</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isEmpty()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isEmpty</h4> |
| <pre>public boolean isEmpty()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#isEmpty()" title="class or interface in java.util">isEmpty</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="iterator()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>iterator</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>> iterator()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang">iterator</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#iterator()" title="class or interface in java.util">iterator</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="remove(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>public boolean remove(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util">remove</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeAll(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAll</h4> |
| <pre>public boolean removeAll(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#removeAll(java.util.Collection)" title="class or interface in java.util">removeAll</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="retainAll(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>retainAll</h4> |
| <pre>public boolean retainAll(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#retainAll(java.util.Collection)" title="class or interface in java.util">retainAll</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="size()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>size</h4> |
| <pre>public int size()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#size()" title="class or interface in java.util">size</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toArray()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toArray</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] toArray()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#toArray()" title="class or interface in java.util">toArray</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toArray(java.lang.Object[])"> |
| <!-- --> |
| </a><a name="toArray(T[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toArray</h4> |
| <pre>public <T> T[] toArray(T[] a)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true#toArray(T[])" title="class or interface in java.util">toArray</a></code> in interface <code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getChildElements()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChildElements</h4> |
| <pre>public <a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a> getChildElements()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../schema2template/model/PuzzleComponent.html#getChildElements()">PuzzleComponent</a></code></strong></div> |
| <div class="block">ELEMENT PuzzlePiece only: Get all child element Definitions</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/PuzzleComponent.html#getChildElements()">getChildElements</a></code> in interface <code><a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The child Definitions of this PuzzleComponent</dd></dl> |
| </li> |
| </ul> |
| <a name="isMandatory(schema2template.model.QNamedPuzzleComponent)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isMandatory</h4> |
| <pre>public boolean isMandatory(<a href="../../schema2template/model/QNamedPuzzleComponent.html" title="interface in schema2template.model">QNamedPuzzleComponent</a> child)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../schema2template/model/QNamedPuzzleComponent.html#isMandatory(schema2template.model.QNamedPuzzleComponent)">QNamedPuzzleComponent</a></code></strong></div> |
| <div class="block">ELEMENT Definition only: Determine solely by child type and name |
| whether child is mandatory. |
| |
| <p>Here's why we're not using the child Definition object(s) for this: |
| An element often has a mandatory attribute, but two (or more) different content definitions |
| for this attribute. This is done by defining this attribute twice and creating a |
| CHOICE between both Definitions. If you'd ask whether one of these definitions is mandatory, |
| you'd always get false as answer as you have the choice between the two definitions. |
| Mostly this is not the answer you're looking for.</p> |
| |
| <p>Contract: If 'this' is a Collection, mandatory means mandatory for one member of 'this'.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/QNamedPuzzleComponent.html#isMandatory(schema2template.model.QNamedPuzzleComponent)">isMandatory</a></code> in interface <code><a href="../../schema2template/model/QNamedPuzzleComponent.html" title="interface in schema2template.model">QNamedPuzzleComponent</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>child</code> - The child Definition(s) of type ELEMENT or ATTRIBUTE</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true if child is a defined child of this and if it's mandatory. False otherwise.</dd></dl> |
| </li> |
| </ul> |
| <a name="getCollection()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCollection</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model">PuzzlePiece</a>> getCollection()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../schema2template/model/PuzzleComponent.html#getCollection()">PuzzleComponent</a></code></strong></div> |
| <div class="block">Method to treat NamedDefined as a Collection of PuzzlePiece</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/PuzzleComponent.html#getCollection()">getCollection</a></code> in interface <code><a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Collection of PuzzlePiece objects</dd></dl> |
| </li> |
| </ul> |
| <a name="getAttributes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttributes</h4> |
| <pre>public <a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a> getAttributes()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../schema2template/model/PuzzleComponent.html#getAttributes()">PuzzleComponent</a></code></strong></div> |
| <div class="block">ELEMENT PuzzlePiece only: Get all attribute Definitions</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/PuzzleComponent.html#getAttributes()">getAttributes</a></code> in interface <code><a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The attribute Definitions of this PuzzleComponent</dd></dl> |
| </li> |
| </ul> |
| <a name="getDatatypes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDatatypes</h4> |
| <pre>public <a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a> getDatatypes()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../schema2template/model/PuzzleComponent.html#getDatatypes()">PuzzleComponent</a></code></strong></div> |
| <div class="block">ATTRIBUTE PuzzlePiece only: Get all datatype Definitions</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/PuzzleComponent.html#getDatatypes()">getDatatypes</a></code> in interface <code><a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The datatype Definitions of this PuzzleComponent</dd></dl> |
| </li> |
| </ul> |
| <a name="getParents()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParents</h4> |
| <pre>public <a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a> getParents()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../schema2template/model/PuzzleComponent.html#getParents()">PuzzleComponent</a></code></strong></div> |
| <div class="block">Get all parent Definitions</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/PuzzleComponent.html#getParents()">getParents</a></code> in interface <code><a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The parent Definitions of this PuzzleComponent</dd></dl> |
| </li> |
| </ul> |
| <a name="getValues()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getValues</h4> |
| <pre>public <a href="../../schema2template/model/PuzzlePieceSet.html" title="class in schema2template.model">PuzzlePieceSet</a> getValues()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../schema2template/model/PuzzleComponent.html#getValues()">PuzzleComponent</a></code></strong></div> |
| <div class="block">ATTRIBUTE PuzzlePiece only: Get all value Definitions</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../schema2template/model/PuzzleComponent.html#getValues()">getValues</a></code> in interface <code><a href="../../schema2template/model/PuzzleComponent.html" title="interface in schema2template.model">PuzzleComponent</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The constant value Definitions of this PuzzleComponent</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/PuzzlePieceSet.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../schema2template/model/PuzzlePiece.html" title="class in schema2template.model"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../schema2template/model/QNamed.html" title="interface in schema2template.model"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../index.html?schema2template/model/PuzzlePieceSet.html" target="_top">Frames</a></li> |
| <li><a href="PuzzlePieceSet.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2010-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |