public DocumentType(string name, Document doc, string publicId = "", string systemId = "") : base(doc) { this.name = name; this.publicId = publicId; this.systemId = systemId; }
public NodeDom4(Document doc) : base(doc) { //if (this.parentNode == null) //{ //} }
public Node(Document doc) { ownerDocument = doc; _parentNode = doc; //if (_parentNode == null) //{ //} }
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) //{ //} }
public CharacterData(string data, Document doc) : base(doc) { _data = data; }
public DocumentFragment(Document doc) : base(doc) { }
public ProcessingInstruction(string target, Document doc, string data = null) : base(data, doc) { this.target = target; }
public Comment(string text, Document doc) : base(text, doc) { }
public Element(string localName, List<Attr> attributes, Document doc) : this(localName, doc) { this.attributes = attributes; }
public Text(string data, Document doc) : base(data, doc) { }