axel/src/test/java/fr/xgouchet/xmleditor/test/XmlNodeAssert.java
public XmlNodeAssert isDocDecl(String version, String encoding, Boolean standalone) {
        isNotNull();

        hasType(XmlUtils.XML_DOCUMENT_DECLARATION);

        XmlDocDeclDataAssert dataAssert = new XmlDocDeclDataAssert((XmlDocumentDeclaration) actual.getData());

        if (version != null) {
            dataAssert.hasVersion(version);
        }

        if (encoding != null) {
            dataAssert.hasEncoding(encoding);
        }

        if (standalone != null) {
            dataAssert.isStandalone(standalone);
        }

        return this;
    }
/**
     * Verify that the actual node :
     * - is of type DocDecl
     * - has the given version, encoding and standalone values (null params are ignored)
     *
     * @return this assertion object
     */
Verify that the actual node :
- is of type DocDecl
- has the given version, encoding and standalone values (null params are ignored)

@return this assertion object
Verify that the actual node : - is of type DocDecl - has the given version encoding and standalone values ( null params are ignored ) @return this assertion object
public XmlNodeAssert isDocDecl(String version, String encoding, Boolean standalone) {
        isNotNull();
        hasType(XmlUtils.XML_DOCUMENT_DECLARATION);
        XmlDocDeclDataAssert dataAssert = new XmlDocDeclDataAssert((XmlDocumentDeclaration) actual.getData());
        if (version != null) {
            dataAssert.hasVersion(version);
        }
        if (encoding != null) {
            dataAssert.hasEncoding(encoding);
        }
        if (standalone != null) {
            dataAssert.isStandalone(standalone);
        }
        return this;
    }
public XmlNodeAssert isDocDecl ( String version , String encoding , Boolean standalone ) { isNotNull ( ) ; hasType ( XmlUtils . XML_DOCUMENT_DECLARATION ) ; XmlDocDeclDataAssert dataAssert = new XmlDocDeclDataAssert ( ( XmlDocumentDeclaration ) actual . getData ( ) ) ; if ( version != null ) { dataAssert . hasVersion ( version ) ; } if ( encoding != null ) { dataAssert . hasEncoding ( encoding ) ; } if ( standalone != null ) { dataAssert . isStandalone ( standalone ) ; } return this ; }
Verify that the actual node :
 - is of type DocDecl
 - has the given version, encoding and standalone values (null params are ignored)
Verify that the actual node : - is of type DocDecl - has the given version encoding and standalone values ( null params are ignored )