Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.dt.patterns.metadata.validator
Class ApplicationsTableValidator

java.lang.Object
  extended by oracle.bali.xml.validator.CachingValidatorCallback
      extended by oracle.bali.xml.validator.BaseValidatorCallback
          extended by oracle.apps.fnd.applcore.dt.patterns.metadata.validator.ApplicationsTableValidator
All Implemented Interfaces:
oracle.bali.xml.validator.ValidatorCallback

public class ApplicationsTableValidator
extends oracle.bali.xml.validator.BaseValidatorCallback

Class that acts as a custom xmlef validator callback for applicationsTable.

Author:
David Groves <david.groves@oracle.com>

Constructor Summary
ApplicationsTableValidator()
           
 
Method Summary
 void validateAttribute(org.w3c.dom.Attr attr, org.xml.sax.ErrorHandler errorhandler)
          Validate the attribute.
 void validateDocument(org.w3c.dom.Document document, org.xml.sax.ErrorHandler errorhandler)
          Validate the entire document.
 void validateElement(org.w3c.dom.Element element, org.xml.sax.ErrorHandler errorhandler)
          Validate the Element.
 void validatePopup(org.w3c.dom.Element applicationsTable, org.xml.sax.ErrorHandler errorhandler, java.lang.String popupIdName, java.lang.String patternTypeName, java.lang.String messagePrefix)
          Validate the popup attributes, including the sub-element.
 
Methods inherited from class oracle.bali.xml.validator.BaseValidatorCallback
__ensureContextIsAttached, error, getCache, getCacheForThread, getContext, warning, warning
 
Methods inherited from class oracle.bali.xml.validator.CachingValidatorCallback
disableCaching, enableCaching, getCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationsTableValidator

public ApplicationsTableValidator()
Method Detail

validatePopup

public void validatePopup(org.w3c.dom.Element applicationsTable,
                          org.xml.sax.ErrorHandler errorhandler,
                          java.lang.String popupIdName,
                          java.lang.String patternTypeName,
                          java.lang.String messagePrefix)
Validate the popup attributes, including the sub-element.

Parameters:
applicationsTable - Dom applicationsTable element to validate.
errorhandler - error handler to add errors and warnings to.
popupIdName - name of the popupId attribute, example createPopupId
patternTypeName - name of the pattern type attribute, example createPatternType
messagePrefix - messages string to be concatenated into message strings to get the right translated message for the error/warning. For example, "DUP" may lead to message TABLE_WARN_DUP_POPUP_NOT_REQ.

validateElement

public void validateElement(org.w3c.dom.Element element,
                            org.xml.sax.ErrorHandler errorhandler)
Validate the Element.

Parameters:
element - Element to validate
errorhandler - error handler to add errors to.

validateAttribute

public void validateAttribute(org.w3c.dom.Attr attr,
                              org.xml.sax.ErrorHandler errorhandler)
Validate the attribute.

Parameters:
attr - attribute to validate
errorhandler - error handler to add errors to.

validateDocument

public void validateDocument(org.w3c.dom.Document document,
                             org.xml.sax.ErrorHandler errorhandler)
Validate the entire document.

Parameters:
document - Dom document to validate
errorhandler - error handler to add errors to.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.