The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Search
Feedback


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 The Mozilla Organization.