santuario-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mul...@apache.org
Subject svn commit: r825143 - /xml/security/branches/stax_jsr105/src/com/r_bg/stax/StaxStructure.java
Date Wed, 14 Oct 2009 14:10:58 GMT
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;
+    }
+}



Mime
View raw message