- private static class DOMNotificationImpl implements DOMNotification {
-
- private final SchemaPath type;
- private final ContainerNode body;
-
- public DOMNotificationImpl(final ContainerNode body) {
- this.type = SchemaPath.create(true, body.getIdentifier().getNodeType());
- this.body = body;
- }
-
- @Nonnull
- @Override
- public SchemaPath getType() {
- return this.type;
- }
-
- @Nonnull
- @Override
- public ContainerNode getBody() {
- return this.body;
- }
- }
-