} while (reader.nextTag() != END_ELEMENT);
if (checkSpecified && anyElement == null && interfaceCriteria.isEmpty()) {
throw new XMLStreamException("Either an inet-address element or some other interface criteria element is required", reader.getLocation());
}
// Domain interface update
list.add(new InterfaceAdd(name,
anyElement == Element.ANY_IPV4_ADDRESS,
anyElement == Element.ANY_IPV6_ADDRESS,
anyElement == Element.ANY_ADDRESS,
interfaceCriteria.values()));
}