⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 binder.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getId()"><!-- --></A><H3>getId</H3><PRE>public java.lang.String <B>getId</B>()</PRE><DL><DD>Returns this Binder instance ID. <br><br> <b>Note: </b>the ID only exist after the Binder has been stored once. Trying to invoke <A HREF="../../../../../com/ibm/content/binder/model/Binder.html#getId()"><CODE>getId()</CODE></A> on a Binder instance that has not been saved yet will return <code>null</code>.<P><DD><DL><DT><B>Returns:</B><DD>the ID as a String, or <code>null</code> if this Binder has never been saved.</DL></DD></DL><HR><A NAME="getContentReference(java.lang.String)"><!-- --></A><H3>getContentReference</H3><PRE>public <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model">ContentReference</A> <B>getContentReference</B>(java.lang.String&nbsp;contentReferenceName)</PRE><DL><DD>Returns the <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model"><CODE>ContentReference</CODE></A> with the given name stored in this Binder.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>contentReferenceName</CODE> - the <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model"><CODE>ContentReference</CODE></A> name<DT><B>Returns:</B><DD>a <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model"><CODE>ContentReference</CODE></A>, or <code>null</code> if none with this          name exists.</DL></DD></DL><HR><A NAME="getContentItem(java.lang.String)"><!-- --></A><H3>getContentItem</H3><PRE>public <A HREF="../../../../../com/ibm/content/binder/model/ContentItem.html" title="interface in com.ibm.content.binder.model">ContentItem</A> <B>getContentItem</B>(java.lang.String&nbsp;contentItemName)</PRE><DL><DD>Returns the <A HREF="../../../../../com/ibm/content/binder/model/ContentItem.html" title="interface in com.ibm.content.binder.model"><CODE>ContentItem</CODE></A> stored under the given name. <br><P><DD><DL><DT><B>Parameters:</B><DD><CODE>contentItemName</CODE> - the name of the Content Item to retrieve.<DT><B>Returns:</B><DD>a <A HREF="../../../../../com/ibm/content/binder/model/ContentItem.html" title="interface in com.ibm.content.binder.model"><CODE>ContentItem</CODE></A> instance.</DL></DD></DL><HR><A NAME="getContentReferences()"><!-- --></A><H3>getContentReferences</H3><PRE>public java.util.Collection <B>getContentReferences</B>()</PRE><DL><DD>Returns all the <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model"><CODE>ContentReference</CODE></A> contained in this Binder.<P><DD><DL><DT><B>Returns:</B><DD>a Collection containing all the <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model"><CODE>ContentReference</CODE></A> in this Binder</DL></DD></DL><HR><A NAME="getContentItems()"><!-- --></A><H3>getContentItems</H3><PRE>public java.util.Collection <B>getContentItems</B>()</PRE><DL><DD>Returns all the <A HREF="../../../../../com/ibm/content/binder/model/ContentItem.html" title="interface in com.ibm.content.binder.model"><CODE>ContentItem</CODE></A> contained in this Binder.<P><DD><DL><DT><B>Returns:</B><DD>a Collection containing all the <A HREF="../../../../../com/ibm/content/binder/model/ContentItem.html" title="interface in com.ibm.content.binder.model"><CODE>ContentItem</CODE></A> in this Binder</DL></DD></DL><HR><A NAME="getContentReferenceNames()"><!-- --></A><H3>getContentReferenceNames</H3><PRE>public java.util.Collection <B>getContentReferenceNames</B>()</PRE><DL><DD>Returns the names of all the <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model"><CODE>ContentReference</CODE></A> contained in this Binder.<P><DD><DL><DT><B>Returns:</B><DD>a Collection containing the content reference names as String.</DL></DD></DL><HR><A NAME="getContentItemNames()"><!-- --></A><H3>getContentItemNames</H3><PRE>public java.util.Collection <B>getContentItemNames</B>()</PRE><DL><DD>Returns the names of all the <A HREF="../../../../../com/ibm/content/binder/model/ContentItem.html" title="interface in com.ibm.content.binder.model"><CODE>ContentItem</CODE></A> contained in this Binder.<P><DD><DL><DT><B>Returns:</B><DD>a Collection containing the content item names as String.</DL></DD></DL><HR><A NAME="addContent(com.ibm.content.binder.model.ContentReference)"><!-- --></A><H3>addContent</H3><PRE>public void <B>addContent</B>(<A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model">ContentReference</A>&nbsp;contentRef)</PRE><DL><DD>Add a <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model"><CODE>ContentReference</CODE></A> (or a <A HREF="../../../../../com/ibm/content/binder/model/ContentItem.html" title="interface in com.ibm.content.binder.model"><CODE>ContentItem</CODE></A>) to this Binder. <br> <br>If a <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model"><CODE>ContentReference</CODE></A> with the same name exists in this Binder, it is overwritten.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>contentRef</CODE> - the <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model"><CODE>ContentReference</CODE></A> to set</DL></DD></DL><HR><A NAME="removeContentReference(java.lang.String)"><!-- --></A><H3>removeContentReference</H3><PRE>public void <B>removeContentReference</B>(java.lang.String&nbsp;contentReferenceName)</PRE><DL><DD>Removes the <A HREF="../../../../../com/ibm/content/binder/model/ContentReference.html" title="interface in com.ibm.content.binder.model"><CODE>ContentReference</CODE></A> with the given name stored in this Binder.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>contentReferenceName</CODE> - the name of the content reference to delete.</DL></DD></DL><HR><A NAME="removeContentItem(java.lang.String)"><!-- --></A><H3>removeContentItem</H3><PRE>public void <B>removeContentItem</B>(java.lang.String&nbsp;contentItemName)</PRE><DL><DD>Removes the <A HREF="../../../../../com/ibm/content/binder/model/ContentItem.html" title="interface in com.ibm.content.binder.model"><CODE>ContentItem</CODE></A> with the given name stored in this Binder.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>contentItemName</CODE> - the name of the content reference to delete.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../../com/ibm/content/binder/model/BinderAccessLevel.html" title="interface in com.ibm.content.binder.model"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Binder.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -