diff options
author | Wolfgang Baer <WBaer@gmx.de> | 2006-04-06 07:20:17 +0000 |
---|---|---|
committer | Wolfgang Baer <WBaer@gmx.de> | 2006-04-06 07:20:17 +0000 |
commit | 4f34972aada73312e4fc811f4cd704c882f50467 (patch) | |
tree | 7509d3b7124e99e71f6e231c3694e067d293519b /javax/xml/validation/SchemaFactory.java | |
parent | f906b310fd4f9db19c854f3a292bb92cc71ded30 (diff) | |
download | classpath-4f34972aada73312e4fc811f4cd704c882f50467.tar.gz |
2006-04-06 Wolfgang Baer <WBaer@gmx.de>
* javax/xml/validation/SchemaFactory.java: Corrected since tag.
(getErrorHandler): Made method abstract.
(setErrorHanlder): Likewise.
* gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
(getErrorHandler): Implement abstract method from superclass.
(setErrorHandler): Likewise.
(errorHandler): New field.
* gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
(getErrorHandler): Implement abstract method from superclass.
(setErrorHandler): Likewise.
(errorHandler): New field.
* javax/xml/XMLConstants.java: Corrected since tag.
(XMLConstants): Added private constructor.
* javax/xml/datatype/Duration.java: Corrected since tag.
(multiply): Made method abstract.
* javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
(DatatypeConstants): Added private constructor.
* javax/xml/xpath/XPathConstants.java: Corrected since tag.
(XPathConstants): Added private constructor.
Diffstat (limited to 'javax/xml/validation/SchemaFactory.java')
-rw-r--r-- | javax/xml/validation/SchemaFactory.java | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/javax/xml/validation/SchemaFactory.java b/javax/xml/validation/SchemaFactory.java index f33c1c629..0042ea323 100644 --- a/javax/xml/validation/SchemaFactory.java +++ b/javax/xml/validation/SchemaFactory.java @@ -1,5 +1,5 @@ /* SchemaFactory.java -- - Copyright (C) 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -52,13 +52,10 @@ import org.xml.sax.SAXNotSupportedException; * Factory for obtaining schemata. * * @author Chris Burdess (dog@gnu.org) - * @since 1.3 + * @since 1.5 */ public abstract class SchemaFactory { - - ErrorHandler errorHandler; - protected SchemaFactory() { } @@ -109,15 +106,9 @@ public abstract class SchemaFactory throw new SAXNotRecognizedException(name); } - public ErrorHandler getErrorHandler() - { - return errorHandler; - } + public abstract ErrorHandler getErrorHandler(); - public void setErrorHandler(ErrorHandler errorHandler) - { - this.errorHandler = errorHandler; - } + public abstract void setErrorHandler(ErrorHandler errorHandler); public abstract LSResourceResolver getResourceResolver(); |