Examples of validate()


Examples of org.apache.cxf.service.ServiceBuilder.validate()

        builderFactory.setDatabindingName(getDataBindingName());
        // The service class determines the frontend, so no need to pass it in
        // twice.
        ServiceBuilder builder = builderFactory.newBuilder();

        builder.validate();

        builder.setTransportId(getTransportId());
        builder.setBus(getBus());
        builder.setBindingId(getBindingId());
View Full Code Here

Examples of org.apache.cxf.tools.wsdlto.core.AbstractWSDLBuilder.validate()

                builder.customize();
                Definition definition = builder.getWSDLModel();

                context.put(Definition.class, definition);

                builder.validate(definition);

                WSDLServiceBuilder serviceBuilder = new WSDLServiceBuilder(getBus());
                if (context.isVerbose()) {
                    serviceBuilder.setUnwrapLogLevel(Level.INFO);
                }
View Full Code Here

Examples of org.apache.derby.iapi.services.property.PropertySetCallback.validate()

     if (notifyOnSet != null) {
      synchronized (this) {

        for (int i = 0; i < notifyOnSet.size() ; i++) {
          PropertySetCallback psc = (PropertySetCallback) notifyOnSet.get(i);
          if (!psc.validate(key, value, d))
            continue;

          // if this property should not be used then
          // don't call apply. This depends on where
          // the old value comes from
View Full Code Here

Examples of org.apache.derby.iapi.sql.ParameterValueSet.validate()

    {
      wasNull = false;
      ParameterValueSet pvs = getParms();
      try
      {
        pvs.validate();

      } catch (StandardException e)
      {
        throw EmbedResultSet.noStateChangeException(e);
      }
View Full Code Here

Examples of org.apache.falcon.client.FalconClient.validate()

            validateColo(optionsList);
            result = client.submitAndSchedule(entityType, filePath);
        } else if (optionsList.contains(VALIDATE_OPT)) {
            validateFilePath(filePath);
            validateColo(optionsList);
            result = client.validate(entityType, filePath);
        } else if (optionsList.contains(SCHEDULE_OPT)) {
            validateEntityName(entityName);
            colo = getColo(colo);
            result = client.schedule(entityType, entityName, colo);
        } else if (optionsList.contains(SUSPEND_OPT)) {
View Full Code Here

Examples of org.apache.falcon.entity.parser.EntityParser.validate()

    }

    @SuppressWarnings({"unchecked", "rawtypes"})
    private void validate(Entity entity) throws FalconException {
        EntityParser entityParser = EntityParserFactory.getParser(entity.getEntityType());
        entityParser.validate(entity);
    }

    private String getAsString(InputStream xmlStream) throws IOException {
        byte[] data = new byte[XML_DEBUG_LEN];
        IOUtils.readFully(xmlStream, data, 0, XML_DEBUG_LEN);
View Full Code Here

Examples of org.apache.felix.scr.impl.metadata.ComponentMetadata.validate()

                    {
                        key = m_componentRegistry.checkComponentName( m_bundle, metadata.getName() );
                    }

                    // validate the component metadata
                    metadata.validate( this );

                    // Request creation of the component manager
                    ComponentHolder<?> holder = m_componentRegistry.createComponentHolder( this, metadata );

                    // register the component after validation
View Full Code Here

Examples of org.apache.felix.scrplugin.helper.Validator.validate()

        final DescriptionContainer module = new DescriptionContainer(this.options);
        for (final ComponentContainer container : processedContainers) {
            final int errorCount = iLog.getNumberOfErrors();

            final Validator validator = new Validator(container, project, options, iLog);
            validator.validate();

            // ignore component if it has errors
            if (iLog.getNumberOfErrors() == errorCount) {
                module.add(container);
            }
View Full Code Here

Examples of org.apache.fop.viewer.PreviewDialog.validate()

    protected PreviewDialog createPreviewDialog(
                AWTRenderer renderer,
                Translator res) {
        PreviewDialog frame = new PreviewDialog(renderer, res);
        frame.validate();
        frame.addWindowListener(new WindowAdapter() {
                public void windowClosed(WindowEvent we) {
                    System.exit(0);
                }
            });
View Full Code Here

Examples of org.apache.fulcrum.intake.model.Field.validate()

                     * reference field might have been set but not
                     * yet validated. We check this here.
                     */
                    if (!refField.isValidated())
                    {
                        refField.validate();
                    }
                   
                    if (refField.isValid())
                    {
                        try
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.