Package org.jboss.dna.common.collection

Examples of org.jboss.dna.common.collection.SimpleProblems


                              Problems problems ) {
        CheckArg.isNotNull(configurationSource, "configurationSource");
        CheckArg.isNotNull(context, "context");
        PathFactory pathFactory = context.getValueFactories().getPathFactory();
        if (pathToConfigurationRoot == null) pathToConfigurationRoot = pathFactory.create("/dna:system");
        if (problems == null) problems = new SimpleProblems();
        Path sourcesPath = pathFactory.create(pathToConfigurationRoot, DnaLexicon.SOURCES);

        this.sources = new RepositoryLibrary(configurationSource, configurationWorkspaceName, sourcesPath, context);
        this.sources.addSource(configurationSource);
        this.pathToConfigurationRoot = pathToConfigurationRoot;
View Full Code Here


*/
@Immutable
public class MockSequencerContext extends StreamSequencerContext {

    public MockSequencerContext() {
        super(new ExecutionContext(), null, null, null, new SimpleProblems());
        getNamespaceRegistry().register("dnadtd", "http://www.jboss.org/dna/dtd/1.0");
        getNamespaceRegistry().register("dnaxml", "http://www.jboss.org/dna/xml/1.0");
    }
View Full Code Here

        this(new ExecutionContext(), inputPath);
    }

    public MockSequencerContext( ExecutionContext context,
                                 String inputPath ) {
        super(context, context.getValueFactories().getPathFactory().create(inputPath), null, null, new SimpleProblems());
        getNamespaceRegistry().register("dnadtd", "http://www.jboss.org/dna/dtd/1.0");
        getNamespaceRegistry().register("dnaxml", "http://www.jboss.org/dna/xml/1.0");
    }
View Full Code Here

TOP

Related Classes of org.jboss.dna.common.collection.SimpleProblems

Copyright © 2018 www.massapicom. 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.