blob: 5b06e4abd91d789a4ea29e7fcc4ee1fe111ef9b7 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AbstractXOPType (Apache CXF JavaDoc 3.4.5 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractXOPType (Apache CXF JavaDoc 3.4.5 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":6,"i2":6,"i3":6,"i4":6,"i5":10,"i6":10,"i7":10,"i8":6,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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/AbstractXOPType.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 class="aboutLanguage">Apache CXF API</div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AttachmentUtil.html" title="class in org.apache.cxf.aegis.type.mtom"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/cxf/aegis/type/mtom/AbstractXOPType.html" target="_top">Frames</a></li>
<li><a href="AbstractXOPType.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;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:&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><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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.cxf.aegis.type.mtom</div>
<h2 title="Class AbstractXOPType" class="title">Class AbstractXOPType</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">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html" title="class in org.apache.cxf.aegis.type">org.apache.cxf.aegis.type.AegisType</a></li>
<li>
<ul class="inheritance">
<li>org.apache.cxf.aegis.type.mtom.AbstractXOPType</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../org/apache/cxf/aegis/type/mtom/ByteArrayType.html" title="class in org.apache.cxf.aegis.type.mtom">ByteArrayType</a>, <a href="../../../../../../org/apache/cxf/aegis/type/mtom/DataHandlerType.html" title="class in org.apache.cxf.aegis.type.mtom">DataHandlerType</a>, <a href="../../../../../../org/apache/cxf/aegis/type/mtom/DataSourceType.html" title="class in org.apache.cxf.aegis.type.mtom">DataSourceType</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractXOPType</span>
extends <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html" title="class in org.apache.cxf.aegis.type">AegisType</a></pre>
<div class="block">Base class for MtoM types.</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#XML_MIME_ATTR_LOCAL_NAME">XML_MIME_ATTR_LOCAL_NAME</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#XML_MIME_BASE64">XML_MIME_BASE64</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#XML_MIME_CONTENT_TYPE">XML_MIME_CONTENT_TYPE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#XML_MIME_NS">XML_MIME_NS</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#XOP_HREF">XOP_HREF</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#XOP_INCLUDE">XOP_INCLUDE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#XOP_NS">XOP_NS</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.cxf.aegis.type.AegisType">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.cxf.aegis.type.<a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html" title="class in org.apache.cxf.aegis.type">AegisType</a></h3>
<code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#typeClass">typeClass</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#AbstractXOPType-boolean-java.lang.String-">AbstractXOPType</a></span>(boolean&nbsp;useXmimeBinaryType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;expectedContentTypes)</code>
<div class="block">Create an XOP type.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#addToSchemaElement-org.apache.ws.commons.schema.XmlSchemaElement-">addToSchemaElement</a></span>(org.apache.ws.commons.schema.XmlSchemaElement&nbsp;schemaElement)</code>
<div class="block">If the type object merely wants to contribute attributes to the
xsd:element element, it can implement this.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected abstract <a href="../../../../../../org/apache/cxf/message/Attachment.html" title="interface in org.apache.cxf.message">Attachment</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#createAttachment-java.lang.Object-java.lang.String-">createAttachment</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected abstract byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#getBytes-java.lang.Object-">getBytes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object)</code>
<div class="block">if MtoM is not enabled, we need bytes to turn into base64.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#getContentType-java.lang.Object-org.apache.cxf.aegis.Context-">getContentType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
<a href="../../../../../../org/apache/cxf/aegis/Context.html" title="class in org.apache.cxf.aegis">Context</a>&nbsp;context)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#readAttachment-org.apache.cxf.message.Attachment-org.apache.cxf.aegis.Context-">readAttachment</a></span>(<a href="../../../../../../org/apache/cxf/message/Attachment.html" title="interface in org.apache.cxf.message">Attachment</a>&nbsp;att,
<a href="../../../../../../org/apache/cxf/aegis/Context.html" title="class in org.apache.cxf.aegis">Context</a>&nbsp;context)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#readMtoM-org.apache.cxf.aegis.xml.MessageReader-org.apache.cxf.aegis.Context-">readMtoM</a></span>(<a href="../../../../../../org/apache/cxf/aegis/xml/MessageReader.html" title="interface in org.apache.cxf.aegis.xml">MessageReader</a>&nbsp;reader,
<a href="../../../../../../org/apache/cxf/aegis/Context.html" title="class in org.apache.cxf.aegis">Context</a>&nbsp;context)</code>
<div class="block">This is called from base64Type when it recognizes an XOP attachment.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#readObject-org.apache.cxf.aegis.xml.MessageReader-org.apache.cxf.aegis.Context-">readObject</a></span>(<a href="../../../../../../org/apache/cxf/aegis/xml/MessageReader.html" title="interface in org.apache.cxf.aegis.xml">MessageReader</a>&nbsp;reader,
<a href="../../../../../../org/apache/cxf/aegis/Context.html" title="class in org.apache.cxf.aegis">Context</a>&nbsp;context)</code>
<div class="block">This defers to the plain base64 type, which calls back into here above for XOP.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#usesXmime--">usesXmime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#wrapBytes-byte:A-java.lang.String-">wrapBytes</a></span>(byte[]&nbsp;bareBytes,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType)</code>
<div class="block">If one of these types arrives unoptimized, we need to convert it to the
desired return type.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AbstractXOPType.html#writeObject-java.lang.Object-org.apache.cxf.aegis.xml.MessageWriter-org.apache.cxf.aegis.Context-">writeObject</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
<a href="../../../../../../org/apache/cxf/aegis/xml/MessageWriter.html" title="interface in org.apache.cxf.aegis.xml">MessageWriter</a>&nbsp;writer,
<a href="../../../../../../org/apache/cxf/aegis/Context.html" title="class in org.apache.cxf.aegis">Context</a>&nbsp;context)</code>
<div class="block">Writes the object to the MessageWriter.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.cxf.aegis.type.AegisType">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cxf.aegis.type.<a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html" title="class in org.apache.cxf.aegis.type">AegisType</a></h3>
<code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#equals-java.lang.Object-">equals</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#getDependencies--">getDependencies</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#getMaxOccurs--">getMaxOccurs</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#getMinOccurs--">getMinOccurs</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#getSchemaType--">getSchemaType</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#getType--">getType</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#getTypeClass--">getTypeClass</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#getTypeMapping--">getTypeMapping</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#hashCode--">hashCode</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#hasMaxOccurs--">hasMaxOccurs</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#hasMinOccurs--">hasMinOccurs</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#isAbstract--">isAbstract</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#isComplex--">isComplex</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#isFlatArray--">isFlatArray</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#isNillable--">isNillable</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#isWriteOuter--">isWriteOuter</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#setAbstract-boolean-">setAbstract</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#setFlatArray-boolean-">setFlatArray</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#setNillable-boolean-">setNillable</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#setSchemaType-javax.xml.namespace.QName-">setSchemaType</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#setTypeClass-java.lang.reflect.Type-">setTypeClass</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#setTypeMapping-org.apache.cxf.aegis.type.TypeMapping-">setTypeMapping</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#setWriteOuter-boolean-">setWriteOuter</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#toString--">toString</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#usesUtilityTypes--">usesUtilityTypes</a>, <a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#writeSchema-org.apache.ws.commons.schema.XmlSchema-">writeSchema</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="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">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">clone</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">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">getClass</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">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">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">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">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">wait</a></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="XOP_NS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XOP_NS</h4>
<pre>public static final&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">String</a> XOP_NS</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.cxf.aegis.type.mtom.AbstractXOPType.XOP_NS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="XML_MIME_NS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XML_MIME_NS</h4>
<pre>public static final&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">String</a> XML_MIME_NS</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.cxf.aegis.type.mtom.AbstractXOPType.XML_MIME_NS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="XML_MIME_ATTR_LOCAL_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XML_MIME_ATTR_LOCAL_NAME</h4>
<pre>public static final&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">String</a> XML_MIME_ATTR_LOCAL_NAME</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.cxf.aegis.type.mtom.AbstractXOPType.XML_MIME_ATTR_LOCAL_NAME">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="XOP_INCLUDE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XOP_INCLUDE</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> XOP_INCLUDE</pre>
</li>
</ul>
<a name="XML_MIME_CONTENT_TYPE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XML_MIME_CONTENT_TYPE</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> XML_MIME_CONTENT_TYPE</pre>
</li>
</ul>
<a name="XOP_HREF">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XOP_HREF</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> XOP_HREF</pre>
</li>
</ul>
<a name="XML_MIME_BASE64">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>XML_MIME_BASE64</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> XML_MIME_BASE64</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractXOPType-boolean-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractXOPType</h4>
<pre>public&nbsp;AbstractXOPType(boolean&nbsp;useXmimeBinaryType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;expectedContentTypes)</pre>
<div class="block">Create an XOP type. This type will use xmime to publish and receive the content type
via xmime:base64Binary if useXmimeBinaryType is true. If expectedContentTypes != null, then
it will use xmime to advertise expected content types.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>useXmimeBinaryType</code> - whether to use xmime:base64Binary.</dd>
<dd><code>expectedContentTypes</code> - whether to public xmime:expectedContentTypes.</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="readMtoM-org.apache.cxf.aegis.xml.MessageReader-org.apache.cxf.aegis.Context-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readMtoM</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;readMtoM(<a href="../../../../../../org/apache/cxf/aegis/xml/MessageReader.html" title="interface in org.apache.cxf.aegis.xml">MessageReader</a>&nbsp;reader,
<a href="../../../../../../org/apache/cxf/aegis/Context.html" title="class in org.apache.cxf.aegis">Context</a>&nbsp;context)
throws <a href="../../../../../../org/apache/cxf/aegis/DatabindingException.html" title="class in org.apache.cxf.aegis">DatabindingException</a></pre>
<div class="block">This is called from base64Type when it recognizes an XOP attachment.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>reader</code> - </dd>
<dd><code>context</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/cxf/aegis/DatabindingException.html" title="class in org.apache.cxf.aegis">DatabindingException</a></code></dd>
</dl>
</li>
</ul>
<a name="readObject-org.apache.cxf.aegis.xml.MessageReader-org.apache.cxf.aegis.Context-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readObject</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;readObject(<a href="../../../../../../org/apache/cxf/aegis/xml/MessageReader.html" title="interface in org.apache.cxf.aegis.xml">MessageReader</a>&nbsp;reader,
<a href="../../../../../../org/apache/cxf/aegis/Context.html" title="class in org.apache.cxf.aegis">Context</a>&nbsp;context)
throws <a href="../../../../../../org/apache/cxf/aegis/DatabindingException.html" title="class in org.apache.cxf.aegis">DatabindingException</a></pre>
<div class="block">This defers to the plain base64 type, which calls back into here above for XOP.
Read in the XML fragment and create an object.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#readObject-org.apache.cxf.aegis.xml.MessageReader-org.apache.cxf.aegis.Context-">readObject</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html" title="class in org.apache.cxf.aegis.type">AegisType</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/cxf/aegis/DatabindingException.html" title="class in org.apache.cxf.aegis">DatabindingException</a></code></dd>
</dl>
</li>
</ul>
<a name="readAttachment-org.apache.cxf.message.Attachment-org.apache.cxf.aegis.Context-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAttachment</h4>
<pre>protected abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;readAttachment(<a href="../../../../../../org/apache/cxf/message/Attachment.html" title="interface in org.apache.cxf.message">Attachment</a>&nbsp;att,
<a href="../../../../../../org/apache/cxf/aegis/Context.html" title="class in org.apache.cxf.aegis">Context</a>&nbsp;context)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="writeObject-java.lang.Object-org.apache.cxf.aegis.xml.MessageWriter-org.apache.cxf.aegis.Context-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeObject</h4>
<pre>public&nbsp;void&nbsp;writeObject(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
<a href="../../../../../../org/apache/cxf/aegis/xml/MessageWriter.html" title="interface in org.apache.cxf.aegis.xml">MessageWriter</a>&nbsp;writer,
<a href="../../../../../../org/apache/cxf/aegis/Context.html" title="class in org.apache.cxf.aegis">Context</a>&nbsp;context)
throws <a href="../../../../../../org/apache/cxf/aegis/DatabindingException.html" title="class in org.apache.cxf.aegis">DatabindingException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#writeObject-java.lang.Object-org.apache.cxf.aegis.xml.MessageWriter-org.apache.cxf.aegis.Context-">AegisType</a></code></span></div>
<div class="block">Writes the object to the MessageWriter.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#writeObject-java.lang.Object-org.apache.cxf.aegis.xml.MessageWriter-org.apache.cxf.aegis.Context-">writeObject</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html" title="class in org.apache.cxf.aegis.type">AegisType</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/cxf/aegis/DatabindingException.html" title="class in org.apache.cxf.aegis">DatabindingException</a></code></dd>
</dl>
</li>
</ul>
<a name="createAttachment-java.lang.Object-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAttachment</h4>
<pre>protected abstract&nbsp;<a href="../../../../../../org/apache/cxf/message/Attachment.html" title="interface in org.apache.cxf.message">Attachment</a>&nbsp;createAttachment(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
</li>
</ul>
<a name="getContentType-java.lang.Object-org.apache.cxf.aegis.Context-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContentType</h4>
<pre>protected abstract&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">String</a>&nbsp;getContentType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
<a href="../../../../../../org/apache/cxf/aegis/Context.html" title="class in org.apache.cxf.aegis">Context</a>&nbsp;context)</pre>
</li>
</ul>
<a name="wrapBytes-byte:A-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wrapBytes</h4>
<pre>protected abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;wrapBytes(byte[]&nbsp;bareBytes,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType)</pre>
<div class="block">If one of these types arrives unoptimized, we need to convert it to the
desired return type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bareBytes</code> - the bytes pulled out of the base64.</dd>
<dd><code>contentType</code> - when we support xmime:contentType, this will be passed along.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a name="getBytes-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre>protected abstract&nbsp;byte[]&nbsp;getBytes(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object)</pre>
<div class="block">if MtoM is not enabled, we need bytes to turn into base64.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a name="addToSchemaElement-org.apache.ws.commons.schema.XmlSchemaElement-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addToSchemaElement</h4>
<pre>public&nbsp;void&nbsp;addToSchemaElement(org.apache.ws.commons.schema.XmlSchemaElement&nbsp;schemaElement)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#addToSchemaElement-org.apache.ws.commons.schema.XmlSchemaElement-">AegisType</a></code></span></div>
<div class="block">If the type object merely wants to contribute attributes to the
xsd:element element, it can implement this.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#addToSchemaElement-org.apache.ws.commons.schema.XmlSchemaElement-">addToSchemaElement</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html" title="class in org.apache.cxf.aegis.type">AegisType</a></code></dd>
</dl>
</li>
</ul>
<a name="usesXmime--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>usesXmime</h4>
<pre>public&nbsp;boolean&nbsp;usesXmime()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html#usesXmime--">usesXmime</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/cxf/aegis/type/AegisType.html" title="class in org.apache.cxf.aegis.type">AegisType</a></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>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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/AbstractXOPType.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 class="aboutLanguage">Apache CXF API</div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../../org/apache/cxf/aegis/type/mtom/AttachmentUtil.html" title="class in org.apache.cxf.aegis.type.mtom"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/cxf/aegis/type/mtom/AbstractXOPType.html" target="_top">Frames</a></li>
<li><a href="AbstractXOPType.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.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>
</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><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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>Apache CXF</small></p>
</body>
</html>