Oracle® Application Server
XML Java API Reference
10g Release 3 (10.1.3)

B28238-01


oracle.xml.pipeline.processes
Class XSDValProcess

java.lang.Object
  extended byoracle.xml.pipeline.controller.Process
      extended byoracle.xml.pipeline.processes.XSDValProcess

All Implemented Interfaces:
ErrorHandler, PipelineConstants, java.lang.Runnable

public class XSDValProcess
extends Process

Extends the pipeline Process class to validate an XML dom node against an xml schema using oracle.xml.parser.schema.XSDValidator. This is different from the DOMParserProcess which only validates an XML Document while the XSDValProcess will validate Document as well as DocumentFragment and Element. This takes a DOM as input while the DOMParserProcess takes an xml stream only. Its parameters are: Inputs - "xml" (dom) Params - "schemaObj" (Object) Outputs - "validatedxml" (dom) Outparams - none


Field Summary

Fields inherited from interface oracle.xml.pipeline.controller.PipelineConstants
COMPSTREAMRESULT, COMPSTREAMSOURCE, DOCFRAG, DOCUMENT, DOMRESULT, DOMSOURCE, ELEMENT, PROCESS_WAITING, SAXRESULT, SAXSOURCE, STREAMRESULT, STREAMSOURCE

Methods inherited from class oracle.xml.pipeline.controller.Process
convertFromDOM, convertFromSAX, convertFromStream, error, execute, getErrorDocument, getErrorSource, getErrorStream, getErrorStream, getInParamValue, getInput, getOutParamValue, getOutput, getOutputStream, getOutputWriter, getSAXContentHandler, getSAXErrorHandler, info, initialize, SAXContentHandler, SAXErrorHandler, setOutputResult

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface java.lang.Runnable
run

Methods inherited from interface org.xml.sax.ErrorHandler
error, fatalError, warning


Oracle® Application Server
XML Java API Reference
10g Release 3 (10.1.3)

B28238-01


Copyright © 2003, 2006, Oracle. All rights reserved.