01: /*
02: * Copyright 2003-2004 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: /*
17: * $Id: ExtendedLexicalHandler.java,v 1.4 2004/10/14 21:45:05 minchau Exp $
18: */
19: package org.apache.xml.serializer;
20:
21: import org.xml.sax.SAXException;
22:
23: /**
24: * This interface has extensions to the standard SAX LexicalHandler interface.
25: * This interface is intended to be used by a serializer.
26: * @xsl.usage internal
27: */
28: abstract interface ExtendedLexicalHandler extends
29: org.xml.sax.ext.LexicalHandler {
30: /**
31: * This method is used to notify of a comment
32: * @param comment the comment, but unlike the SAX comment() method this
33: * method takes a String rather than a character array.
34: * @throws SAXException
35: */
36: public void comment(String comment) throws SAXException;
37: }
|