1.

Name Some Of The Important Jdom Methods?

Answer»

When you are working with the JDOM, there are SEVERAL methods you'll use often:

  • SAXBuilder.build(xmlSource) - Build the JDOM document from the xml source.
  • Document.getRootElement() - Get the root element of the XML.
  • Element.getName() - Get the NAME of the XML node.
  • Element.getChildren() - Get all the DIRECT child nodes of an element.
  • Node.getChildren(Name) - Get all the direct child nodes with a given name.
  • Node.getChild(Name) - Get FIRST child node with given name.

When you are working with the JDOM, there are several methods you'll use often:



Discussion

No Comment Found