org.deegree_impl.services.wms.capabilities
Class Attribution_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wms.capabilities.Attribution_Impl
All Implemented Interfaces:
Attribution, Marshallable

class Attribution_Impl
extends java.lang.Object
implements Attribution, Marshallable

The optional element provides a way to identify the source of the map data used in a Layer or collection of Layers. Attribution encloses several optional elements: states the data provider's URL; is a human-readable string naming the data provider; <LogoURL> is the URL of a logo image. Client applications may choose to display one or more of these items. A <Format> element in LogoURL indicates the MIME type of the logo image, and the attributes width and height state the size of the image in pixels. <p>----------------------------------------------------------------------</p> <P> <P> <DL> <DT><B>Version:</B></DT> <DD>$Revision: 1.8 $</DD> <DT><B>Author:</B></DT> <DD><a href="mailto:k.lupp@web.de">Katharina Lupp</a>, <a href="mailto:mschneider@lat-lon.de">Markus Schneider</a></DD> </DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Field Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>private  <A HREF="../../../../../org/deegree/services/wms/capabilities/LogoURL.html" title="interface in org.deegree.services.wms.capabilities">LogoURL</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#logoURL">logoURL</A></B></CODE> <BR>            </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>private  java.net.URL</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#onlineResource">onlineResource</A></B></CODE> <BR>            </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>private  java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#title">title</A></B></CODE> <BR>            </TD> </TR> </TABLE>   <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>(package private)</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#Attribution_Impl()">Attribution_Impl</A></B>()</CODE> <BR>           default constructor</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>(package private)</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#Attribution_Impl(java.lang.String, java.net.URL, org.deegree.services.wms.capabilities.LogoURL)">Attribution_Impl</A></B>(java.lang.String title, java.net.URL onlineResource, <A HREF="../../../../../org/deegree/services/wms/capabilities/LogoURL.html" title="interface in org.deegree.services.wms.capabilities">LogoURL</A> logoURL)</CODE> <BR>           constructor initializing the class with the attributes</TD> </TR> </TABLE>   <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Method Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#exportAsXML()">exportAsXML</A></B>()</CODE> <BR>           Returns an XML representation of this object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/deegree/services/wms/capabilities/LogoURL.html" title="interface in org.deegree.services.wms.capabilities">LogoURL</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#getLogoURL()">getLogoURL</A></B>()</CODE> <BR>           returns the URL of a logo image</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.net.URL</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#getOnlineResource()">getOnlineResource</A></B>()</CODE> <BR>           returns the data provider's URL</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#getTitle()">getTitle</A></B>()</CODE> <BR>           a human-readable string naming the data providerreturns the title of the attribution.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#setLogoURL(org.deegree.services.wms.capabilities.LogoURL)">setLogoURL</A></B>(<A HREF="../../../../../org/deegree/services/wms/capabilities/LogoURL.html" title="interface in org.deegree.services.wms.capabilities">LogoURL</A> logoURL)</CODE> <BR>           sets the URL of a logo image</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#setOnlineResource(java.net.URL)">setOnlineResource</A></B>(java.net.URL onlineResource)</CODE> <BR>           sets the data provider's URL</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#setTitle(java.lang.String)">setTitle</A></B>(java.lang.String title)</CODE> <BR>           sets the title</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/deegree_impl/services/wms/capabilities/Attribution_Impl.html#toString()">toString</A></B>()</CODE> <BR>            </TD> </TR> </TABLE>  <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class java.lang.Object</B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> </TR> </TABLE>   <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Field Detail</B></FONT></TD> </TR> </TABLE> <A NAME="logoURL"><!-- --></A><H3> logoURL</H3> <PRE> private <A HREF="../../../../../org/deegree/services/wms/capabilities/LogoURL.html" title="interface in org.deegree.services.wms.capabilities">LogoURL</A> <B>logoURL</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="title"><!-- --></A><H3> title</H3> <PRE> private java.lang.String <B>title</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="onlineResource"><!-- --></A><H3> onlineResource</H3> <PRE> private java.net.URL <B>onlineResource</B></PRE> <DL> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TD> </TR> </TABLE> <A NAME="Attribution_Impl()"><!-- --></A><H3> Attribution_Impl</H3> <PRE> <B>Attribution_Impl</B>()</PRE> <DL> <DD>default constructor <P> </DL> <HR> <A NAME="Attribution_Impl(java.lang.String, java.net.URL, org.deegree.services.wms.capabilities.LogoURL)"><!-- --></A><H3> Attribution_Impl</H3> <PRE> <B>Attribution_Impl</B>(java.lang.String title, java.net.URL onlineResource, <A HREF="../../../../../org/deegree/services/wms/capabilities/LogoURL.html" title="interface in org.deegree.services.wms.capabilities">LogoURL</A> logoURL)</PRE> <DL> <DD>constructor initializing the class with the attributes <P> </DL> <!-- ============ 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="getTitle()"><!-- --></A><H3> getTitle</H3> <PRE> public java.lang.String <B>getTitle</B>()</PRE> <DL> <DD>a human-readable string naming the data providerreturns the title of the attribution. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/deegree/services/wms/capabilities/Attribution.html#getTitle()">getTitle</A></CODE> in interface <CODE><A HREF="../../../../../org/deegree/services/wms/capabilities/Attribution.html" title="interface in org.deegree.services.wms.capabilities">Attribution</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setTitle(java.lang.String)"><!-- --></A><H3> setTitle</H3> <PRE> public void <B>setTitle</B>(java.lang.String title)</PRE> <DL> <DD>sets the title <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getOnlineResource()"><!-- --></A><H3> getOnlineResource</H3> <PRE> public java.net.URL <B>getOnlineResource</B>() throws java.net.MalformedURLException</PRE> <DL> <DD>returns the data provider's URL <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/deegree/services/wms/capabilities/Attribution.html#getOnlineResource()">getOnlineResource</A></CODE> in interface <CODE><A HREF="../../../../../org/deegree/services/wms/capabilities/Attribution.html" title="interface in org.deegree.services.wms.capabilities">Attribution</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE>java.net.MalformedURLException</CODE></DL> </DD> </DL> <HR> <A NAME="setOnlineResource(java.net.URL)"><!-- --></A><H3> setOnlineResource</H3> <PRE> public void <B>setOnlineResource</B>(java.net.URL onlineResource)</PRE> <DL> <DD>sets the data provider's URL <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getLogoURL()"><!-- --></A><H3> getLogoURL</H3> <PRE> public <A HREF="../../../../../org/deegree/services/wms/capabilities/LogoURL.html" title="interface in org.deegree.services.wms.capabilities">LogoURL</A> <B>getLogoURL</B>() throws java.net.MalformedURLException</PRE> <DL> <DD>returns the URL of a logo image <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/deegree/services/wms/capabilities/Attribution.html#getLogoURL()">getLogoURL</A></CODE> in interface <CODE><A HREF="../../../../../org/deegree/services/wms/capabilities/Attribution.html" title="interface in org.deegree.services.wms.capabilities">Attribution</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE>java.net.MalformedURLException</CODE></DL> </DD> </DL> <HR> <A NAME="setLogoURL(org.deegree.services.wms.capabilities.LogoURL)"><!-- --></A><H3> setLogoURL</H3> <PRE> public void <B>setLogoURL</B>(<A HREF="../../../../../org/deegree/services/wms/capabilities/LogoURL.html" title="interface in org.deegree.services.wms.capabilities">LogoURL</A> logoURL)</PRE> <DL> <DD>sets the URL of a logo image <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="toString()"><!-- --></A><H3> toString</H3> <PRE> public java.lang.String <B>toString</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD></DL> </DD> </DL> <HR> <A NAME="exportAsXML()"><!-- --></A><H3> exportAsXML</H3> <PRE> public java.lang.String <B>exportAsXML</B>()</PRE> <DL> <DD>Returns an XML representation of this object. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/deegree/xml/Marshallable.html#exportAsXML()">exportAsXML</A></CODE> in interface <CODE><A HREF="../../../../../org/deegree/xml/Marshallable.html" title="interface in org.deegree.xml">Marshallable</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>XML-representation of this object</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/Attribution_Impl.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-files/index-1.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="../../../../../org/deegree_impl/services/wms/capabilities/AuthorityURL_Impl.html" title="class in org.deegree_impl.services.wms.capabilities"><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="Attribution_Impl.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> </BODY> </HTML>