axel/src/main/java/fr/xgouchet/xmleditor/core/parsers/AXmlTreeParser.java
void addInternalDTD(final @NonNull String root, final @NonNull String definition) {
        if (mStack.peek().findNodeWithType(XmlUtils.XML_DOCTYPE) != null) {
            throw new UnsupportedOperationException("Trying to add a DTD to a document which already has one");
        }
        XmlNodeFactory.createInternalDTD(mStack.peek(), root, definition);
    }
/**
     * Adds an internal DTD
     *
     * @param root       the root element name
     * @param definition the internal definition
     */
Adds an internal DTD
@param root       the root element name
@param definition the internal definition
Adds an internal DTD @param root the root element name @param definition the internal definition
void addInternalDTD(final @NonNull String root, final @NonNull String definition) {
        if (mStack.peek().findNodeWithType(XmlUtils.XML_DOCTYPE) != null) {
            throw new UnsupportedOperationException("Trying to add a DTD to a document which already has one");
        }
        XmlNodeFactory.createInternalDTD(mStack.peek(), root, definition);
    }
void addInternalDTD ( final @ NonNull String root , final @ NonNull String definition ) { if ( mStack . peek ( ) . findNodeWithType ( XmlUtils . XML_DOCTYPE ) != null ) { throw new UnsupportedOperationException ( "Trying to add a DTD to a document which already has one" ) ; } XmlNodeFactory . createInternalDTD ( mStack . peek ( ) , root , definition ) ; }
Adds an internal DTD
 @param root       the root element name
 @param definition the internal definition
Adds an internal DTD @param root the root element name @param definition the internal definition