コード例 #1
0
ファイル: DocumentType.cs プロジェクト: Alister742/ParseKit
 public DocumentType(string name, Document doc, string publicId = "", string systemId = "")
     : base(doc)
 {
     this.name = name;
     this.publicId = publicId;
     this.systemId = systemId;
 }
コード例 #2
0
ファイル: NodeDom4.cs プロジェクト: Alister742/ParseKit
        public NodeDom4(Document doc)
            : base(doc)
        {
            //if (this.parentNode == null)
            //{

            //}
        }
コード例 #3
0
ファイル: Node.cs プロジェクト: Alister742/ParseKit
        public Node(Document doc)
        {
            ownerDocument = doc;
            _parentNode = doc;
            //if (_parentNode == null)
            //{

            //}
        }
コード例 #4
0
ファイル: Element.cs プロジェクト: Alister742/ParseKit
        public Element(string localName, Document doc, string namespaceURI = null, string prefix = null)
            : base(doc)
        {
            if (attributes == null)
            {
                attributes = new List<Attr>();
            }

            this.localName = localName;
            this.namespaceURI = namespaceURI;
            this.prefix = prefix;

            //if (this.parentNode == null)
            //{

            //}
        }
コード例 #5
0
ファイル: CharacterData.cs プロジェクト: Alister742/ParseKit
 public CharacterData(string data, Document doc)
     : base(doc)
 {
     _data = data;
 }
コード例 #6
0
 public DocumentFragment(Document doc)
     : base(doc)
 {
 }
コード例 #7
0
 public ProcessingInstruction(string target, Document doc, string data = null)
     : base(data, doc)
 {
     this.target = target;
 }
コード例 #8
0
ファイル: Comment.cs プロジェクト: Alister742/ParseKit
 public Comment(string text, Document doc)
     : base(text, doc)
 {
 }
コード例 #9
0
ファイル: Element.cs プロジェクト: Alister742/ParseKit
 public Element(string localName, List<Attr> attributes, Document doc)
     : this(localName, doc)
 {
     this.attributes = attributes;
 }
コード例 #10
0
ファイル: Text.cs プロジェクト: Alister742/ParseKit
 public Text(string data, Document doc)
     : base(data, doc)
 {
 }