📄 metadataentity.html
字号:
following heuristic tests:<br> <ul> <li>If the specified object is an instance of , then <A HREF="../../../../org/geotools/metadata/iso/MetadataEntity.html#unmodifiable()"><CODE>unmodifiable()</CODE></A> is invoked on this object.</li> <li>Otherwise, if the object is a cloneable <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">collection</A>, then the collection is cloned and all its elements are replaced by their unmodifiable variant. If the collection is not cloneable, then it is assumed immutable and returned unchanged.</li> <li>Otherwise, the object is assumed immutable and returned unchanged.</li> </ul><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - The object to convert in an immutable one.<DT><B>Returns:</B><DD>A presumed immutable view of the specified object.</DL></DD></DL><HR><A NAME="freeze()"><!-- --></A><H3>freeze</H3><PRE>protected void <B>freeze</B>()</PRE><DL><DD>Declare this metadata and all its attributes as unmodifiable. This method is invoked automatically by the <A HREF="../../../../org/geotools/metadata/iso/MetadataEntity.html#unmodifiable()"><CODE>unmodifiable()</CODE></A> method. Subclasses should overrides this method and invokes <A HREF="../../../../org/geotools/metadata/iso/MetadataEntity.html#unmodifiable(java.lang.Object)"><CODE>unmodifiable(Object)</CODE></A> for all attributes.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="checkWritePermission()"><!-- --></A><H3>checkWritePermission</H3><PRE>protected void <B>checkWritePermission</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></PRE><DL><DD>Check if changes in the metadata are allowed. All methods in sub-classes should invoke this method before to apply any change.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if this metadata is unmodifiable.</DL></DD></DL><HR><A NAME="copyCollection(java.util.Collection, java.util.Collection, java.lang.Class)"><!-- --></A><H3>copyCollection</H3><PRE>protected final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> <B>copyCollection</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> source, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> target, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> elementType)</PRE><DL><DD>Copy the content of one collection () into an other (). If the target collection is , or if its type (<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util"><CODE>List</CODE></A> vs <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util"><CODE>Set</CODE></A>) doesn't matches the type of the source collection, a new target collection is expected.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - The source collection.<DD><CODE>target</CODE> - The target collection, or if not yet created.<DD><CODE>elementType</CODE> - The base type of elements to put in the collection.<DT><B>Returns:</B><DD>, or a newly created collection.</DL></DD></DL><HR><A NAME="nonNullCollection(java.util.Collection, java.lang.Class)"><!-- --></A><H3>nonNullCollection</H3><PRE>protected final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> <B>nonNullCollection</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> c, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> elementType)</PRE><DL><DD>Returns the specified collection, or a new one if is null. This is a convenience method for implementation of methods.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - The collection to checks.<DD><CODE>elementType</CODE> - The element type (used only if is null).<DT><B>Returns:</B><DD>, or a new collection if is null.</DL></DD></DL><HR><A NAME="appendLineSeparator(java.lang.StringBuffer)"><!-- --></A><H3>appendLineSeparator</H3><PRE>protected static void <B>appendLineSeparator</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/StringBuffer.html" title="class or interface in java.lang">StringBuffer</A> buffer)</PRE><DL><DD>Add a line separator to the given buffer, except if the buffer is empty. This convenience method is used for <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang"><CODE>Object.toString()</CODE></A> implementations.<P><DD><DL></DL></DD><DD><DL></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"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MetadataEntity.html"><FONT CLASS="NavBarFont1"><B>Use</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="../../../../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"> <A HREF="../../../../org/geotools/metadata/iso/IdentifierImpl.html" title="class in org.geotools.metadata.iso"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/metadata/iso/MetadataExtensionInformationImpl.html" title="class in org.geotools.metadata.iso"><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="MetadataEntity.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -