Apache commons Digester Custom rule.....
From: Dharma <dharma.a_at_gmail.com>
Date: Sat, 4 Feb 2012 20:23:24 +0530
Hi,
It would be great if i get solution for the below mentioned problem.
I have a class which has only private constructor(two parameterised) and
Please find below code snippet
Eg:
OrderStatus.java
public class OrderStatus
private char type = ' ';
public static final char A_TYPE = 'A';
public static final char T_TYPE = 'T';
public static final OrderStatus A = new OrderStatus(A_TYPE); // Need
public static final OrderStatus T = new OrderStatus(T_TYPE); // Need
private OrderStatus(char type)
}
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.