📄 binder.html
字号:
</TABLE> <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 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 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> 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 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 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <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> <A HREF="Binder.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -