Examples of RootType


Examples of de.netallied.xsd2Cppsax.saxfwl.RootType

     *            Path to xml config.
     */
    public void start(String pathToXml) {
        try {
            SaxfwlDocument saxfwlDoc = SaxfwlDocument.Factory.parse(new File(pathToXml));
            RootType saxfwl = saxfwlDoc.getSaxfwl();
            config = parseConfig(saxfwl.getConfig());

            for (ClassType classType : saxfwl.getClass1List()) {
                for (Version version : config.getVersions()) {

                    if (classContainsSpecificForVersion(classType, version)) {
                        String className = Utils.createClassName(classType.getName(), version);

View Full Code Here

Examples of org.exolab.castor.tests.framework.testDescriptor.RootType

    public MarshallingFrameworkTestCase(final CastorTestCase test, final UnitTestCase unit,
                                        final MarshallingTest marshalling) {
        super(test, unit);
        _marshallingConf = marshalling;

        RootType rootType = _marshallingConf.getRoot_Object();
        if (rootType == null) {
            throw new IllegalArgumentException("You must give a root object for a Marshaling Test: "
                    + _outputRootFile + ", " +  getName());
        }

        _rootClassName = rootType.getContent();
        if (_rootClassName == null) {
            throw new IllegalArgumentException("You must give a root object for a Marshaling Test:"
                    + _outputRootFile + ", " +  getName());
        }

        _hasRandom = rootType.getRandom();
        _hasDump   = rootType.getDump();
    }
View Full Code Here

Examples of org.exolab.castor.tests.framework.testDescriptor.RootType

                                   final SourceGeneratorTest sourceGen) {
        super(test, unit);
        _sourceGenConf   = sourceGen;
        _sourceGenerator = new TestSourceGenerator(test, unit, sourceGen);

        RootType rootType = _sourceGenConf.getRoot_Object();
        if (rootType == null) {
            throw new IllegalArgumentException("You must give a root object for a Source Generator Test"
                    + _outputRootFile + ", " +  getName());
        }

        _rootClassName    = rootType.getContent();
        if (_rootClassName == null) {
            throw new IllegalArgumentException("You must give a root object for a Source Generator Test"
                    + _outputRootFile + ", " +  getName());
        }

        _hasRandom = rootType.getRandom();
        _hasDump   = rootType.getDump();
       
        ExpectedSources expectedSources = _sourceGenConf.getExpectedSources();
        if (expectedSources != null) {
            String[] expectedSource = expectedSources.getExpectedSource();
            List expectedSourcesList = new ArrayList();
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.