01: /*
02: * (c) Copyright 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
03: * [See end of file]
04: */
05:
06: package com.hp.hpl.jena.rdf.arp.states;
07:
08: import org.xml.sax.Attributes;
09: import org.xml.sax.SAXParseException;
10:
11: import com.hp.hpl.jena.rdf.arp.impl.AbsXMLContext;
12: import com.hp.hpl.jena.rdf.arp.impl.XMLHandler;
13:
14: public interface FrameI {
15: FrameI getParent();
16:
17: XMLHandler getXMLHandler();
18:
19: AbsXMLContext getXMLContext();
20:
21: void characters(char ch[], int start, int length)
22: throws SAXParseException;
23:
24: void comment(char[] ch, int start, int length)
25: throws SAXParseException;
26:
27: /**
28: * endElement is called on the state of the frame created by the matching
29: * startElement.
30: * @throws SAXParseException
31: *
32: */
33: void endElement() throws SAXParseException;
34:
35: void processingInstruction(String target, String data)
36: throws SAXParseException;
37:
38: FrameI startElement(String uri, String localName, String rawName,
39: Attributes atts) throws SAXParseException;
40:
41: void abort();
42:
43: void afterChild();
44:
45: }
46:
47: /*
48: * (c) Copyright 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP All rights
49: * reserved.
50: *
51: * Redistribution and use in source and binary forms, with or without
52: * modification, are permitted provided that the following conditions are met:
53: * 1. Redistributions of source code must retain the above copyright notice,
54: * this list of conditions and the following disclaimer. 2. Redistributions in
55: * binary form must reproduce the above copyright notice, this list of
56: * conditions and the following disclaimer in the documentation and/or other
57: * materials provided with the distribution. 3. The name of the author may not
58: * be used to endorse or promote products derived from this software without
59: * specific prior written permission.
60: *
61: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
62: * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
63: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
64: * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
65: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
66: * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
67: * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
68: * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
69: * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
70: * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
71: */
|