com.sun.xml.ws.util.pipe
Class AbstractSchemaValidationTube

java.lang.Object
  extended by com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
      extended by com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
          extended by com.sun.xml.ws.util.pipe.AbstractSchemaValidationTube
All Implemented Interfaces:
Pipe, Tube
Direct Known Subclasses:
ClientSchemaValidationTube, ServerSchemaValidationTube

public abstract class AbstractSchemaValidationTube
extends AbstractFilterTubeImpl

Tube that does the schema validation.


Nested Class Summary
protected  class AbstractSchemaValidationTube.MetadataResolverImpl
           
 
Field Summary
protected  WSBinding binding
           
protected  SchemaValidationFeature feature
           
protected  DocumentAddressResolver resolver
           
protected  SchemaFactory sf
           
 
Fields inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
next
 
Constructor Summary
protected AbstractSchemaValidationTube(AbstractSchemaValidationTube that, TubeCloner cloner)
           
  AbstractSchemaValidationTube(WSBinding binding, Tube next)
           
 
Method Summary
protected  void doProcess(Packet packet)
           
protected  Source[] getSchemaSources(Iterable<SDDocument> docs, AbstractSchemaValidationTube.MetadataResolverImpl mdresolver)
           
protected abstract  Validator getValidator()
           
protected abstract  boolean isNoValidation()
           
 
Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
preDestroy, processException, processRequest, processResponse
 
Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
copy, copy, doInvoke, doInvokeAndForget, doReturnWith, doSuspend, doSuspend, doSuspend, doSuspend, doThrow, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

binding

protected final WSBinding binding

feature

protected final SchemaValidationFeature feature

resolver

protected final DocumentAddressResolver resolver

sf

protected final SchemaFactory sf
Constructor Detail

AbstractSchemaValidationTube

public AbstractSchemaValidationTube(WSBinding binding,
                                    Tube next)

AbstractSchemaValidationTube

protected AbstractSchemaValidationTube(AbstractSchemaValidationTube that,
                                       TubeCloner cloner)
Method Detail

getValidator

protected abstract Validator getValidator()

isNoValidation

protected abstract boolean isNoValidation()

getSchemaSources

protected Source[] getSchemaSources(Iterable<SDDocument> docs,
                                    AbstractSchemaValidationTube.MetadataResolverImpl mdresolver)

doProcess

protected void doProcess(Packet packet)
                  throws SAXException
Throws:
SAXException


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.