On Tue, Dec 1, 2009 at 15:52, CesarX <[email protected]> wrote: > Excuse me, how can i check if the node have a primary property?. > I wrote the next line of code: > System.out.println("getPrimaryItem: "+contentNode.getPrimaryItem());
That's already the right direction: If the primary item does not exist, getPrimaryItem() will throw an ItemNotFoundException. Regards, Alex -- Alexander Klimetschek [email protected]
