package jp.sourceforge.glad.dsl.xml;

public abstract class XmlDocumentSupport<T extends XmlDocument<T>>
        implements XmlDocument<T> {

    @SuppressWarnings("unchecked")
    public T add(XmlDeclaration decl) {
        // TODO Auto-generated method stub
        return (T) this;
    }

    @SuppressWarnings("unchecked")
    public T add(ProcessingInstruction proc) {
        // TODO Auto-generated method stub
        return (T) this;
    }

    @SuppressWarnings("unchecked")
    public T add(DOCTYPE doctype) {
        // TODO Auto-generated method stub
        return (T) this;
    }

    @SuppressWarnings("unchecked")
    public T add(XmlElement<?> element) {
        // TODO Auto-generated method stub
        return (T) this;
    }

    @SuppressWarnings("unchecked")
    public T comment(Object comment) {
        // TODO Auto-generated method stub
        return (T) this;
    }

    public T endl() {
        // TODO Auto-generated method stub
        return null;
    }

    public XmlDeclaration xml() {
        // TODO Auto-generated method stub
        return null;
    }

    public XmlDeclaration xml(Object version) {
        // TODO Auto-generated method stub
        return null;
    }

    public XmlDeclaration xml(Object version, Object encoding) {
        // TODO Auto-generated method stub
        return null;
    }

    public DOCTYPE DOCTYPE(
            String root, String kind, String id, Object... uris) {
        // TODO Auto-generated method stub
        return null;
    }

    public XmlElement<?> elem(String name) {
        // TODO Auto-generated method stub
        return null;
    }

    public <E extends XmlElement<E>> E elem(Class<E> clazz) {
        // TODO Auto-generated method stub
        return null;
    }

}
