You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2011/08/14 22:46:48 UTC
svn commit: r1157662 -
/xml/commons/trunk/java/external/src/javax/xml/stream/DTDStreamReader.java
Author: mrglavas
Date: Sun Aug 14 20:46:48 2011
New Revision: 1157662
URL: http://svn.apache.org/viewvc?rev=1157662&view=rev
Log:
JIRA Issue #85: http://issues.apache.org/jira/browse/XMLCOMMONS-85. StAX 1.2: Adding javax.xml.stream.DTDStreamReader.
Added:
xml/commons/trunk/java/external/src/javax/xml/stream/DTDStreamReader.java (with props)
Added: xml/commons/trunk/java/external/src/javax/xml/stream/DTDStreamReader.java
URL: http://svn.apache.org/viewvc/xml/commons/trunk/java/external/src/javax/xml/stream/DTDStreamReader.java?rev=1157662&view=auto
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/stream/DTDStreamReader.java (added)
+++ xml/commons/trunk/java/external/src/javax/xml/stream/DTDStreamReader.java Sun Aug 14 20:46:48 2011
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+// $Id$
+
+package javax.xml.stream;
+
+public interface DTDStreamReader {
+
+ public static final int PROCESSING_INSTRUCTION = XMLStreamConstants.PROCESSING_INSTRUCTION;
+ public static final int COMMENT = XMLStreamConstants.COMMENT;
+ public static final int NOTATION_DECLARATION = XMLStreamConstants.NOTATION_DECLARATION;
+ public static final int ENTITY_DECLARATION = XMLStreamConstants.ENTITY_DECLARATION;
+ public static final int START_DTD = 1001;
+ public static final int END_DTD = 1002;
+ public static final int UNPARSED_ENTITY_DECLARATION = 1003;
+
+ public int next() throws XMLStreamException;
+ public boolean hasNext() throws XMLStreamException;
+ public int getEventType();
+ public String getText();
+ public char[] getTextCharacters();
+ public int getTextStart();
+ public int getTextLength();
+ public Location getLocation();
+ public String getPITarget();
+ public String getPIData();
+ public String getName();
+ public String getPublicIdentifier();
+ public String getSystemIdentifier();
+ public String getNotationName();
+ public void close() throws XMLStreamException;
+
+}
Propchange: xml/commons/trunk/java/external/src/javax/xml/stream/DTDStreamReader.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xml/commons/trunk/java/external/src/javax/xml/stream/DTDStreamReader.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org