Examples of validate()


Examples of ptolemy.data.expr.Variable.validate()

                        // Force all dependents to re-evaluate.
                        // This makes the parameters in the actors of
                        // the refinement take on new values immediately
                        // after the action is committed.
                        destination.validate();

                        if (_debugging) {
                            _debug(getFullName() + " variable: "
                                    + destination.getName() + ", value: "
                                    + token);
View Full Code Here

Examples of ptolemy.kernel.util.Settable.validate()

                // NOTE: We used to catch exceptions here and issue
                // a warning only, but this has the side effect of blocking
                // the mechanism in PtolemyQuery that carefully prompts
                // the user for corrected parameter values.
                try {
                    param.validate();

                    // Also validate derived objects.
                    Iterator derivedParams = ((NamedObj) param)
                            .getDerivedList().iterator();
View Full Code Here

Examples of quickfix.DataDictionary.validate()

            DataDictionaryProvider provider = session.getDataDictionaryProvider();
            if (provider != null) {
                try {
                    ApplVerID applVerID = getApplVerID(session, message);
                    DataDictionary appDataDictionary = provider.getApplicationDataDictionary(applVerID);
                    appDataDictionary.validate(message, true);
                } catch (Exception e) {
                    LogUtil.logThrowable(sessionID, "Outgoing message failed validation: "
                            + e.getMessage(), e);
                    return;
                }
View Full Code Here

Examples of railo.runtime.db.DataSource.validate()

                sct.setEL("connectionTimeout",d.getConnectionTimeout()<1?"":Caster.toString(d.getConnectionTimeout()));
                sct.setEL("metaCacheTimeout",Caster.toDouble(d.getMetaCacheTimeout()));
                sct.setEL("custom",d.getCustoms());
                sct.setEL("blob",Boolean.valueOf(d.isBlob()));
                sct.setEL("clob",Boolean.valueOf(d.isClob()));
                sct.setEL("validate",Boolean.valueOf(d.validate()));
                sct.setEL("storage",Boolean.valueOf(d.isStorage()));

              if (d instanceof DataSourceImpl) {

                sct.setEL("dbdriver", Caster.toString( ((DataSourceImpl)d).getDbDriver(), "" ));
View Full Code Here

Examples of reportgen.math.MathExpression.validate()

            Message.warning(this, "Выберите один из вариантов");
        } else {
            try {
                if(!(val instanceof MathExpressionFunction)
                        && !(val instanceof MathExpressionEmphases)) {
                    val.validate();
                }
                setDlgResult(true);
                setVisible(false);
            } catch (ReportException ex) {
                Message.warning(this, ex);
View Full Code Here

Examples of slash.navigation.download.actions.Validator.validate()

    private boolean validate() throws IOException {
        updateState(download, Validating);

        Validator validator = new Validator(download);
        validator.validate();

        if (!validator.existTargets()) {
            updateState(download, NoFileError);
            return false;
        } else if (!validator.isChecksumValid()) {
View Full Code Here

Examples of statement.StatementDocument.validate()

    {
        // load the xml instance into the store and return a
        // strongly typed instance of StatementDocument
        StatementDocument stmtDoc = StatementDocument.Factory.parse( new File( args[ 0 ] ) );

        System.out.println( "Valid statement instance? " + stmtDoc.validate() );

        float balance = balanceOutOfOrder(stmtDoc);

        System.out.println( "Ending balance: $" + balance );
View Full Code Here

Examples of streamer.Pipeline.validate()

                public void run() {
                    _socket = new AprSocketWrapperImpl("socket", sslState);
                    Pipeline pipeline = new PipelineImpl("Client");
                    pipeline.add(_socket, _client);
                    pipeline.link("socket", _client.getId(), "socket");
                    pipeline.validate();

                    InetSocketAddress address = new InetSocketAddress(host, port);
                    ConsoleProxy.ensureRoute(host);

                    try {
View Full Code Here

Examples of streamer.PipelineImpl.validate()

                public void run() {
                    _socket = new AprSocketWrapperImpl("socket", sslState);
                    Pipeline pipeline = new PipelineImpl("Client");
                    pipeline.add(_socket, _client);
                    pipeline.link("socket", _client.getId(), "socket");
                    pipeline.validate();

                    InetSocketAddress address = new InetSocketAddress(host, port);
                    ConsoleProxy.ensureRoute(host);

                    try {
View Full Code Here

Examples of sun.security.validator.Validator.validate()

        ks.setCertificateEntry("ca2", createPath(c2)[0]);
        Validator v = Validator.getInstance
            (Validator.TYPE_PKIX, Validator.VAR_GENERIC, ks);
        // Validating chain (u1, c1)
        X509Certificate[] chain1 = createPath(u1 + c1);
        for (X509Certificate c: v.validate(chain1)) {
            System.out.println("   " + c.getSubjectX500Principal() +
                    " issued by " + c.getIssuerX500Principal());
        }
        // Validating chain (u2, c2)
        X509Certificate[] chain2 = createPath(u2 + c2);
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.