issrg.editor2.configurations
Class TAPFileParser

java.lang.Object
  extended by issrg.editor2.configurations.TAPFileParser

public class TAPFileParser
extends java.lang.Object

Verifies if the inputted TAP file is a valid one.

Author:
Christian Azzopardi

Field Summary
 org.w3c.dom.Document document
           
 java.lang.String parsingError
           
 
Constructor Summary
TAPFileParser(java.lang.String TAPpath, java.lang.String schemaPath)
          Creates a new instance of TAPFileParser
 
Method Summary
 java.lang.String getErrorMessage()
           
 boolean validateDocument()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

public org.w3c.dom.Document document

parsingError

public java.lang.String parsingError
Constructor Detail

TAPFileParser

public TAPFileParser(java.lang.String TAPpath,
                     java.lang.String schemaPath)
Creates a new instance of TAPFileParser

Method Detail

validateDocument

public boolean validateDocument()

getErrorMessage

public java.lang.String getErrorMessage()