org.apache.maven.plugin.doap.options
Class Standard

java.lang.Object
  extended by org.apache.maven.plugin.doap.options.Standard
All Implemented Interfaces:
java.io.Serializable

public class Standard
extends java.lang.Object
implements java.io.Serializable

The "Standard" element is used to list all the relevant standards implemented by the project. These standards include W3C or ISO standards, RFCs, various technical specifications etc. Example:

 <asfext:implements>
   <asfext:Standard>
     <asfext:title>Extensible
 Stylesheet Language - Formatting Objects (XSL-FO
 1.1)</asfext:title>
     <asfext:body>W3C</asfext:body>
     <asfext:id>XSL
 1.1</asfext:id>
     <asfext:url
 rdf:resource="http://www.w3.org/TR/xsl11/"/>
   </asfext:Standard>
 </asfext:implements>
 

Version:
$Revision: 815332 $ $Date: 2012-05-01 21:25:03 +0000 (Tue, 01 May 2012) $
See Also:
http://projects.apache.org/docs/standards.html, Serialized Form

Constructor Summary
Standard()
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Method equals.
 java.lang.String getBody()
          Get the body which published the standard (Example: "W3C", "OASIS", "ISO" etc.).
 java.lang.String getId()
          Get an identifier for the standard (Example: ISO/IEC 15438, RFC2397, JSR206 etc.).
 java.lang.String getModelEncoding()
           
 java.lang.String getTitle()
          Get the expanded title of the standard.
 java.lang.String getUrl()
          Get an URL pointing to the standard (main website or specification document).
 int hashCode()
          Method hashCode.
 void setBody(java.lang.String body)
          Set the body which published the standard (Example: "W3C", "OASIS", "ISO" etc.).
 void setId(java.lang.String id)
          Set an identifier for the standard (Example: ISO/IEC 15438, RFC2397, JSR206 etc.).
 void setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setTitle(java.lang.String title)
          Set the expanded title of the standard.
 void setUrl(java.lang.String url)
          Set an URL pointing to the standard (main website or specification document).
 java.lang.String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Standard

public Standard()
Method Detail

equals

public boolean equals(java.lang.Object other)
Method equals.

Overrides:
equals in class java.lang.Object
Parameters:
other -
Returns:
boolean

getBody

public java.lang.String getBody()
Get the body which published the standard (Example: "W3C", "OASIS", "ISO" etc.). Required.

Returns:
String
See Also:
http://projects.apache.org/docs/standards.html

getId

public java.lang.String getId()
Get an identifier for the standard (Example: ISO/IEC 15438, RFC2397, JSR206 etc.). Required.

Returns:
String
See Also:
http://projects.apache.org/docs/standards.html

getTitle

public java.lang.String getTitle()
Get the expanded title of the standard. Required.

Returns:
String
See Also:
http://projects.apache.org/docs/standards.html

getUrl

public java.lang.String getUrl()
Get an URL pointing to the standard (main website or specification document). Optional.

Returns:
String
See Also:
http://projects.apache.org/docs/standards.html

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class java.lang.Object
Returns:
int

setBody

public void setBody(java.lang.String body)
Set the body which published the standard (Example: "W3C", "OASIS", "ISO" etc.). Required.

Parameters:
body -
See Also:
http://projects.apache.org/docs/standards.html

setId

public void setId(java.lang.String id)
Set an identifier for the standard (Example: ISO/IEC 15438, RFC2397, JSR206 etc.). Required.

Parameters:
id -
See Also:
http://projects.apache.org/docs/standards.html

setTitle

public void setTitle(java.lang.String title)
Set the expanded title of the standard. Required.

Parameters:
title -
See Also:
http://projects.apache.org/docs/standards.html

setUrl

public void setUrl(java.lang.String url)
Set an URL pointing to the standard (main website or specification document). Optional.

Parameters:
url -
See Also:
http://projects.apache.org/docs/standards.html

toString

public java.lang.String toString()
Method toString.

Overrides:
toString in class java.lang.Object
Returns:
java.lang.String

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public java.lang.String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.