Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.print.ipp.attribute
Class NaturalLanguageSyntax  view NaturalLanguageSyntax download NaturalLanguageSyntax.java

java.lang.Object
  extended bygnu.javax.print.ipp.attribute.NaturalLanguageSyntax
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public abstract class NaturalLanguageSyntax
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

NaturalLanguageSyntax is the abstract base class of all attribute classes which provide a natural language (US-ASCII) string as value.


Field Summary
private  java.lang.String value
           
 
Constructor Summary
protected NaturalLanguageSyntax(java.lang.String value)
          Creates a NaturalLanguageSyntax object with the given value and locale.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Tests if the given object is equal to this object.
 java.lang.String getValue()
          Returns the value of this syntax object.
 int hashCode()
          Returns the hashcode for this object.
 java.lang.String toString()
          Returns a string representing the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

private final java.lang.String value
Constructor Detail

NaturalLanguageSyntax

protected NaturalLanguageSyntax(java.lang.String value)
Creates a NaturalLanguageSyntax object with the given value and locale.

Method Detail

getValue

public java.lang.String getValue()
Returns the value of this syntax object.


hashCode

public int hashCode()
Returns the hashcode for this object.


equals

public boolean equals(java.lang.Object obj)
Tests if the given object is equal to this object.


toString

public java.lang.String toString()
Returns a string representing the object. The returned string is the underlying text value of this object.