| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <title>Architecture</title> |
| <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="Architecture"; |
| } |
| //--> |
| </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="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../org/openqa/selenium/Alert.html" title="interface in org.openqa.selenium"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../org/openqa/selenium/Beta.html" title="annotation in org.openqa.selenium"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?org/openqa/selenium/Architecture.html" target="_top">Frames</a></li> |
| <li><a href="Architecture.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><a href="#enum_constant_summary">Enum Constants</a> | </li> |
| <li>Field | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#enum_constant_detail">Enum Constants</a> | </li> |
| <li>Field | </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">org.openqa.selenium</div> |
| <h2 title="Enum Architecture" class="title">Enum Architecture</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>java.lang.Enum<<a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a>></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.openqa.selenium.Architecture</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd>java.io.Serializable, java.lang.Comparable<<a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a>></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public enum <span class="strong">Architecture</span> |
| extends java.lang.Enum<<a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a>></pre> |
| <div class="block">Represents the known architectures used in WebDriver. It attempts to smooth over some of Java's |
| rough edges when dealing with microprocessor architectures by, for instance, allowing you to |
| query if a particular architecture is 32- or 64-bit.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/openqa/selenium/Platform.html" title="enum in org.openqa.selenium"><code>Platform</code></a></dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== ENUM CONSTANT SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="enum_constant_summary"> |
| <!-- --> |
| </a> |
| <h3>Enum Constant Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> |
| <caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Enum Constant and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#ANY">ANY</a></strong></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#ARM">ARM</a></strong></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#X64">X64</a></strong></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#X86">X86</a></strong></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>static <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#extractFromSysProperty(java.lang.String)">extractFromSysProperty</a></strong>(java.lang.String arch)</code> |
| <div class="block">Extracts architectures based on system properties in Java and a heuristic to overcome |
| differences between JDK implementations.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#getCurrent()">getCurrent</a></strong>()</code> |
| <div class="block">Gets current architecture.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#getDataModel()">getDataModel</a></strong>()</code> |
| <div class="block">Gets the data model of the architecture.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#is(org.openqa.selenium.Architecture)">is</a></strong>(<a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a> compareWith)</code> |
| <div class="block">Heuristic for comparing two architectures.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#toString()">toString</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String name)</code> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a>[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../org/openqa/selenium/Architecture.html#values()">values</a></strong>()</code> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Enum</h3> |
| <code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>getClass, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ ENUM CONSTANT DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="enum_constant_detail"> |
| <!-- --> |
| </a> |
| <h3>Enum Constant Detail</h3> |
| <a name="X86"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>X86</h4> |
| <pre>public static final <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a> X86</pre> |
| </li> |
| </ul> |
| <a name="X64"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>X64</h4> |
| <pre>public static final <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a> X64</pre> |
| </li> |
| </ul> |
| <a name="ARM"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ARM</h4> |
| <pre>public static final <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a> ARM</pre> |
| </li> |
| </ul> |
| <a name="ANY"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ANY</h4> |
| <pre>public static final <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a> ANY</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="values()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>values</h4> |
| <pre>public static <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a>[] values()</pre> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared. This method may be used to iterate |
| over the constants as follows: |
| <pre> |
| for (Architecture c : Architecture.values()) |
| System.out.println(c); |
| </pre></div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in |
| the order they are declared</dd></dl> |
| </li> |
| </ul> |
| <a name="valueOf(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>valueOf</h4> |
| <pre>public static <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a> valueOf(java.lang.String name)</pre> |
| <div class="block">Returns the enum constant of this type with the specified name. |
| The string must match <i>exactly</i> an identifier used to declare an |
| enum constant in this type. (Extraneous whitespace characters are |
| not permitted.)</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant |
| with the specified name</dd> |
| <dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl> |
| </li> |
| </ul> |
| <a name="is(org.openqa.selenium.Architecture)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>is</h4> |
| <pre>public boolean is(<a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a> compareWith)</pre> |
| <div class="block">Heuristic for comparing two architectures. If architectures are found to be in the same |
| "architecture family" (e.g. i386, i686, x86 and ia32 are considered related), they will match.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>compareWith</code> - the architecture to compare with</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true if architectures belong to the same architecture family, false otherwise</dd></dl> |
| </li> |
| </ul> |
| <a name="getDataModel()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDataModel</h4> |
| <pre>public int getDataModel()</pre> |
| <div class="block">Gets the data model of the architecture. The data model tells you how big memory addresses are |
| on the given microprocessor architecture.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>32- or 64-bit depending on architecture</dd></dl> |
| </li> |
| </ul> |
| <a name="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public java.lang.String toString()</pre> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code>toString</code> in class <code>java.lang.Enum<<a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCurrent()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCurrent</h4> |
| <pre>public static <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a> getCurrent()</pre> |
| <div class="block">Gets current architecture.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>current architecture</dd></dl> |
| </li> |
| </ul> |
| <a name="extractFromSysProperty(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>extractFromSysProperty</h4> |
| <pre>public static <a href="../../../org/openqa/selenium/Architecture.html" title="enum in org.openqa.selenium">Architecture</a> extractFromSysProperty(java.lang.String arch)</pre> |
| <div class="block">Extracts architectures based on system properties in Java and a heuristic to overcome |
| differences between JDK implementations. If not able to determine the operating system's |
| architecture, it will throw.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>arch</code> - the architecture name to determine the architecture of</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the most likely architecture based on the given architecture name</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code>java.lang.UnsupportedOperationException</code> - if the architecture given is unknown or unsupported</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="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../org/openqa/selenium/Alert.html" title="interface in org.openqa.selenium"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../org/openqa/selenium/Beta.html" title="annotation in org.openqa.selenium"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?org/openqa/selenium/Architecture.html" target="_top">Frames</a></li> |
| <li><a href="Architecture.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><a href="#enum_constant_summary">Enum Constants</a> | </li> |
| <li>Field | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#enum_constant_detail">Enum Constants</a> | </li> |
| <li>Field | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |