Thursday, August 16, 2012

Jdom CRUD Operations

No comments:
Hi, Jdom CRUD Operations Here is sample code to do some operations like     //Adding elements     public void addElementAtXpath() {         try {             XPath xpath = XPath.newInstance("publishers");            ...
Read More

Wednesday, August 8, 2012

Eclisep Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf

No comments:
Eclisep Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf If you face this issue in eclipse while running a standalone java application. Eclipse will allocate only 384 MB of Java heap memory. based on the type of JRE you are using and...
Read More

Thursday, August 2, 2012

JDOM - How to insert an element, after another

No comments:
JDOM - How to insert an element, after another     private Document document_ = null;     private Element root_ = null;     @Test     public void generateXml() {         //Url path of the file         String filePath = "http://172.................. .xml";    ...
Read More