Package org.apache.tools.ant.taskdefs
Class GenerateKey.DistinguishedName
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.GenerateKey.DistinguishedName
 
- 
- Enclosing class:
- GenerateKey
 
 public static class GenerateKey.DistinguishedName extends java.lang.ObjectA class corresponding to the dname nested element.
- 
- 
Constructor SummaryConstructors Constructor Description DistinguishedName()
 - 
Method SummaryModifier and Type Method Description java.lang.ObjectcreateParam()Create a param nested element.java.lang.Stringencode(java.lang.String string)Encode a name or value.java.util.Enumeration<GenerateKey.DnameParam>getParams()Get the nested parameters.java.lang.StringtoString()Generate a string rep of this distinguished name.
 
- 
- 
- 
Method Detail- 
createParampublic java.lang.Object createParam() Create a param nested element.- Returns:
- a DnameParam object to be configured.
 
 - 
getParamspublic java.util.Enumeration<GenerateKey.DnameParam> getParams() Get the nested parameters.- Returns:
- an enumeration of the nested parameters.
 
 - 
toStringpublic java.lang.String toString() Generate a string rep of this distinguished name. The format is each of the parameters (name = value) separated by ','. This is used on the command line.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- a string rep of this name
 
 - 
encodepublic java.lang.String encode(java.lang.String string) Encode a name or value. The encoded result is the same as the input string except that each ',' is replaced by a '\,'.- Parameters:
- string- the value to be encoded
- Returns:
- the encoded value.
 
 
- 
 
-