summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java27
1 files changed, 15 insertions, 12 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java b/pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java
index 41415d37..1922e74c 100644
--- a/pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java
+++ b/pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java
@@ -17,14 +17,17 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.base;
+
import java.util.Enumeration;
import java.util.Hashtable;
+
/**
- * A class represents meta information. A meta information object is just a
- * generic hashtable that is embedded into a request object.
+ * A class represents meta information. A meta information
+ * object is just a generic hashtable that is embedded into
+ * a request object.
* <P>
- *
+ *
* @version $Revision$, $Date$
*/
public class MetaInfo implements IAttrSet {
@@ -38,7 +41,7 @@ public class MetaInfo implements IAttrSet {
private Hashtable content = new Hashtable();
- /**
+ /**
* Constructs a meta information.
* <P>
*/
@@ -48,7 +51,7 @@ public class MetaInfo implements IAttrSet {
/**
* Returns a short string describing this certificate attribute.
* <P>
- *
+ *
* @return information about this certificate attribute.
*/
public String toString() {
@@ -66,11 +69,11 @@ public class MetaInfo implements IAttrSet {
sb.append("]\n");
return sb.toString();
}
-
+
/**
* Gets an attribute value.
* <P>
- *
+ *
* @param name the name of the attribute to return.
* @exception EBaseException on attribute handling errors.
*/
@@ -80,8 +83,8 @@ public class MetaInfo implements IAttrSet {
/**
* Sets an attribute value.
- *
- * @param name the name of the attribute
+ *
+ * @param name the name of the attribute
* @param obj the attribute object.
*
* @exception EBaseException on attribute handling errors.
@@ -89,18 +92,18 @@ public class MetaInfo implements IAttrSet {
public void set(String name, Object obj) throws EBaseException {
content.put(name, obj);
}
-
+
/**
* Deletes an attribute value from this CertAttrSet.
* <P>
- *
+ *
* @param name the name of the attribute to delete.
* @exception EBaseException on attribute handling errors.
*/
public void delete(String name) throws EBaseException {
content.remove(name);
}
-
+
/**
* Returns an enumeration of the names of the attributes existing within
* this attribute.