@Test public void testIsMyType() { document.setRootElement(new Element("rss").setAttribute("version", "2.0")); assertTrue(parser.isMyType(document)); }
@Override public boolean isMyType(final Document document) { return rootElementMatches(document) && (versionMatches(document) || versionAbsent(document)); }
RSS20Parser extends RSS094Parser { @Override public boolean isMyType(final Document document) { return rootElementMatches(document) && (versionMatches(document) || versionAbsent(document)); } }
RSS20Parser extends RSS094Parser { @Override public boolean isMyType(final Document document) { return rootElementMatches(document) && (versionMatches(document) || versionAbsent(document)); } RSS20Parser(); protected  RSS20Parser(final String type); }
RSS20Parser extends RSS094Parser { @Override public boolean isMyType(final Document document) { return rootElementMatches(document) && (versionMatches(document) || versionAbsent(document)); } RSS20Parser(); protected  RSS20Parser(final String type); @Override boolean isMyType(final Document document); }
RSS20Parser extends RSS094Parser { @Override public boolean isMyType(final Document document) { return rootElementMatches(document) && (versionMatches(document) || versionAbsent(document)); } RSS20Parser(); protected  RSS20Parser(final String type); @Override boolean isMyType(final Document document);  }