import org.opendaylight.yangtools.yang.model.api.AnyxmlSchemaNode;
public final class ImmutableAnyXmlNodeSchemaAwareBuilder extends ImmutableAnyXmlNodeBuilder {
-
private ImmutableAnyXmlNodeSchemaAwareBuilder(final AnyxmlSchemaNode schema) {
super.withNodeIdentifier(NodeIdentifier.create(schema.getQName()));
}
}
@Override
- public NormalizedNodeBuilder<NodeIdentifier, DOMSource, DOMSourceAnyxmlNode> withValue(final DOMSource withValue) {
+ public ImmutableAnyXmlNodeBuilder withValue(final DOMSource withValue) {
return super.withValue(withValue);
}
@Override
- public NormalizedNodeBuilder<NodeIdentifier, DOMSource, DOMSourceAnyxmlNode> withNodeIdentifier(
- final NodeIdentifier withNodeIdentifier) {
+ public ImmutableAnyXmlNodeBuilder withNodeIdentifier(final NodeIdentifier withNodeIdentifier) {
throw new UnsupportedOperationException("Node identifier created from schema");
}
}