public FacesConfigValidatorType<FacesConfigType<T>> getOrCreateValidator()
   {
      List<Node> nodeList = childNode.get("validator");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new FacesConfigValidatorTypeImpl<FacesConfigType<T>>(this, "validator", childNode, nodeList.get(0));
      }
      return createValidator();
   }
public FacesConfigValidatorType < FacesConfigType < T > > getOrCreateValidator ( ) { List < Node > nodeList = childNode . get ( "validator" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new FacesConfigValidatorTypeImpl < FacesConfigType < T > > ( this , "validator" , childNode , nodeList . get ( 0 ) ) ; } return createValidator ( ) ; }
If not already created, a new <code>validator</code> element will be created and returned.
Otherwise, the first existing <code>validator</code> element will be returned.
@return the instance defined for the element <code>validator</code>