summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java
diff options
context:
space:
mode:
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-10 21:46:48 +0000
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-10 21:46:48 +0000
commitce57ab760f69de6db452def7ffbf5b114a2d8694 (patch)
treeea38c56431c5d4528fb54254c3f8e50f517bede3 /libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java
parent50996fe55769882de3f410896032c887f0ff0d04 (diff)
downloadppe42-gcc-ce57ab760f69de6db452def7ffbf5b114a2d8694.tar.gz
ppe42-gcc-ce57ab760f69de6db452def7ffbf5b114a2d8694.zip
Imported GNU Classpath 0.90
* scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore. * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant. * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5. * java/lang/Math.java: New override file. * java/lang/Character.java: Merged from Classpath. (start, end): Now 'int's. (canonicalName): New field. (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants. (UnicodeBlock): Added argument. (of): New overload. (forName): New method. Updated unicode blocks. (sets): Updated. * sources.am: Regenerated. * Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111942 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java')
-rw-r--r--libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java27
1 files changed, 25 insertions, 2 deletions
diff --git a/libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java b/libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java
index 1cbb9a79f08..0dc574e656b 100644
--- a/libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java
+++ b/libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java
@@ -309,6 +309,7 @@ public abstract class DocumentBuilderFactory
/**
* Returns the schema.
* @see #setSchema
+ * @since 1.5
*/
public Schema getSchema()
{
@@ -318,6 +319,7 @@ public abstract class DocumentBuilderFactory
/**
* Sets the schema.
* @see #getSchema
+ * @since 1.5
*/
public void setSchema(Schema schema)
{
@@ -327,7 +329,7 @@ public abstract class DocumentBuilderFactory
/**
* Indicates whether parsers obtained from this factory will be XInclude
* aware.
- * @since 1.3
+ * @since 1.5
*/
public boolean isXIncludeAware()
{
@@ -336,11 +338,32 @@ public abstract class DocumentBuilderFactory
/**
* Sets whether parsers obtained from this factory will be XInclude aware.
- * @since 1.3
+ * @since 1.5
*/
public void setXIncludeAware(boolean state)
{
xIncludeAware = state;
}
+
+ /**
+ * Sets the value of the specified feature.
+ * @param name the feature name (URI)
+ * @param value whether to enable the feature or not
+ * @exception ParserConfigurationException if the feature is not
+ * supported.
+ * @since 1.5
+ */
+ public abstract void setFeature(String name, boolean value)
+ throws ParserConfigurationException;
+
+ /**
+ * Returns the value of the specified feature.
+ * @param name the feature name (URI)
+ * @exception ParserConfigurationException if the feature is not
+ * supported.
+ * @since 1.5
+ */
+ public abstract boolean getFeature(String name)
+ throws ParserConfigurationException;
}
OpenPOWER on IntegriCloud