Dear list,
Sorry to post non-Mac related java stuff, but you can only subscribe
to so many lists.
can anyone bite my head off and explain why the following minute
piece of code generates the following error:
code--------------------------------------------------------------------
--------------------
import org.dom4j.*;
import org.dom4j.Document;
import org.dom4j.util.UserDataElement;
import org.dom4j.DocumentHelper;
import java.io.*;
public class PriceElement extends UserDataElement
{
public String currency, price, elementName;
public PriceElement (String currency, String price, String elementName)
{
UserDataElement PriceElement = new UserDataElement(elementName);
Element money = PriceElement.addElement("Money");
money.addAttribute( "currency", currency);
money.addText(price);
return PriceElement;
}
}
error
------------------------------------------------------------------------
------------------
[javac] /Users/bobirvin/Sites/SupplierConnect/src/ejb/com/
kenisys/supplierconnect/handler/PriceElement.java:14: cannot resolve
symbol
[javac] symbol : constructor UserDataElement ()
[javac] location: class org.dom4j.util.UserDataElement
[javac] {
[javac] ^
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden