1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
88 |
90 |
89 public AbstractSchemaValidationTube(WSBinding binding, Tube next) { |
91 public AbstractSchemaValidationTube(WSBinding binding, Tube next) { |
90 super(next); |
92 super(next); |
91 this.binding = binding; |
93 this.binding = binding; |
92 feature = binding.getFeature(SchemaValidationFeature.class); |
94 feature = binding.getFeature(SchemaValidationFeature.class); |
93 sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI); |
95 sf = allowFileAccess(SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI), false); |
94 } |
96 } |
95 |
97 |
96 protected AbstractSchemaValidationTube(AbstractSchemaValidationTube that, TubeCloner cloner) { |
98 protected AbstractSchemaValidationTube(AbstractSchemaValidationTube that, TubeCloner cloner) { |
97 super(that, cloner); |
99 super(that, cloner); |
98 this.binding = that.binding; |
100 this.binding = that.binding; |