KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cocoon > xml > xlink > XLinkHandler


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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 package org.apache.cocoon.xml.xlink;
17
18 import org.xml.sax.Attributes JavaDoc;
19 import org.xml.sax.SAXException JavaDoc;
20
21 /**
22  * This interface indicates an XLinkHandler that uses the same
23  * event driven design patterns that SAX enforces.
24  *
25  * @author <a HREF="mailto:stefano@apache.org">Stefano Mazzocchi</a>
26  * @version CVS $Id: XLinkHandler.java 30932 2004-07-29 17:35:38Z vgritsenko $
27  */

28 public interface XLinkHandler {
29
30     void simpleLink(String JavaDoc href, String JavaDoc role, String JavaDoc arcrole, String JavaDoc title, String JavaDoc show, String JavaDoc actuate, String JavaDoc uri, String JavaDoc name, String JavaDoc raw, Attributes JavaDoc attr) throws SAXException JavaDoc;
31
32     void startExtendedLink(String JavaDoc role, String JavaDoc title, String JavaDoc uri, String JavaDoc name, String JavaDoc raw, Attributes JavaDoc attr) throws SAXException JavaDoc;
33
34     void endExtendedLink(String JavaDoc uri, String JavaDoc name, String JavaDoc raw) throws SAXException JavaDoc;
35
36     void startLocator(String JavaDoc href, String JavaDoc role, String JavaDoc title, String JavaDoc label, String JavaDoc uri, String JavaDoc name, String JavaDoc raw, Attributes JavaDoc attr) throws SAXException JavaDoc;
37
38     void endLocator(String JavaDoc uri, String JavaDoc name, String JavaDoc raw) throws SAXException JavaDoc;
39
40     void startArc(String JavaDoc arcrole, String JavaDoc title, String JavaDoc show, String JavaDoc actuate, String JavaDoc from, String JavaDoc to, String JavaDoc uri, String JavaDoc name, String JavaDoc raw, Attributes JavaDoc attr) throws SAXException JavaDoc;
41
42     void endArc(String JavaDoc uri, String JavaDoc name, String JavaDoc raw) throws SAXException JavaDoc;
43
44     void linkResource(String JavaDoc role, String JavaDoc title, String JavaDoc label, String JavaDoc uri, String JavaDoc name, String JavaDoc raw, Attributes JavaDoc attr) throws SAXException JavaDoc;
45
46     void linkTitle(String JavaDoc uri, String JavaDoc name, String JavaDoc raw, Attributes JavaDoc attr) throws SAXException JavaDoc;
47
48 }
49
50
Popular Tags