public GfrOGCCapabilities parse(Object... args) throws XMLStreamException
{
XMLEventParserContext ctx = this.parserContext;
for (XMLEvent event = ctx.nextEvent(); ctx.hasNext(); event = ctx.nextEvent())
{
if (event == null)
continue;
if (event.isStartElement() && this.isRootElementName(event.asStartElement().getName()))