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.AttributeLexer;
13: import com.hp.hpl.jena.rdf.arp.impl.XMLHandler;
14:
15: public class LookingForRDF extends Frame {
16:
17: public LookingForRDF(FrameI s, AttributeLexer x)
18: throws SAXParseException {
19: super (s, x);
20: }
21:
22: String suggestParsetypeLiteral() {
23: return "";
24: }
25:
26: public LookingForRDF(XMLHandler s, AbsXMLContext x) {
27: super (s, x);
28: }
29:
30: public FrameI startElement(String uri, String localName,
31: String rawName, Attributes atts) throws SAXParseException {
32: return rdfStartElement(uri, localName, rawName, atts);
33:
34: }
35:
36: public void characters(char[] ch, int start, int length) {
37: // ignore
38: }
39:
40: }
41:
42: /*
43: * (c) Copyright 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP All rights
44: * reserved.
45: *
46: * Redistribution and use in source and binary forms, with or without
47: * modification, are permitted provided that the following conditions are met:
48: * 1. Redistributions of source code must retain the above copyright notice,
49: * this list of conditions and the following disclaimer. 2. Redistributions in
50: * binary form must reproduce the above copyright notice, this list of
51: * conditions and the following disclaimer in the documentation and/or other
52: * materials provided with the distribution. 3. The name of the author may not
53: * be used to endorse or promote products derived from this software without
54: * specific prior written permission.
55: *
56: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
57: * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
58: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
59: * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
60: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
61: * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
62: * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
63: * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
64: * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
65: * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
66: */
|