getSubtypes() public method

Extracts the subtypes from the attribute name. For example, if the attribute name is cn;lang-ja;phonetic, this method returns an array containing lang-ja and phonetic.
public getSubtypes ( ) : System.String[]
return System.String[]
Example #1
0
 /// <summary> Constructs an attribute with no values.
 ///
 /// </summary>
 /// <param name="attrName">Name of the attribute.
 ///
 /// @throws IllegalArgumentException if attrName is null
 /// </param>
 public LdapAttribute(string attrName)
 {
     if (attrName == null)
     {
         throw new ArgumentException("Attribute name cannot be null");
     }
     this.name     = attrName;
     this.baseName = LdapAttribute.getBaseName(attrName);
     this.subTypes = LdapAttribute.getSubtypes(attrName);
 }
 /// <summary> Constructs an attribute with no values.
 ///
 /// </summary>
 /// <param name="attrName">Name of the attribute.
 ///
 /// @throws IllegalArgumentException if attrName is null
 /// </param>
 public LdapAttribute(System.String attrName)
 {
     if ((System.Object)attrName == null)
     {
         throw new System.ArgumentException("Attribute name cannot be null");
     }
     this.name     = attrName;
     this.baseName = LdapAttribute.getBaseName(attrName);
     this.subTypes = LdapAttribute.getSubtypes(attrName);
     return;
 }