blob: 3308b024e181d6942987e61bb3da1a713f51b04c [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc -->
<title>UploadPartField (Fulcrum Intake Service 2.0.1-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UploadPartField (Fulcrum Intake Service 2.0.1-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/UploadPartField.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" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.fulcrum.intake.model</a></div>
<h2 title="Class UploadPartField" class="title">Class UploadPartField</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="Field.html" title="class in org.apache.fulcrum.intake.model">org.apache.fulcrum.intake.model.Field</a>&lt;<a href="https://docs.oracle.com/javaee/7/api/javax/servlet/http/Part.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink">Part</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.apache.fulcrum.intake.model.UploadPartField</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code>org.apache.avalon.framework.logger.LogEnabled</code></dd>
</dl>
<hr>
<pre>public class <a href="../../../../../src-html/org/apache/fulcrum/intake/model/UploadPartField.html#line.37">UploadPartField</a>
extends <a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a>&lt;<a href="https://docs.oracle.com/javaee/7/api/javax/servlet/http/Part.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink">Part</a>&gt;</pre>
<dl>
<dt><span class="simpleTagLabel">Version:</span></dt>
<dd>$Id$</dd>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd><a href="mailto:jmcnally@collab.net">John McNally</a>, <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a>, <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../serialized-form.html#org.apache.fulcrum.intake.model.UploadPartField">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.fulcrum.intake.model.Field">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.fulcrum.intake.model.<a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a></h3>
<code><a href="Field.html#defaultFieldPackage">defaultFieldPackage</a>, <a href="Field.html#defaultValidatorPackage">defaultValidatorPackage</a>, <a href="Field.html#defaultValue">defaultValue</a>, <a href="Field.html#emptyValue">emptyValue</a>, <a href="Field.html#log">log</a>, <a href="Field.html#mapToObject">mapToObject</a>, <a href="Field.html#parser">parser</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.fulcrum.intake.model.XmlField,org.apache.fulcrum.intake.model.Group)">UploadPartField</a></span>&#8203;(<a href="XmlField.html" title="class in org.apache.fulcrum.intake.model">XmlField</a>&nbsp;field,
<a href="Group.html" title="class in org.apache.fulcrum.intake.model">Group</a>&nbsp;group)</code></th>
<td class="colLast">
<div class="block">Constructor.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doSetValue()">doSetValue</a></span>()</code></th>
<td class="colLast">
<div class="block">Sets the value of the field from data in the parser.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultValidator()">getDefaultValidator</a></span>()</code></th>
<td class="colLast">
<div class="block">A suitable validator.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a>&lt;<a href="https://docs.oracle.com/javaee/7/api/javax/servlet/http/Part.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink">Part</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#init(org.apache.fulcrum.parser.ValueParser)">init</a></span>&#8203;(org.apache.fulcrum.parser.ValueParser&nbsp;vp)</code></th>
<td class="colLast">
<div class="block">Method called when this field (the group it belongs to) is
pulled from the pool.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultValue(java.lang.String)">setDefaultValue</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;prop)</code></th>
<td class="colLast">
<div class="block">It is not possible to set the default value for this field type.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setEmptyValue(java.lang.String)">setEmptyValue</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;prop)</code></th>
<td class="colLast">
<div class="block">It is not possible to set the empty value for this field type.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#validate()">validate</a></span>()</code></th>
<td class="colLast">
<div class="block">Compares request data with constraints and sets the valid flag.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.fulcrum.intake.model.Field">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.fulcrum.intake.model.<a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a></h3>
<code><a href="Field.html#dispose()">dispose</a>, <a href="Field.html#enableLogging(org.apache.avalon.framework.logger.Logger)">enableLogging</a>, <a href="Field.html#getDefault()">getDefault</a>, <a href="Field.html#getDefaultValue()">getDefaultValue</a>, <a href="Field.html#getDisplayName()">getDisplayName</a>, <a href="Field.html#getDisplaySize()">getDisplaySize</a>, <a href="Field.html#getEmptyValue()">getEmptyValue</a>, <a href="Field.html#getGroup()">getGroup</a>, <a href="Field.html#getHTMLString()">getHTMLString</a>, <a href="Field.html#getInitialValue()">getInitialValue</a>, <a href="Field.html#getKey()">getKey</a>, <a href="Field.html#getLocale()">getLocale</a>, <a href="Field.html#getMapToObject()">getMapToObject</a>, <a href="Field.html#getMaxSize()">getMaxSize</a>, <a href="Field.html#getMessage()">getMessage</a>, <a href="Field.html#getName()">getName</a>, <a href="Field.html#getProperty(java.lang.Object)">getProperty</a>, <a href="Field.html#getSafeEmptyValue()">getSafeEmptyValue</a>, <a href="Field.html#getStringValue()">getStringValue</a>, <a href="Field.html#getTestValue()">getTestValue</a>, <a href="Field.html#getValidator()">getValidator</a>, <a href="Field.html#getValue()">getValue</a>, <a href="Field.html#getValueIfAbsent()">getValueIfAbsent</a>, <a href="Field.html#init(org.apache.fulcrum.intake.Retrievable)">init</a>, <a href="Field.html#initGetterAndSetter()">initGetterAndSetter</a>, <a href="Field.html#isMultiValued()">isMultiValued</a>, <a href="Field.html#isRequired()">isRequired</a>, <a href="Field.html#isSet()">isSet</a>, <a href="Field.html#isValid()">isValid</a>, <a href="Field.html#isValidated()">isValidated</a>, <a href="Field.html#removeFromRequest()">removeFromRequest</a>, <a href="Field.html#setDisplayName(java.lang.String)">setDisplayName</a>, <a href="Field.html#setMessage(java.lang.String)">setMessage</a>, <a href="Field.html#setProperty(java.lang.Object)">setProperty</a>, <a href="Field.html#setRequired(boolean)">setRequired</a>, <a href="Field.html#setRequired(boolean,java.lang.String)">setRequired</a>, <a href="Field.html#setSet(boolean)">setSet</a>, <a href="Field.html#setValid(boolean)">setValid</a>, <a href="Field.html#setValidated(boolean)">setValidated</a>, <a href="Field.html#toString()">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(org.apache.fulcrum.intake.model.XmlField,org.apache.fulcrum.intake.model.Group)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>UploadPartField</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/fulcrum/intake/model/UploadPartField.html#line.50">UploadPartField</a>&#8203;(<a href="XmlField.html" title="class in org.apache.fulcrum.intake.model">XmlField</a>&nbsp;field,
<a href="Group.html" title="class in org.apache.fulcrum.intake.model">Group</a>&nbsp;group)
throws <a href="../IntakeException.html" title="class in org.apache.fulcrum.intake">IntakeException</a></pre>
<div class="block">Constructor.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>field</code> - xml field definition object</dd>
<dd><code>group</code> - xml group definition object</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../IntakeException.html" title="class in org.apache.fulcrum.intake">IntakeException</a></code> - thrown by superclass</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="setDefaultValue(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultValue</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/fulcrum/intake/model/UploadPartField.html#line.64">setDefaultValue</a>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;prop)</pre>
<div class="block">It is not possible to set the default value for this field type.
Calling this method with a non-null parameter will result in a
IntakeRuntimeException</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Field.html#setDefaultValue(java.lang.String)">setDefaultValue</a></code>&nbsp;in class&nbsp;<code><a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a>&lt;<a href="https://docs.oracle.com/javaee/7/api/javax/servlet/http/Part.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink">Part</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>prop</code> - Parameter for the default values</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../IntakeRuntimeException.html" title="class in org.apache.fulcrum.intake">IntakeRuntimeException</a></code> - if the parameter is not null</dd>
</dl>
</li>
</ul>
<a id="setEmptyValue(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEmptyValue</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/fulcrum/intake/model/UploadPartField.html#line.85">setEmptyValue</a>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;prop)</pre>
<div class="block">It is not possible to set the empty value for this field type.
Calling this method with a non-null parameter will result in a
IntakeRuntimeException</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Field.html#setEmptyValue(java.lang.String)">setEmptyValue</a></code>&nbsp;in class&nbsp;<code><a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a>&lt;<a href="https://docs.oracle.com/javaee/7/api/javax/servlet/http/Part.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink">Part</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>prop</code> - Parameter for the empty values</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../IntakeRuntimeException.html" title="class in org.apache.fulcrum.intake">IntakeRuntimeException</a></code> - if the parameter is not null</dd>
</dl>
</li>
</ul>
<a id="getDefaultValidator()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultValidator</h4>
<pre class="methodSignature">protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;<a href="../../../../../src-html/org/apache/fulcrum/intake/model/UploadPartField.html#line.103">getDefaultValidator</a>()</pre>
<div class="block">A suitable validator.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Field.html#getDefaultValidator()">getDefaultValidator</a></code>&nbsp;in class&nbsp;<code><a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a>&lt;<a href="https://docs.oracle.com/javaee/7/api/javax/servlet/http/Part.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink">Part</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A suitable validator</dd>
</dl>
</li>
</ul>
<a id="init(org.apache.fulcrum.parser.ValueParser)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre class="methodSignature">public&nbsp;<a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a>&lt;<a href="https://docs.oracle.com/javaee/7/api/javax/servlet/http/Part.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink">Part</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/fulcrum/intake/model/UploadPartField.html#line.119">init</a>&#8203;(org.apache.fulcrum.parser.ValueParser&nbsp;vp)
throws <a href="../IntakeException.html" title="class in org.apache.fulcrum.intake">IntakeException</a></pre>
<div class="block">Method called when this field (the group it belongs to) is
pulled from the pool. The request data is searched to determine
if a value has been supplied for this field. if so, the value
is validated.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Field.html#init(org.apache.fulcrum.parser.ValueParser)">init</a></code>&nbsp;in class&nbsp;<code><a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a>&lt;<a href="https://docs.oracle.com/javaee/7/api/javax/servlet/http/Part.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink">Part</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>vp</code> - a <code>ValueParser</code> value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <code>Field</code> value</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../IntakeException.html" title="class in org.apache.fulcrum.intake">IntakeException</a></code> - if an error occurs</dd>
</dl>
</li>
</ul>
<a id="validate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validate</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/fulcrum/intake/model/UploadPartField.html#line.145">validate</a>()</pre>
<div class="block">Compares request data with constraints and sets the valid flag.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Field.html#validate()">validate</a></code>&nbsp;in class&nbsp;<code><a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a>&lt;<a href="https://docs.oracle.com/javaee/7/api/javax/servlet/http/Part.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink">Part</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the valid flag</dd>
</dl>
</li>
</ul>
<a id="doSetValue()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>doSetValue</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/fulcrum/intake/model/UploadPartField.html#line.215">doSetValue</a>()</pre>
<div class="block">Sets the value of the field from data in the parser.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Field.html#doSetValue()">doSetValue</a></code>&nbsp;in class&nbsp;<code><a href="Field.html" title="class in org.apache.fulcrum.intake.model">Field</a>&lt;<a href="https://docs.oracle.com/javaee/7/api/javax/servlet/http/Part.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink">Part</a>&gt;</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/UploadPartField.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" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2005&#x2013;2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>