Class CMNodeFactory


  • public class CMNodeFactory
    extends Object
    Version:
    $Id$
    Author:
    Neeraj Bajaj
    • Constructor Detail

      • CMNodeFactory

        public CMNodeFactory()
        default constructor
    • Method Detail

      • reset

        public void reset()
      • getCMLeafNode

        public CMNode getCMLeafNode​(int type,
                                    Object leaf,
                                    int id,
                                    int position)
      • getCMRepeatingLeafNode

        public CMNode getCMRepeatingLeafNode​(int type,
                                             Object leaf,
                                             int minOccurs,
                                             int maxOccurs,
                                             int id,
                                             int position)
      • getCMUniOpNode

        public CMNode getCMUniOpNode​(int type,
                                     CMNode childNode)
      • getCMBinOpNode

        public CMNode getCMBinOpNode​(int type,
                                     CMNode leftNode,
                                     CMNode rightNode)
      • nodeCountCheck

        public void nodeCountCheck()
      • resetNodeCount

        public void resetNodeCount()
      • setProperty

        public void setProperty​(String propertyId,
                                Object value)
                         throws XMLConfigurationException
        Sets the value of a property. This method is called by the component manager any time after reset when a property changes value.

        Note: Components should silently ignore properties that do not affect the operation of the component.

        Parameters:
        propertyId - The property identifier.
        value - The value of the property.
        Throws:
        SAXNotRecognizedException - The component should not throw this exception.
        SAXNotSupportedException - The component should not throw this exception.
        XMLConfigurationException