/[classpath]/classpath/javax/print/attribute/URISyntax.java
ViewVC logotype

Diff of /classpath/javax/print/attribute/URISyntax.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by gnu_andrew, Tue Aug 2 20:12:36 2005 UTC revision 1.1.2.2 by gnu_andrew, Sun Nov 27 21:00:37 2005 UTC
# Line 1  Line 1 
1  /* URISyntax.java --  /* URISyntax.java --
2     Copyright (C) 2003 Free Software Foundation, Inc.     Copyright (C) 2003, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 41  import java.io.Serializable; Line 41  import java.io.Serializable;
41  import java.net.URI;  import java.net.URI;
42    
43  /**  /**
44   * @author Michael Koch   * <code>URISyntax</code> is the abstract base class of all attribute
45     * classes having an Uniform Resource Identifier URI as value.
46     *
47     * @author Michael Koch (konqueror@gmx.de)
48   */   */
49  public abstract class URISyntax  public abstract class URISyntax
50    implements Cloneable, Serializable    implements Cloneable, Serializable
# Line 66  public abstract class URISyntax Line 69  public abstract class URISyntax
69    }    }
70    
71    /**    /**
72     * Tests of obj is equal to this object.     * Tests if the given object is equal to this object.
73     *     *
74     * @param obj the object to test     * @param obj the object to test
75     *     *
76     * @returns true if both objects are equal, false otherwise.     * @return <code>true</code> if both objects are equal,
77       * <code>false</code> otherwise.
78     */     */
79    public boolean equals(Object obj)    public boolean equals(Object obj)
80    {    {
# Line 83  public abstract class URISyntax Line 87  public abstract class URISyntax
87    /**    /**
88     * Returns the URI value of this syntax object.     * Returns the URI value of this syntax object.
89     *     *
90     * @return the URI     * @return The URI.
91     */     */
92    public URI getURI()    public URI getURI()
93    {    {
# Line 93  public abstract class URISyntax Line 97  public abstract class URISyntax
97    /**    /**
98     * Returns the hashcode for this object.     * Returns the hashcode for this object.
99     *     *
100     * @return the hashcode     * @return The hashcode.
101     */     */
102    public int hashCode()    public int hashCode()
103    {    {
# Line 103  public abstract class URISyntax Line 107  public abstract class URISyntax
107    /**    /**
108     * Returns the string representation for this object.     * Returns the string representation for this object.
109     *     *
110     * @return the string representation     * @return The string representation.
111     */     */
112    public String toString()    public String toString()
113    {    {

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26