@Test public void testClone() { ConfluenceLanguage language = (ConfluenceLanguage) parser.getMarkupLanguage(); ConfluenceLanguage newLanguage = language.clone(); assertTrue(newLanguage.isParseRelativeLinks()); }
@Override public ConfluenceLanguage clone() { ConfluenceLanguage copy = (ConfluenceLanguage) super.clone(); copy.parseRelativeLinks = parseRelativeLinks; return copy; }
ConfluenceLanguage extends AbstractMarkupLanguage { @Override public ConfluenceLanguage clone() { ConfluenceLanguage copy = (ConfluenceLanguage) super.clone(); copy.parseRelativeLinks = parseRelativeLinks; return copy; } }
ConfluenceLanguage extends AbstractMarkupLanguage { @Override public ConfluenceLanguage clone() { ConfluenceLanguage copy = (ConfluenceLanguage) super.clone(); copy.parseRelativeLinks = parseRelativeLinks; return copy; } ConfluenceLanguage(); }
ConfluenceLanguage extends AbstractMarkupLanguage { @Override public ConfluenceLanguage clone() { ConfluenceLanguage copy = (ConfluenceLanguage) super.clone(); copy.parseRelativeLinks = parseRelativeLinks; return copy; } ConfluenceLanguage(); List<Block> getNestedBlocks(); @Override DocumentBuilder createDocumentBuilder(Writer out, boolean formatting); void setParseRelativeLinks(boolean parseRelativeLinks); boolean isParseRelativeLinks(); @Override ConfluenceLanguage clone(); }
ConfluenceLanguage extends AbstractMarkupLanguage { @Override public ConfluenceLanguage clone() { ConfluenceLanguage copy = (ConfluenceLanguage) super.clone(); copy.parseRelativeLinks = parseRelativeLinks; return copy; } ConfluenceLanguage(); List<Block> getNestedBlocks(); @Override DocumentBuilder createDocumentBuilder(Writer out, boolean formatting); void setParseRelativeLinks(boolean parseRelativeLinks); boolean isParseRelativeLinks(); @Override ConfluenceLanguage clone();  }