com.cleancode.xml
Class SimpleValidate

java.lang.Object
  extended by com.cleancode.xml.SimpleValidate

public class SimpleValidate
extends Object

Tiny utility to run a basic XML Schema Validation using Xerces.

Since:
CleanCode 0.9
Version:
$Revision: 9 $
Author:
Michael Sorens

Field Summary
static String JAXP_SCHEMA_LANGUAGE
          JAXP 1.2 schema language value.
static String JAXP_SCHEMA_SOURCE
          JAXP 1.2 schema source value.
static String W3C_XML_SCHEMA
          JAXP 1.2 XML schema value.
 
Constructor Summary
SimpleValidate()
           
 
Method Summary
static void main(String[] args)
          Main program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAXP_SCHEMA_LANGUAGE

public static final String JAXP_SCHEMA_LANGUAGE
JAXP 1.2 schema language value.

See Also:
Constant Field Values

W3C_XML_SCHEMA

public static final String W3C_XML_SCHEMA
JAXP 1.2 XML schema value.

See Also:
Constant Field Values

JAXP_SCHEMA_SOURCE

public static final String JAXP_SCHEMA_SOURCE
JAXP 1.2 schema source value.

See Also:
Constant Field Values
Constructor Detail

SimpleValidate

public SimpleValidate()
Method Detail

main

public static void main(String[] args)
                 throws ParserConfigurationException
Main program.

Parameters:
args - command-line arguments
Throws:
ParserConfigurationException - if problem initializing parser


CleanCode Java Libraries Copyright © 2001-2012 Michael Sorens - Revised 2012.12.10 Get CleanCode at SourceForge.net. Fast, secure and Free Open Source software downloads