Example #1
0
        public XmlRootState(
            XmlTagState tagState,
            XmlClosingTagState closingTagState,
            XmlCommentState commentState,
            XmlCDataState cDataState,
            XmlDocTypeState docTypeState,
            XmlProcessingInstructionState processingInstructionState,
            XmlTextState textState)
        {
            TagState                   = tagState;
            ClosingTagState            = closingTagState;
            CommentState               = commentState;
            CDataState                 = cDataState;
            DocTypeState               = docTypeState;
            ProcessingInstructionState = processingInstructionState;
            TextState                  = textState;

            Adopt(TagState);
            Adopt(ClosingTagState);
            Adopt(CommentState);
            Adopt(CDataState);
            Adopt(DocTypeState);
            Adopt(ProcessingInstructionState);
            Adopt(TextState);
        }
Example #2
0
        public XmlRootState(
            XmlTagState tagState,
            XmlClosingTagState closingTagState,
            XmlCommentState commentState,
            XmlCDataState cDataState,
            XmlDocTypeState docTypeState,
            XmlProcessingInstructionState processingInstructionState)
        {
            this.tagState                   = tagState;
            this.closingTagState            = closingTagState;
            this.commentState               = commentState;
            this.cDataState                 = cDataState;
            this.docTypeState               = docTypeState;
            this.processingInstructionState = processingInstructionState;

            Adopt(this.TagState);
            Adopt(this.ClosingTagState);
            Adopt(this.CommentState);
            Adopt(this.CDataState);
            Adopt(this.DocTypeState);
            Adopt(this.ProcessingInstructionState);
        }
Example #3
0
		public XmlRootState (
			XmlTagState tagState,
			XmlClosingTagState closingTagState,
			XmlCommentState commentState,
			XmlCDataState cDataState,
			XmlDocTypeState docTypeState,
		        XmlProcessingInstructionState processingInstructionState)
		{
			this.tagState = tagState;
			this.closingTagState = closingTagState;
			this.commentState = commentState;
			this.cDataState = cDataState;
			this.docTypeState = docTypeState;
			this.processingInstructionState = processingInstructionState;
			
			Adopt (this.TagState);
			Adopt (this.ClosingTagState);
			Adopt (this.CommentState);
			Adopt (this.CDataState);
			Adopt (this.DocTypeState);
			Adopt (this.ProcessingInstructionState);
		}
Example #4
0
 public XmlRootState(XmlTagState tagState, XmlClosingTagState closingTagState)
     : this(tagState, closingTagState, new XmlCommentState(), new XmlCDataState(),
            new XmlDocTypeState(), new XmlProcessingInstructionState())
 {
 }
Example #5
0
		public XmlRootState (XmlTagState tagState, XmlClosingTagState closingTagState)
			: this (tagState, closingTagState, new XmlCommentState (), new XmlCDataState (),
			  new XmlDocTypeState (), new XmlProcessingInstructionState ()) {}