The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class calypso.util.AttributeValuePair
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
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.