|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.se.validation.service.ValidationService
public class ValidationService
The Validation service.
| Constructor Summary | |
|---|---|
ValidationService(java.util.logging.Logger logger)
Constructor. |
|
| Method Summary | |
|---|---|
void |
filter(org.ow2.petals.component.framework.api.message.Exchange exchange,
javax.xml.validation.Schema xsdSchema)
Implementation of the filter operation. |
void |
validate(org.ow2.petals.component.framework.api.message.Exchange exchange,
javax.xml.validation.Schema xsdSchema)
Implementation of the validate operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationService(java.util.logging.Logger logger)
logger - the component's logger| Method Detail |
|---|
public void filter(org.ow2.petals.component.framework.api.message.Exchange exchange,
javax.xml.validation.Schema xsdSchema)
throws javax.jbi.messaging.MessagingException,
org.ow2.petals.component.framework.api.exception.PEtALSCDKException
If the message is valid, it is forwarded on the OUT. Otherwise, a Fault is set.
exchange - the exchangexsdSchema - the XML schema instance
javax.jbi.messaging.MessagingException - if the fault could be set on the exchange
org.ow2.petals.component.framework.api.exception.PEtALSCDKException - if the fault could not be created
public void validate(org.ow2.petals.component.framework.api.message.Exchange exchange,
javax.xml.validation.Schema xsdSchema)
throws javax.jbi.messaging.MessagingException,
org.ow2.petals.component.framework.api.exception.PEtALSCDKException
If message is valid, it is forwarded on the OUT. Otherwise, a Fault is set.
exchange - the exchangexsdSchema - the XML schema instance
javax.jbi.messaging.MessagingException - if the fault could be set on the exchange
org.ow2.petals.component.framework.api.exception.PEtALSCDKException - if the fault could not be created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||