You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by mu...@apache.org on 2009/10/14 16:10:58 UTC
svn commit: r825143 -
/xml/security/branches/stax_jsr105/src/com/r_bg/stax/StaxStructure.java
Author: mullan
Date: Wed Oct 14 14:10:58 2009
New Revision: 825143
URL: http://svn.apache.org/viewvc?rev=825143&view=rev
Log: (empty)
Added:
xml/security/branches/stax_jsr105/src/com/r_bg/stax/StaxStructure.java
Added: xml/security/branches/stax_jsr105/src/com/r_bg/stax/StaxStructure.java
URL: http://svn.apache.org/viewvc/xml/security/branches/stax_jsr105/src/com/r_bg/stax/StaxStructure.java?rev=825143&view=auto
==============================================================================
--- xml/security/branches/stax_jsr105/src/com/r_bg/stax/StaxStructure.java (added)
+++ xml/security/branches/stax_jsr105/src/com/r_bg/stax/StaxStructure.java Wed Oct 14 14:10:58 2009
@@ -0,0 +1,37 @@
+/*
+ * Copyright 2007 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.r_bg.stax;
+
+import javax.xml.crypto.XMLStructure;
+import javax.xml.stream.XMLStreamReader;
+
+public class StaxStructure implements XMLStructure {
+
+ private final XMLStreamReader reader;
+
+ public StaxStructure(XMLStreamReader reader) {
+ this.reader = reader;
+ }
+
+ public XMLStreamReader getXMLStreamReader() {
+ return reader;
+ }
+
+ public boolean isFeatureSupported(String feature) {
+ return false;
+ }
+}