예제 #1
0
 public XmlParseActivityBuilder(XslBuilder xslBuilder, XmlParserHelperBuilder xmlParserHelperBuilder, XsdBuilder xsdBuilder, XsdParser xsdParser)
 {
     this.xslBuilder             = xslBuilder;
     this.xmlParserHelperBuilder = xmlParserHelperBuilder;
     this.xsdBuilder             = xsdBuilder;
     this.xsdParser = xsdParser;
 }
예제 #2
0
        public List <XslSyntaxElement> BuildSyntax(string packageName, IEnumerable <XNode> inputNodes)
        {
            var xslSyntaxElements = new List <XslSyntaxElement> ();

            if (inputNodes == null)
            {
                return(xslSyntaxElements);
            }

            foreach (var inputNode in inputNodes)
            {
                var element    = (XElement)inputNode;
                var xslElement = new XslSyntaxElement
                {
                    Name        = element.Name.LocalName,
                    ReturnType  = XslBuilder.DefineReturnType(null, element),
                    PackageName = packageName != null ? packageName : string.Empty,
                    Value       = GetValue(element.Nodes())
                };

                xslSyntaxElements.Add(xslElement);
            }

            return(xslSyntaxElements);
        }
예제 #3
0
 public JdbcQueryActivityBuilder(DataAccessBuilder dataAccessBuilder, DataAccessServiceBuilder dataAccessServiceBuilder, DataAccessInterfacesCommonBuilder dataAccessCommonBuilder, XslBuilder xslBuilder, ResultSetBuilder resultSetBuilder)
 {
     this.dataAccessBuilder        = dataAccessBuilder;
     this.dataAccessServiceBuilder = dataAccessServiceBuilder;
     this.dataAccessCommonBuilder  = dataAccessCommonBuilder;
     this.xslBuilder       = xslBuilder;
     this.resultSetBuilder = resultSetBuilder;
 }
예제 #4
0
        public CodeStatementCollection Build(string packageName, IEnumerable <XNode> inputNodes)
        {
            tab = new Tab();
            var newPackageName   = XslBuilder.FormatCorrectlyPackageName(packageName);
            var xslElementInList = this.BuildSyntax(newPackageName, inputNodes);
            var codeStatements   = new CodeStatementCollection();

            foreach (var element in xslElementInList)
            {
                codeStatements.Add(new CodeSnippetStatement(element.ToString()));
            }
            return(codeStatements);
        }
 public ActivityBuilderFactory()
 {
     this.xpathBuilder                      = new XpathBuilder();
     this.xslBuilder                        = new XslBuilder(this.xpathBuilder);
     this.dataAccessBuilder                 = new DataAccessBuilder();
     this.dataAccessServiceBuilder          = new DataAccessServiceBuilder();
     this.dataAccessInterfacesCommonBuilder = new DataAccessInterfacesCommonBuilder();
     this.resultSetBuilder                  = new ResultSetBuilder();
     this.xmlParserHelperBuilder            = new XmlParserHelperBuilder();
     this.engineCommandServiceHelperBuilder = new EngineCommandServiceHelperBuilder();
     this.xsdBuilder                        = new XsdBuilder();
     this.xsdParser         = new XsdParser();
     this.subscriberBuilder = new SubscriberInterfaceBuilder();
 }
예제 #6
0
 public JavaActivityBuilder(XslBuilder xslBuilder)
 {
     this.xslBuilder = xslBuilder;
 }
 public WriteToLogActivityBuilder(XslBuilder xslBuilder)
 {
     this.xslBuilder = xslBuilder;
 }
 public EngineCommandActivityBuilder(XslBuilder xslBuilder, EngineCommandServiceHelperBuilder engineCommandServiceHelperBuilder, XsdBuilder xsdBuilder)
 {
     this.xslBuilder = xslBuilder;
     this.engineCommandServiceHelperBuilder = engineCommandServiceHelperBuilder;
 }
예제 #9
0
 public SetSharedVariableActivityBuilder(XslBuilder xslBuilder) : base()
 {
     this.xslBuilder = xslBuilder;
 }
예제 #10
0
 public SleepActivityBuilder(XslBuilder xslBuilder)
 {
     this.xslBuilder = xslBuilder;
 }
 public RdvPublishActivityBuilder(XslBuilder xslBuilder)
 {
     this.xslBuilder = xslBuilder;
 }
 public GenerateErrorActivityBuilder(XslBuilder xslBuilder)
 {
     this.xslBuilder = xslBuilder;
 }
예제 #13
0
 public MapperActivityBuilder(XslBuilder xslBuilder, XsdBuilder xsdBuilder, XsdParser xsdParser)
 {
     this.xslBuilder = xslBuilder;
     this.xsdBuilder = xsdBuilder;
     this.xsdParser  = xsdParser;
 }
예제 #14
0
 public AssignActivityBuilder(XslBuilder xslBuilder)
 {
     this.xslBuilder = xslBuilder;
 }
 public CallProcessActivityBuilder(XslBuilder xslBuilder, TibcoBWProcessLinqParser parser)
 {
     this.xslBuilder = xslBuilder;
     this.parser     = parser;
 }