Ejemplo n.º 1
0
 public DocumentType(string name, Document doc, string publicId = "", string systemId = "")
     : base(doc)
 {
     this.name = name;
     this.publicId = publicId;
     this.systemId = systemId;
 }
Ejemplo n.º 2
0
        public NodeDom4(Document doc)
            : base(doc)
        {
            //if (this.parentNode == null)
            //{

            //}
        }
Ejemplo n.º 3
0
        public Node(Document doc)
        {
            ownerDocument = doc;
            _parentNode = doc;
            //if (_parentNode == null)
            //{

            //}
        }
Ejemplo n.º 4
0
        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)
            //{

            //}
        }
Ejemplo n.º 5
0
 public CharacterData(string data, Document doc)
     : base(doc)
 {
     _data = data;
 }
Ejemplo n.º 6
0
 public DocumentFragment(Document doc)
     : base(doc)
 {
 }
Ejemplo n.º 7
0
 public ProcessingInstruction(string target, Document doc, string data = null)
     : base(data, doc)
 {
     this.target = target;
 }
Ejemplo n.º 8
0
 public Comment(string text, Document doc)
     : base(text, doc)
 {
 }
Ejemplo n.º 9
0
 public Element(string localName, List<Attr> attributes, Document doc)
     : this(localName, doc)
 {
     this.attributes = attributes;
 }
Ejemplo n.º 10
0
 public Text(string data, Document doc)
     : base(data, doc)
 {
 }