com.sapportals.wcm.service.xmlforms.validation

Interface IPropertyValidator


public interface IPropertyValidator


Method Summary
 int getErrorNumbers()
          number of errors encountered; if 0 xml is valid
 void insertErrorsIntoDom(Document doc)
          serialized XML as read from input including error tags if any
 void setMandatoryFields(Set mandatory)
           
 boolean supportsMandatory()
           
 int validate(Properties properties)
          start the validation
 

Method Detail

validate

int validate(Properties properties)
start the validation

Returns:
the number of errors

insertErrorsIntoDom

void insertErrorsIntoDom(Document doc)
serialized XML as read from input including error tags if any


getErrorNumbers

int getErrorNumbers()
number of errors encountered; if 0 xml is valid


supportsMandatory

boolean supportsMandatory()

setMandatoryFields

void setMandatoryFields(Set mandatory)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM


Copyright 2012 SAP AG Complete Copyright Notice