@Override public BXElem getDocumentElement() { final BXNList list = getChildNodes(); for (int l = 0; l < list.getLength(); ++l) { final BXNode n = list.item(l); if (n.getNodeType() == Node.ELEMENT_NODE) return (BXElem) n; } throw Util.notExpected(); }
@Override public final BXNode toJava() { return BXNode.get(deepCopy(new MainOptions())); }