Package com.alibaba.citrus.util

Examples of com.alibaba.citrus.util.ToStringBuilder.format()


    @Override
    public String toString() {
        ToStringBuilder buf = new ToStringBuilder();

        buf.format("Contribution[toConfigurationPoint=%s, name=%s, type=%s, class=%s]",
                getConfigurationPoint().getName(), getName(), getType(), implementationClassName).start();

        buf.append(getSchemas());

        return buf.end().toString();
View Full Code Here


    @Override
    public String toString() {
        ToStringBuilder buf = new ToStringBuilder();

        buf.format("Schemas[");

        if (mainSchema == null) {
            buf.format("missing main schema");
        } else if (mainSchema.getTargetNamespace() == null) {
            buf.format("%s", mainSchema.getName());
View Full Code Here

        ToStringBuilder buf = new ToStringBuilder();

        buf.format("Schemas[");

        if (mainSchema == null) {
            buf.format("missing main schema");
        } else if (mainSchema.getTargetNamespace() == null) {
            buf.format("%s", mainSchema.getName());
        } else {
            buf.format("%s, targetNamespace=%s", mainSchema.getName(), mainSchema.getTargetNamespace());
        }
View Full Code Here

        buf.format("Schemas[");

        if (mainSchema == null) {
            buf.format("missing main schema");
        } else if (mainSchema.getTargetNamespace() == null) {
            buf.format("%s", mainSchema.getName());
        } else {
            buf.format("%s, targetNamespace=%s", mainSchema.getName(), mainSchema.getTargetNamespace());
        }

        buf.format(", %d versioned schemas]", getVersions().length).start();
View Full Code Here

        if (mainSchema == null) {
            buf.format("missing main schema");
        } else if (mainSchema.getTargetNamespace() == null) {
            buf.format("%s", mainSchema.getName());
        } else {
            buf.format("%s, targetNamespace=%s", mainSchema.getName(), mainSchema.getTargetNamespace());
        }

        buf.format(", %d versioned schemas]", getVersions().length).start();

        for (String version : getVersions()) {
View Full Code Here

            buf.format("%s", mainSchema.getName());
        } else {
            buf.format("%s, targetNamespace=%s", mainSchema.getName(), mainSchema.getTargetNamespace());
        }

        buf.format(", %d versioned schemas]", getVersions().length).start();

        for (String version : getVersions()) {
            buf.format("version %s: %s%n", version, getVersionedSchema(version));
        }
View Full Code Here

        }

        buf.format(", %d versioned schemas]", getVersions().length).start();

        for (String version : getVersions()) {
            buf.format("version %s: %s%n", version, getVersionedSchema(version));
        }

        return buf.end().toString();
    }
}
View Full Code Here

        }

        if (log.isDebugEnabled() && !uriToNameMappings.isEmpty()) {
            ToStringBuilder buf = new ToStringBuilder();

            buf.format("Loaded Spring schema mappings at %s, %d schemas found.", SCHEMA_MAPPINGS_LOCATION,
                    uriToNameMappings.size()).appendMap(uriToNameMappings);

            log.debug(buf.toString());
        }
    }
View Full Code Here

    @Override
    public String toString() {
        ToStringBuilder buf = new ToStringBuilder();

        buf.format("SpringPluggableSchemas[loaded from %s]", SCHEMA_MAPPINGS_LOCATION);
        buf.appendMap(uriToNameMappings);

        return buf.toString();
    }
}
View Full Code Here

        ToStringBuilder buf = new ToStringBuilder();

        buf.append(getBeanDescription()).start();

        for (RequestContextFactory<?> factory : factories) {
            buf.format("  %s with features %s, ordering %s\n", factory.getRequestContextInterface().getSimpleName(),
                    asList(factory.getFeatures()), asList(factory.featureOrders()));
        }

        return buf.end().toString();
    }
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.