You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class calypso.util.AttributeValuePair

java.lang.Object
   |
   +----calypso.util.AttributeValuePair

Simple attribute/value pair class XXX add in a recylcer XXX add in a method to reconsitute one from an InputStream/String?


public class  AttributeValuePair
     extends java.lang.Object
{
          // Fields 2
     protected Atom fName;
     protected String fValue;

          // Constructors 2
     public AttributeValuePair(Atom, String);
     public AttributeValuePair(String, String);

          // Methods 6
     public boolean equals(Object);
     public Atom getName();
     public String getValue();
     public int hashCode();
     protected String quoteValue();
     public String toString();
}



Fields


fName

   protected Atom fName


fValue

   protected String fValue



Constructors


AttributeValuePair

   public AttributeValuePair(String aName, 
                             String aValue) 


AttributeValuePair

   public AttributeValuePair(Atom aName, 
                             String aValue) 



Methods


getName

   public Atom getName() 


getValue

   public String getValue() 


equals

   public boolean equals(Object aObject) 
Overrides:
equals in class Object


hashCode

   public int hashCode() 
Overrides:
hashCode in class Object


toString

   public String toString() 
Overrides:
toString in class Object


quoteValue

   protected String quoteValue() 

Quote the value portion of an attribute,value pair making it suitable for reading in later. We assume "C" style quoting by backslashing quotes embedded in the value.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4