throw new UnsupportedOperationException("Augmentation node has no QName");
}
+ /**
+ * Construct new augmentation identifier using supplied set of possible
+ * child nodes.
+ *
+ * @param childNames
+ * Set of possible child nodes.
+ */
+ public AugmentationIdentifier(final ImmutableSet<QName> childNames) {
+ this.childNames = requireNonNull(childNames);
+ }
+
/**
* Construct new augmentation identifier using supplied set of possible
* child nodes.