eu.scape_project.xa.tw.gen
Class ToolspecValidator

java.lang.Object
  extended by eu.scape_project.xa.tw.gen.ToolspecValidator

public class ToolspecValidator
extends Object

Version:
0.2
Author:
shsdev https://github.com/shsdev

Constructor Summary
ToolspecValidator(Toolspec toolspec, Configuration ioc)
          Public constructor for a ToolspecValidator from a ToolSpec and a Configuration object
 
Method Summary
 void checkpoint()
           
 boolean isValid()
           
 void validate()
           
 void validateWithXMLSchema()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolspecValidator

public ToolspecValidator(Toolspec toolspec,
                         Configuration ioc)
Public constructor for a ToolspecValidator from a ToolSpec and a Configuration object

Parameters:
toolspec - the toolspec to validate
ioc - a configuration object
Method Detail

validateWithXMLSchema

public void validateWithXMLSchema()
                           throws GeneratorException
Throws:
GeneratorException

validate

public void validate()
              throws GeneratorException
Throws:
GeneratorException

isValid

public boolean isValid()
Returns:
the valid

checkpoint

public void checkpoint()
                throws GeneratorException
Throws:
GeneratorException


Copyright © 2013. All Rights Reserved.