@Test public void cloneTest() { CommonMarkLanguage language = new CommonMarkLanguage(); assertNotNull(language.clone()); assertEquals(language.getName(), language.clone().getName()); assertEquals(language.isStrictlyConforming(), language.clone().isStrictlyConforming()); }
@Override public CommonMarkLanguage clone() { CommonMarkLanguage language = (CommonMarkLanguage) super.clone(); language.strictlyConforming = this.strictlyConforming; return language; }
CommonMarkLanguage extends MarkupLanguage { @Override public CommonMarkLanguage clone() { CommonMarkLanguage language = (CommonMarkLanguage) super.clone(); language.strictlyConforming = this.strictlyConforming; return language; } }
CommonMarkLanguage extends MarkupLanguage { @Override public CommonMarkLanguage clone() { CommonMarkLanguage language = (CommonMarkLanguage) super.clone(); language.strictlyConforming = this.strictlyConforming; return language; } CommonMarkLanguage(); }
CommonMarkLanguage extends MarkupLanguage { @Override public CommonMarkLanguage clone() { CommonMarkLanguage language = (CommonMarkLanguage) super.clone(); language.strictlyConforming = this.strictlyConforming; return language; } CommonMarkLanguage(); @Override void processContent(MarkupParser parser, String markupContent, boolean asDocument); @Override IdGenerationStrategy getIdGenerationStrategy(); void setStrictlyConforming(boolean strictlyConforming); boolean isStrictlyConforming(); @Override CommonMarkLanguage clone(); }
CommonMarkLanguage extends MarkupLanguage { @Override public CommonMarkLanguage clone() { CommonMarkLanguage language = (CommonMarkLanguage) super.clone(); language.strictlyConforming = this.strictlyConforming; return language; } CommonMarkLanguage(); @Override void processContent(MarkupParser parser, String markupContent, boolean asDocument); @Override IdGenerationStrategy getIdGenerationStrategy(); void setStrictlyConforming(boolean strictlyConforming); boolean isStrictlyConforming(); @Override CommonMarkLanguage clone();  }