com.palserv.XMidi
Class JAXP

java.lang.Object
  |
  +--com.palserv.XMidi.JAXP
All Implemented Interfaces:
Parser

public class JAXP
extends java.lang.Object
implements Parser

This is the helper class for the Sun JAXP parser. This class allows the JAXP parser to be used with the rest of the com.palserv.XMidi package.


Constructor Summary
JAXP()
          The default public constructor must be public so it can be invoked "by name".
 
Method Summary
 org.w3c.dom.Document getNewDoc()
          Simply return a new (empty) Document
 org.w3c.dom.Document parseXML(java.lang.String fid)
          Parse the XML and return a DOM Document
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXP

public JAXP()
The default public constructor must be public so it can be invoked "by name". See the Util.getDoc method for how it is used.
Method Detail

parseXML

public org.w3c.dom.Document parseXML(java.lang.String fid)
Parse the XML and return a DOM Document
Specified by:
parseXML in interface Parser
Parameters:
String - the filename of the XML document

getNewDoc

public org.w3c.dom.Document getNewDoc()
Simply return a new (empty) Document
Specified by:
getNewDoc in interface Parser
Returns:
Document