Added: poi/site/publish/apidocs/org/apache/poi/util/MethodUtils.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/util/MethodUtils.html?rev=1631441&view=auto ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/util/MethodUtils.html (added) +++ poi/site/publish/apidocs/org/apache/poi/util/MethodUtils.html Mon Oct 13 15:44:30 2014 @@ -0,0 +1,978 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<title>MethodUtils (POI API Documentation)</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="MethodUtils (POI API Documentation)"; + } +//--> +</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/MethodUtils.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-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/apache/poi/util/LZWDecompresser.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/poi/util/NullLogger.html" title="class in org.apache.poi.util"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/poi/util/MethodUtils.html" target="_top">Frames</a></li> +<li><a href="MethodUtils.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">org.apache.poi.util</div> +<h2 title="Class MethodUtils" class="title">Class MethodUtils</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.poi.util.MethodUtils</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">MethodUtils</span> +extends java.lang.Object</pre> +<div class="block"><p> Utility reflection methods focussed on methods in general rather than properties in particular. </p> + + <h3>Known Limitations</h3> + <h4>Accessing Public Methods In A Default Access Superclass</h4> + <p>There is an issue when invoking public methods contained in a default access superclass. + Reflection locates these methods fine and correctly assigns them as public. + However, an <code>IllegalAccessException</code> is thrown if the method is invoked.</p> + + <p><code>MethodUtils</code> contains a workaround for this situation. + It will attempt to call <code>setAccessible</code> on this method. + If this call succeeds, then the method can be invoked as normal. + This call will only succeed when the application has sufficient security privilages. + If this call fails then a warning will be logged and the method may fail.</p></div> +<dl><dt><span class="strong">Author:</span></dt> + <dd>Craig R. McClanahan, Ralph Schaer, Chris Audley, Rey François, Gregor Raýman, Jan Sorensen, Robert Burrell Donkin</dd></dl> +</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="../../../../org/apache/poi/util/MethodUtils.html#MethodUtils()">MethodUtils</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 java.lang.reflect.Method</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#getAccessibleMethod(java.lang.Class,%20java.lang.reflect.Method)">getAccessibleMethod</a></strong>(java.lang.Class clazz, + java.lang.reflect.Method method)</code> +<div class="block">Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.reflect.Method</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#getAccessibleMethod(java.lang.Class,%20java.lang.String,%20java.lang.Class)">getAccessibleMethod</a></strong>(java.lang.Class clazz, + java.lang.String methodName, + java.lang.Class parameterType)</code> +<div class="block">Return an accessible method (that is, one that can be invoked via + reflection) with given name and a single parameter.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.reflect.Method</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#getAccessibleMethod(java.lang.Class,%20java.lang.String,%20java.lang.Class[])">getAccessibleMethod</a></strong>(java.lang.Class clazz, + java.lang.String methodName, + java.lang.Class[] parameterTypes)</code> +<div class="block">Return an accessible method (that is, one that can be invoked via + reflection) with given name and parameters.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.reflect.Method</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#getAccessibleMethod(java.lang.reflect.Method)">getAccessibleMethod</a></strong>(java.lang.reflect.Method method)</code> +<div class="block">Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <T> java.lang.reflect.Constructor<T></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#getMatchingAccessibleConstructor(java.lang.Class,%20java.lang.Class[])">getMatchingAccessibleConstructor</a></strong>(java.lang.Class<T> clazz, + java.lang.Class[] parameterTypes)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.reflect.Method</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#getMatchingAccessibleMethod(java.lang.Class,%20java.lang.String,%20java.lang.Class[])">getMatchingAccessibleMethod</a></strong>(java.lang.Class clazz, + java.lang.String methodName, + java.lang.Class[] parameterTypes)</code> +<div class="block">Find an accessible method that matches the given name and has compatible parameters.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.Class</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#getPrimitiveType(java.lang.Class)">getPrimitiveType</a></strong>(java.lang.Class wrapperType)</code> +<div class="block">Gets the class for the primitive type corresponding to the primitive wrapper class given.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Class</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#getPrimitiveWrapper(java.lang.Class)">getPrimitiveWrapper</a></strong>(java.lang.Class primitiveType)</code> +<div class="block">Gets the wrapper object class for the given primitive type class.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object)">invokeExactMethod</a></strong>(java.lang.Object object, + java.lang.String methodName, + java.lang.Object arg)</code> +<div class="block">Invoke a method whose parameter type matches exactly the object + type.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[])">invokeExactMethod</a></strong>(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args)</code> +<div class="block">Invoke a method whose parameter types match exactly the object + types.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[],%20java.lang.Class[])">invokeExactMethod</a></strong>(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes)</code> +<div class="block">Invoke a method whose parameter types match exactly the parameter + types given.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactStaticMethod(java.lang.Class,%20java.lang.String,%20java.lang.Object)">invokeExactStaticMethod</a></strong>(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object arg)</code> +<div class="block">Invoke a static method whose parameter type matches exactly the object + type.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactStaticMethod(java.lang.Class,%20java.lang.String,%20java.lang.Object[])">invokeExactStaticMethod</a></strong>(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args)</code> +<div class="block">Invoke a static method whose parameter types match exactly the object + types.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactStaticMethod(java.lang.Class,%20java.lang.String,%20java.lang.Object[],%20java.lang.Class[])">invokeExactStaticMethod</a></strong>(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes)</code> +<div class="block">Invoke a static method whose parameter types match exactly the parameter + types given.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object)">invokeMethod</a></strong>(java.lang.Object object, + java.lang.String methodName, + java.lang.Object arg)</code> +<div class="block">Invoke a named method whose parameter type matches the object type.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[])">invokeMethod</a></strong>(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args)</code> +<div class="block">Invoke a named method whose parameter type matches the object type.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[],%20java.lang.Class[])">invokeMethod</a></strong>(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes)</code> +<div class="block">Invoke a named method whose parameter type matches the object type.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeStaticMethod(java.lang.Class,%20java.lang.String,%20java.lang.Object)">invokeStaticMethod</a></strong>(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object arg)</code> +<div class="block">Invoke a named static method whose parameter type matches the object type.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeStaticMethod(java.lang.Class,%20java.lang.String,%20java.lang.Object[])">invokeStaticMethod</a></strong>(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args)</code> +<div class="block">Invoke a named static method whose parameter type matches the object type.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#invokeStaticMethod(java.lang.Class,%20java.lang.String,%20java.lang.Object[],%20java.lang.Class[])">invokeStaticMethod</a></strong>(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes)</code> +<div class="block">Invoke a named static method whose parameter type matches the object type.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#isAssignmentCompatible(java.lang.Class,%20java.lang.Class)">isAssignmentCompatible</a></strong>(java.lang.Class parameterType, + java.lang.Class parameterization)</code> +<div class="block">Determine whether a type can be used as a parameter in a method invocation.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Class</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/MethodUtils.html#toNonPrimitiveClass(java.lang.Class)">toNonPrimitiveClass</a></strong>(java.lang.Class clazz)</code> +<div class="block">Find a non primitive representation for given primitive class.</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.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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="MethodUtils()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>MethodUtils</h4> +<pre>public MethodUtils()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="invokeMethod(java.lang.Object, java.lang.String, java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeMethod</h4> +<pre>public static java.lang.Object invokeMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object arg) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a named method whose parameter type matches the object type.</p> + + <p>The behaviour of this method is less deterministic + than <code>invokeExactMethod()</code>. + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.</p> + + <p>This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a <code>Boolean</code> class + would match a <code>boolean</code> primitive.</p> + + <p> This is a convenient wrapper for + <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[])"><code>invokeMethod(Object object,String methodName,Object [] args)</code></a>. + </p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - invoke method on this object</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>arg</code> - use this argument</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeMethod(java.lang.Object, java.lang.String, java.lang.Object[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeMethod</h4> +<pre>public static java.lang.Object invokeMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a named method whose parameter type matches the object type.</p> + + <p>The behaviour of this method is less deterministic + than <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[])"><code>invokeExactMethod(Object object,String methodName,Object [] args)</code></a>. + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.</p> + + <p>This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a <code>Boolean</code> class + would match a <code>boolean</code> primitive.</p> + + <p> This is a convenient wrapper for + <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[],%20java.lang.Class[])"><code>invokeMethod(Object object,String methodName,Object [] args,Class[] parameterTypes)</code></a>. + </p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - invoke method on this object</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>args</code> - use these arguments - treat null as empty array</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeMethod(java.lang.Object, java.lang.String, java.lang.Object[], java.lang.Class[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeMethod</h4> +<pre>public static java.lang.Object invokeMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a named method whose parameter type matches the object type.</p> + + <p>The behaviour of this method is less deterministic + than <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[],%20java.lang.Class[])"><code>invokeExactMethod(Object object,String methodName,Object [] args,Class[] parameterTypes)</code></a>. + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.</p> + + <p>This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a <code>Boolean</code> class + would match a <code>boolean</code> primitive.</p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - invoke method on this object</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>args</code> - use these arguments - treat null as empty array</dd><dd><code>parameterTypes</code> - match these parameters - treat null as empty array</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeExactMethod(java.lang.Object, java.lang.String, java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeExactMethod</h4> +<pre>public static java.lang.Object invokeExactMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object arg) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a method whose parameter type matches exactly the object + type.</p> + + <p> This is a convenient wrapper for + <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[])"><code>invokeExactMethod(Object object,String methodName,Object [] args)</code></a>. + </p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - invoke method on this object</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>arg</code> - use this argument</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeExactMethod(java.lang.Object, java.lang.String, java.lang.Object[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeExactMethod</h4> +<pre>public static java.lang.Object invokeExactMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a method whose parameter types match exactly the object + types.</p> + + <p> This uses reflection to invoke the method obtained from a call to + <code>getAccessibleMethod()</code>.</p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - invoke method on this object</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>args</code> - use these arguments - treat null as empty array</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeExactMethod(java.lang.Object, java.lang.String, java.lang.Object[], java.lang.Class[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeExactMethod</h4> +<pre>public static java.lang.Object invokeExactMethod(java.lang.Object object, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a method whose parameter types match exactly the parameter + types given.</p> + + <p>This uses reflection to invoke the method obtained from a call to + <code>getAccessibleMethod()</code>.</p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - invoke method on this object</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>args</code> - use these arguments - treat null as empty array</dd><dd><code>parameterTypes</code> - match these parameters - treat null as empty array</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeExactStaticMethod(java.lang.Class, java.lang.String, java.lang.Object[], java.lang.Class[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeExactStaticMethod</h4> +<pre>public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a static method whose parameter types match exactly the parameter + types given.</p> + + <p>This uses reflection to invoke the method obtained from a call to + <a href="../../../../org/apache/poi/util/MethodUtils.html#getAccessibleMethod(java.lang.Class,%20java.lang.String,%20java.lang.Class[])"><code>getAccessibleMethod(Class, String, Class[])</code></a>.</p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objectClass</code> - invoke static method on this class</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>args</code> - use these arguments - treat null as empty array</dd><dd><code>parameterTypes</code> - match these parameters - treat null as empty array</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeStaticMethod(java.lang.Class, java.lang.String, java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeStaticMethod</h4> +<pre>public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object arg) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a named static method whose parameter type matches the object type.</p> + + <p>The behaviour of this method is less deterministic + than <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[],%20java.lang.Class[])"><code>invokeExactMethod(Object, String, Object[], Class[])</code></a>. + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.</p> + + <p>This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a <code>Boolean</code> class + would match a <code>boolean</code> primitive.</p> + + <p> This is a convenient wrapper for + <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeStaticMethod(java.lang.Class,%20java.lang.String,%20java.lang.Object[])"><code>invokeStaticMethod(Class objectClass,String methodName,Object [] args)</code></a>. + </p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objectClass</code> - invoke static method on this class</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>arg</code> - use this argument</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeStaticMethod(java.lang.Class, java.lang.String, java.lang.Object[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeStaticMethod</h4> +<pre>public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a named static method whose parameter type matches the object type.</p> + + <p>The behaviour of this method is less deterministic + than <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[])"><code>invokeExactMethod(Object object,String methodName,Object [] args)</code></a>. + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.</p> + + <p>This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a <code>Boolean</code> class + would match a <code>boolean</code> primitive.</p> + + <p> This is a convenient wrapper for + <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeStaticMethod(java.lang.Class,%20java.lang.String,%20java.lang.Object[],%20java.lang.Class[])"><code>invokeStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes)</code></a>. + </p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objectClass</code> - invoke static method on this class</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>args</code> - use these arguments - treat null as empty array</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeStaticMethod(java.lang.Class, java.lang.String, java.lang.Object[], java.lang.Class[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeStaticMethod</h4> +<pre>public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args, + java.lang.Class[] parameterTypes) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a named static method whose parameter type matches the object type.</p> + + <p>The behaviour of this method is less deterministic + than <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactStaticMethod(java.lang.Class,%20java.lang.String,%20java.lang.Object[],%20java.lang.Class[])"><code>invokeExactStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes)</code></a>. + It loops through all methods with names that match + and then executes the first it finds with compatable parameters.</p> + + <p>This method supports calls to methods taking primitive parameters + via passing in wrapping classes. So, for example, a <code>Boolean</code> class + would match a <code>boolean</code> primitive.</p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objectClass</code> - invoke static method on this class</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>args</code> - use these arguments - treat null as empty array</dd><dd><code>parameterTypes</code> - match these parameters - treat null as empty array</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeExactStaticMethod(java.lang.Class, java.lang.String, java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeExactStaticMethod</h4> +<pre>public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object arg) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a static method whose parameter type matches exactly the object + type.</p> + + <p> This is a convenient wrapper for + <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeExactStaticMethod(java.lang.Class,%20java.lang.String,%20java.lang.Object[])"><code>invokeExactStaticMethod(Class objectClass,String methodName,Object [] args)</code></a>. + </p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objectClass</code> - invoke static method on this class</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>arg</code> - use this argument</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="invokeExactStaticMethod(java.lang.Class, java.lang.String, java.lang.Object[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invokeExactStaticMethod</h4> +<pre>public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass, + java.lang.String methodName, + java.lang.Object[] args) + throws java.lang.NoSuchMethodException, + java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException</pre> +<div class="block"><p>Invoke a static method whose parameter types match exactly the object + types.</p> + + <p> This uses reflection to invoke the method obtained from a call to + <a href="../../../../org/apache/poi/util/MethodUtils.html#getAccessibleMethod(java.lang.Class,%20java.lang.String,%20java.lang.Class[])"><code>getAccessibleMethod(Class, String, Class[])</code></a>.</p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objectClass</code> - invoke static method on this class</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>args</code> - use these arguments - treat null as empty array</dd> +<dt><span class="strong">Returns:</span></dt><dd>The value returned by the invoked method</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.NoSuchMethodException</code> - if there is no such accessible method</dd> +<dd><code>java.lang.reflect.InvocationTargetException</code> - wraps an exception thrown by the + method invoked</dd> +<dd><code>java.lang.IllegalAccessException</code> - if the requested method is not accessible + via reflection</dd></dl> +</li> +</ul> +<a name="getAccessibleMethod(java.lang.Class, java.lang.String, java.lang.Class)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAccessibleMethod</h4> +<pre>public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz, + java.lang.String methodName, + java.lang.Class parameterType)</pre> +<div class="block"><p>Return an accessible method (that is, one that can be invoked via + reflection) with given name and a single parameter. If no such method + can be found, return <code>null</code>. + Basically, a convenience wrapper that constructs a <code>Class</code> + array for you.</p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - get method from this class</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>parameterType</code> - taking this type of parameter</dd> +<dt><span class="strong">Returns:</span></dt><dd>The accessible method</dd></dl> +</li> +</ul> +<a name="getAccessibleMethod(java.lang.Class, java.lang.String, java.lang.Class[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAccessibleMethod</h4> +<pre>public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz, + java.lang.String methodName, + java.lang.Class[] parameterTypes)</pre> +<div class="block"><p>Return an accessible method (that is, one that can be invoked via + reflection) with given name and parameters. If no such method + can be found, return <code>null</code>. + This is just a convenient wrapper for + <a href="../../../../org/apache/poi/util/MethodUtils.html#getAccessibleMethod(java.lang.reflect.Method)"><code>getAccessibleMethod(Method method)</code></a>.</p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - get method from this class</dd><dd><code>methodName</code> - get method with this name</dd><dd><code>parameterTypes</code> - with these parameters types</dd> +<dt><span class="strong">Returns:</span></dt><dd>The accessible method</dd></dl> +</li> +</ul> +<a name="getAccessibleMethod(java.lang.reflect.Method)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAccessibleMethod</h4> +<pre>public static java.lang.reflect.Method getAccessibleMethod(java.lang.reflect.Method method)</pre> +<div class="block"><p>Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method. If no such method + can be found, return <code>null</code>.</p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>method</code> - The method that we wish to call</dd> +<dt><span class="strong">Returns:</span></dt><dd>The accessible method</dd></dl> +</li> +</ul> +<a name="getAccessibleMethod(java.lang.Class, java.lang.reflect.Method)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAccessibleMethod</h4> +<pre>public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz, + java.lang.reflect.Method method)</pre> +<div class="block"><p>Return an accessible method (that is, one that can be invoked via + reflection) that implements the specified Method. If no such method + can be found, return <code>null</code>.</p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - The class of the object</dd><dd><code>method</code> - The method that we wish to call</dd> +<dt><span class="strong">Returns:</span></dt><dd>The accessible method</dd></dl> +</li> +</ul> +<a name="getMatchingAccessibleMethod(java.lang.Class, java.lang.String, java.lang.Class[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMatchingAccessibleMethod</h4> +<pre>public static java.lang.reflect.Method getMatchingAccessibleMethod(java.lang.Class clazz, + java.lang.String methodName, + java.lang.Class[] parameterTypes)</pre> +<div class="block"><p>Find an accessible method that matches the given name and has compatible parameters. + Compatible parameters mean that every method parameter is assignable from + the given parameters. + In other words, it finds a method with the given name + that will take the parameters given.<p> + + <p>This method is slightly undeterminstic since it loops + through methods names and return the first matching method.</p> + + <p>This method is used by + <a href="../../../../org/apache/poi/util/MethodUtils.html#invokeMethod(java.lang.Object,%20java.lang.String,%20java.lang.Object[],%20java.lang.Class[])"><code>invokeMethod(Object object,String methodName,Object [] args,Class[] parameterTypes)</code></a>. + + <p>This method can match primitive parameter by passing in wrapper classes. + For example, a <code>Boolean</code> will match a primitive <code>boolean</code> + parameter.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - find method in this class</dd><dd><code>methodName</code> - find method with this name</dd><dd><code>parameterTypes</code> - find method with compatible parameters</dd> +<dt><span class="strong">Returns:</span></dt><dd>The accessible method</dd></dl> +</li> +</ul> +<a name="getMatchingAccessibleConstructor(java.lang.Class, java.lang.Class[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMatchingAccessibleConstructor</h4> +<pre>public static <T> java.lang.reflect.Constructor<T> getMatchingAccessibleConstructor(java.lang.Class<T> clazz, + java.lang.Class[] parameterTypes)</pre> +</li> +</ul> +<a name="isAssignmentCompatible(java.lang.Class, java.lang.Class)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isAssignmentCompatible</h4> +<pre>public static final boolean isAssignmentCompatible(java.lang.Class parameterType, + java.lang.Class parameterization)</pre> +<div class="block"><p>Determine whether a type can be used as a parameter in a method invocation. + This method handles primitive conversions correctly.</p> + + <p>In order words, it will match a <code>Boolean</code> to a <code>boolean</code>, + a <code>Long</code> to a <code>long</code>, + a <code>Float</code> to a <code>float</code>, + a <code>Integer</code> to a <code>int</code>, + and a <code>Double</code> to a <code>double</code>. + Now logic widening matches are allowed. + For example, a <code>Long</code> will not match a <code>int</code>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>parameterType</code> - the type of parameter accepted by the method</dd><dd><code>parameterization</code> - the type of parameter being tested</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if the assignement is compatible.</dd></dl> +</li> +</ul> +<a name="getPrimitiveWrapper(java.lang.Class)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPrimitiveWrapper</h4> +<pre>public static java.lang.Class getPrimitiveWrapper(java.lang.Class primitiveType)</pre> +<div class="block">Gets the wrapper object class for the given primitive type class. + For example, passing <code>boolean.class</code> returns <code>Boolean.class</code></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - the primitive type class for which a match is to be found</dd> +<dt><span class="strong">Returns:</span></dt><dd>the wrapper type associated with the given primitive + or null if no match is found</dd></dl> +</li> +</ul> +<a name="getPrimitiveType(java.lang.Class)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPrimitiveType</h4> +<pre>public static java.lang.Class getPrimitiveType(java.lang.Class wrapperType)</pre> +<div class="block">Gets the class for the primitive type corresponding to the primitive wrapper class given. + For example, an instance of <code>Boolean.class</code> returns a <code>boolean.class</code>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>wrapperType</code> - the</dd> +<dt><span class="strong">Returns:</span></dt><dd>the primitive type class corresponding to the given wrapper class, + null if no match is found</dd></dl> +</li> +</ul> +<a name="toNonPrimitiveClass(java.lang.Class)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toNonPrimitiveClass</h4> +<pre>public static java.lang.Class toNonPrimitiveClass(java.lang.Class clazz)</pre> +<div class="block">Find a non primitive representation for given primitive class.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - the class to find a representation for, not null</dd> +<dt><span class="strong">Returns:</span></dt><dd>the original class if it not a primitive. Otherwise the wrapper class. Not null</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/MethodUtils.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-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/apache/poi/util/LZWDecompresser.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/poi/util/NullLogger.html" title="class in org.apache.poi.util"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/poi/util/MethodUtils.html" target="_top">Frames</a></li> +<li><a href="MethodUtils.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> + <i>Copyright 2014 The Apache Software Foundation or + its licensors, as applicable.</i> + </small></p> +</body> +</html>
Modified: poi/site/publish/apidocs/org/apache/poi/util/NullLogger.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/util/NullLogger.html?rev=1631441&r1=1631440&r2=1631441&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/util/NullLogger.html (original) +++ poi/site/publish/apidocs/org/apache/poi/util/NullLogger.html Mon Oct 13 15:44:30 2014 @@ -34,7 +34,7 @@ </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../org/apache/poi/util/LZWDecompresser.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/poi/util/MethodUtils.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../org/apache/poi/util/OOXMLLite.html" title="class in org.apache.poi.util"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> @@ -922,7 +922,7 @@ extends <a href="../../../../org/apache/ </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../org/apache/poi/util/LZWDecompresser.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/poi/util/MethodUtils.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../org/apache/poi/util/OOXMLLite.html" title="class in org.apache.poi.util"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> Modified: poi/site/publish/apidocs/org/apache/poi/util/XMLHelper.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/util/XMLHelper.html?rev=1631441&r1=1631440&r2=1631441&view=diff ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/util/XMLHelper.html (original) +++ poi/site/publish/apidocs/org/apache/poi/util/XMLHelper.html Mon Oct 13 15:44:30 2014 @@ -35,7 +35,7 @@ <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/apache/poi/util/Units.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> -<li>Next Class</li> +<li><a href="../../../../org/apache/poi/util/XmlSort.html" title="class in org.apache.poi.util"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/poi/util/XMLHelper.html" target="_top">Frames</a></li> @@ -215,7 +215,7 @@ extends java.lang.Object</pre> <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/apache/poi/util/Units.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> -<li>Next Class</li> +<li><a href="../../../../org/apache/poi/util/XmlSort.html" title="class in org.apache.poi.util"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/poi/util/XMLHelper.html" target="_top">Frames</a></li> Added: poi/site/publish/apidocs/org/apache/poi/util/XmlSort.QNameComparator.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/util/XmlSort.QNameComparator.html?rev=1631441&view=auto ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/util/XmlSort.QNameComparator.html (added) +++ poi/site/publish/apidocs/org/apache/poi/util/XmlSort.QNameComparator.html Mon Oct 13 15:44:30 2014 @@ -0,0 +1,336 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<title>XmlSort.QNameComparator (POI API Documentation)</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="XmlSort.QNameComparator (POI API Documentation)"; + } +//--> +</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/XmlSort.QNameComparator.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-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/apache/poi/util/XmlSort.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/poi/util/XmlSort.QNameComparator.html" target="_top">Frames</a></li> +<li><a href="XmlSort.QNameComparator.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="#field_summary">Field</a> | </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><a href="#field_detail">Field</a> | </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">org.apache.poi.util</div> +<h2 title="Class XmlSort.QNameComparator" class="title">Class XmlSort.QNameComparator</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.poi.util.XmlSort.QNameComparator</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.util.Comparator</dd> +</dl> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../org/apache/poi/util/XmlSort.html" title="class in org.apache.poi.util">XmlSort</a></dd> +</dl> +<hr> +<br> +<pre>public static final class <span class="strong">XmlSort.QNameComparator</span> +extends java.lang.Object +implements java.util.Comparator</pre> +<div class="block">Implements a <code>java.util.Comparator</code> for comparing <code>QName</code>values. + The namespace URIs are compared first and if they are equal, the local parts are compared. + <p/> + The constructor accepts an argument indicating whether the comparison order is the same as + the lexicographic order of the strings or the reverse.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/XmlSort.QNameComparator.html#ASCENDING">ASCENDING</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/XmlSort.QNameComparator.html#DESCENDING">DESCENDING</a></strong></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== 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="../../../../org/apache/poi/util/XmlSort.QNameComparator.html#XmlSort.QNameComparator(int)">XmlSort.QNameComparator</a></strong>(int order)</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>int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/XmlSort.QNameComparator.html#compare(java.lang.Object,%20java.lang.Object)">compare</a></strong>(java.lang.Object o, + java.lang.Object o1)</code> </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.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.util.Comparator"> +<!-- --> +</a> +<h3>Methods inherited from interface java.util.Comparator</h3> +<code>equals</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="ASCENDING"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ASCENDING</h4> +<pre>public static final int ASCENDING</pre> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.poi.util.XmlSort.QNameComparator.ASCENDING">Constant Field Values</a></dd></dl> +</li> +</ul> +<a name="DESCENDING"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>DESCENDING</h4> +<pre>public static final int DESCENDING</pre> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.poi.util.XmlSort.QNameComparator.DESCENDING">Constant Field Values</a></dd></dl> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="XmlSort.QNameComparator(int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>XmlSort.QNameComparator</h4> +<pre>public XmlSort.QNameComparator(int order)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="compare(java.lang.Object, java.lang.Object)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>compare</h4> +<pre>public int compare(java.lang.Object o, + java.lang.Object o1)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>compare</code> in interface <code>java.util.Comparator</code></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/XmlSort.QNameComparator.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-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/apache/poi/util/XmlSort.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/poi/util/XmlSort.QNameComparator.html" target="_top">Frames</a></li> +<li><a href="XmlSort.QNameComparator.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="#field_summary">Field</a> | </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><a href="#field_detail">Field</a> | </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> + <i>Copyright 2014 The Apache Software Foundation or + its licensors, as applicable.</i> + </small></p> +</body> +</html> Added: poi/site/publish/apidocs/org/apache/poi/util/XmlSort.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/util/XmlSort.html?rev=1631441&view=auto ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/util/XmlSort.html (added) +++ poi/site/publish/apidocs/org/apache/poi/util/XmlSort.html Mon Oct 13 15:44:30 2014 @@ -0,0 +1,317 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<title>XmlSort (POI API Documentation)</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="XmlSort (POI API Documentation)"; + } +//--> +</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/XmlSort.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-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/apache/poi/util/XMLHelper.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/poi/util/XmlSort.QNameComparator.html" title="class in org.apache.poi.util"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/poi/util/XmlSort.html" target="_top">Frames</a></li> +<li><a href="XmlSort.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><a href="#nested_class_summary">Nested</a> | </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">org.apache.poi.util</div> +<h2 title="Class XmlSort" class="title">Class XmlSort</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.poi.util.XmlSort</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public final class <span class="strong">XmlSort</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/XmlSort.QNameComparator.html" title="class in org.apache.poi.util">XmlSort.QNameComparator</a></strong></code> +<div class="block">Implements a <code>java.util.Comparator</code> for comparing <code>QName</code>values.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ======== 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="../../../../org/apache/poi/util/XmlSort.html#XmlSort()">XmlSort</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 void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/XmlSort.html#main(java.lang.String[])">main</a></strong>(java.lang.String[] args)</code> +<div class="block">Receives an XML element instance and sorts the children of this + element in lexicographical (by default) order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/poi/util/XmlSort.html#sort(org.apache.xmlbeans.XmlObject,%20java.util.Comparator)">sort</a></strong>(org.apache.xmlbeans.XmlObject element, + java.util.Comparator<org.apache.xmlbeans.XmlCursor> comp)</code> +<div class="block">Sorts the children of <code>element</code> according to the order indicated by the + comparator.</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.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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="XmlSort()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>XmlSort</h4> +<pre>public XmlSort()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="main(java.lang.String[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>main</h4> +<pre>public static void main(java.lang.String[] args)</pre> +<div class="block">Receives an XML element instance and sorts the children of this + element in lexicographical (by default) order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>args</code> - An array in which the first item is a + path to the XML instance file and the second item (optional) is + an XPath inside the document identifying the element to be sorted</dd></dl> +</li> +</ul> +<a name="sort(org.apache.xmlbeans.XmlObject, java.util.Comparator)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>sort</h4> +<pre>public static void sort(org.apache.xmlbeans.XmlObject element, + java.util.Comparator<org.apache.xmlbeans.XmlCursor> comp)</pre> +<div class="block">Sorts the children of <code>element</code> according to the order indicated by the + comparator.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - the element whose content is to be sorted. Only element children are sorted, + attributes are not touched. When elements are reordered, all the text, comments and PIs + follow the element that they come immediately after.</dd><dd><code>comp</code> - a comparator that is to be used when comparing the <code>QName</code>s of two + elements. See <a href="../../../../org/apache/poi/util/XmlSort.QNameComparator.html" title="class in org.apache.poi.util"><code>XmlSort.QNameComparator</code></a> for a simple + implementation that compares two elements based on the value of their QName, but more + complicated implementations are possible, for instance, ones that compare two elements based + on the value of a specifc attribute etc.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - if the input <code>XmlObject</code> does not represent + an element</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/XmlSort.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-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/apache/poi/util/XMLHelper.html" title="class in org.apache.poi.util"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/poi/util/XmlSort.QNameComparator.html" title="class in org.apache.poi.util"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/poi/util/XmlSort.html" target="_top">Frames</a></li> +<li><a href="XmlSort.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><a href="#nested_class_summary">Nested</a> | </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> + <i>Copyright 2014 The Apache Software Foundation or + its licensors, as applicable.</i> + </small></p> +</body> +</html> Added: poi/site/publish/apidocs/org/apache/poi/util/class-use/MethodUtils.html URL: http://svn.apache.org/viewvc/poi/site/publish/apidocs/org/apache/poi/util/class-use/MethodUtils.html?rev=1631441&view=auto ============================================================================== --- poi/site/publish/apidocs/org/apache/poi/util/class-use/MethodUtils.html (added) +++ poi/site/publish/apidocs/org/apache/poi/util/class-use/MethodUtils.html Mon Oct 13 15:44:30 2014 @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<title>Uses of Class org.apache.poi.util.MethodUtils (POI API Documentation)</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="Uses of Class org.apache.poi.util.MethodUtils (POI API Documentation)"; + } +//--> +</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><a href="../../../../../org/apache/poi/util/MethodUtils.html" title="class in org.apache.poi.util">Class</a></li> +<li class="navBarCell1Rev">Use</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>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/poi/util/class-use/MethodUtils.html" target="_top">Frames</a></li> +<li><a href="MethodUtils.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> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h2 title="Uses of Class org.apache.poi.util.MethodUtils" class="title">Uses of Class<br>org.apache.poi.util.MethodUtils</h2> +</div> +<div class="classUseContainer">No usage of org.apache.poi.util.MethodUtils</div> +<!-- ======= 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><a href="../../../../../org/apache/poi/util/MethodUtils.html" title="class in org.apache.poi.util">Class</a></li> +<li class="navBarCell1Rev">Use</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>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/poi/util/class-use/MethodUtils.html" target="_top">Frames</a></li> +<li><a href="MethodUtils.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> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small> + <i>Copyright 2014 The Apache Software Foundation or + its licensors, as applicable.</i> + </small></p> +</body> +</html> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
