@Override
public void readElement(final XMLExtendedStreamReader reader, final List<ModelNode> nodes) throws XMLStreamException {
if (Element.forName(reader.getLocalName()) != Element.DOMAIN) {
throw unexpectedElement(reader);
}
Namespace readerNS = Namespace.forUri(reader.getNamespaceURI());
switch (readerNS) {
case DOMAIN_1_0: {
readDomainElement1_0(reader, new ModelNode(), readerNS, nodes);
break;
}