com.netscape.certsrv.base
Class AttributeNameHelper

java.lang.Object
  extended by com.netscape.certsrv.base.AttributeNameHelper

public class AttributeNameHelper
extends java.lang.Object

AttributeNameHelper. This Helper class used to decompose dot-separated attribute name into prefix and suffix.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Constructor Summary
AttributeNameHelper(java.lang.String name)
          Default constructor for the class.
 
Method Summary
 java.lang.String getPrefix()
          Return the prefix of the name.
 java.lang.String getSuffix()
          Return the suffix of the name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeNameHelper

public AttributeNameHelper(java.lang.String name)
Default constructor for the class. Name is of the form "proofOfPosession.type".

Parameters:
name - the attribute name.
Method Detail

getPrefix

public java.lang.String getPrefix()
Return the prefix of the name.

Returns:
attribute prefix

getSuffix

public java.lang.String getSuffix()
Return the suffix of the name.

Returns:
attribute suffix