Hi
With this code you can extend ReadableXMLElement, and use it’s methods to parse an XML File. Here is an example implementation.
package me.CopyableCougar4.xml;
/**
* This is just a wrapper for generic XML parsing
* @author CopyableCougar4
*
*/
public class XMLElementImplementation extends ReadableXMLElement {
/**
* Construct the element.
* @param title
* File name
* @param tag
* Tag for each element that's read
* @param wrapper
* Wrapper element around tag instances
*/
public XMLElementImplementation(String title, String tag, String wrapper) {
super(title, tag, wrapper);
}
@Override
public void parseElement() {
}
}
Pastebin: http://pastebin.java-gaming.org/a354c4d100b1b
Hope someone finds this helpful!
CopyableCougar4