I think so.

Jim
http://www.gwtorm.com for GWT ORM
http://code.google.com/p/dreamsource-orm/downloads/list

On May 15, 7:26 pm, Jeff Chimene <[email protected]> wrote:
> Hi,
>
> I realize this is probably a Java question, but:
>
> How does one handle colliding import statements?
>
> For example:
>
>      import com.google.gwt.user.client.Element;
>
> Forces me to write:
>
>      public static void parseBodyInfo(com.google.gwt.xml.client.Element
> item) {
>          if (item.hasChildNodes()) {
>              NodeList n = item.getElementsByTagName("point");
>              String name = null;
>              String side = null;
>              String indic = null;
>              for (int i = 0; i < n.getLength(); i++) {
>                  name = ((com.google.gwt.xml.client.Element)
> n.item(i)).getAttribute("name");
>                  side = ((com.google.gwt.xml.client.Element)
> n.item(i)).getAttribute("side");
>                  indic = ((com.google.gwt.xml.client.Element)
> n.item(i)).getChildNodes().item(0).toString();
>                  new Note(name + ((null == side) ? "" : ("_" + side)),
> indic);
>              }
>          }
>      }
>
> Is this just normal Java? What am I missing here? To use Note(), I want
> parseBodyInfo to be a friend of the enclosing class
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to