umich.cac.data
Class Attribute

java.lang.Object
  extended byumich.cac.data.Attribute

public class Attribute
extends java.lang.Object

Used to encode attributes

Version:
$Header: /cvsroot/pbsaccounting/pbsaccounting/doc/javadoc/umich/cac/data/Attribute.html,v 1.3 2003/10/21 20:33:47 rodmach Exp $
Author:
rmach@umich.edu

Constructor Summary
Attribute(java.lang.String name, java.lang.String value)
          Constructor, represents an attribute for a field like ppn=8 where ppn is the name, and 8 is the value
 
Method Summary
 java.lang.String toXML()
          toXML() formats the attribute in an XML style, ala name="value" Return the attribute in XML attribute style
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute(java.lang.String name,
                 java.lang.String value)
Constructor, represents an attribute for a field like ppn=8 where ppn is the name, and 8 is the value

Parameters:
name - the name of the attribute
value - the value for the attribute
Method Detail

toXML

public java.lang.String toXML()
toXML() formats the attribute in an XML style, ala name="value" Return the attribute in XML attribute style