Skip to content
Snippets Groups Projects
Commit 759fac62 authored by Daniel Espinosa's avatar Daniel Espinosa
Browse files

Added GXml.DocumentType interface

parent a153d571
Branches
Tags
No related merge requests found
/* -*- Mode: vala; indent-tabs-mode: nil; c-basic-offset: 0; tab-width: 2 -*- */
/* ObjectModel.vala
*
* Copyright (C) 2015 Daniel Espinosa <esodan@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Authors:
* Daniel Espinosa <esodan@gmail.com>
*/
using Gee;
/**
* Interface to represent Document type definitions.
*/
public interface GXml.DocumentType : Object, GXml.Node {}
...@@ -17,6 +17,7 @@ sources = \ ...@@ -17,6 +17,7 @@ sources = \
Comment.vala\ Comment.vala\
CDATA.vala \ CDATA.vala \
Document.vala \ Document.vala \
DocumentType.vala \
Element.vala \ Element.vala \
Namespace.vala \ Namespace.vala \
Node.vala \ Node.vala \
......
...@@ -29,7 +29,7 @@ namespace GXml { ...@@ -29,7 +29,7 @@ namespace GXml {
* *
* For more, see: [[http://www.w3.org/TR/DOM-Level-1/level-one-core.html#ID-412266927]] * For more, see: [[http://www.w3.org/TR/DOM-Level-1/level-one-core.html#ID-412266927]]
*/ */
public class xDocumentType : xNode { public class xDocumentType : xNode, GXml.DocumentType {
private Xml.Doc* doc; private Xml.Doc* doc;
private Xml.Dtd *int_subset; private Xml.Dtd *int_subset;
private Xml.Dtd *ext_subset; private Xml.Dtd *ext_subset;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment