KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thaiopensource > relaxng > parse > sax > SAXParseReceiver


1 package com.thaiopensource.relaxng.parse.sax;
2
3 import com.thaiopensource.relaxng.parse.ParseReceiver;
4 import com.thaiopensource.relaxng.parse.ParsedPatternFuture;
5 import com.thaiopensource.relaxng.parse.SchemaBuilder;
6 import com.thaiopensource.relaxng.parse.Scope;
7 import com.thaiopensource.xml.sax.XMLReaderCreator;
8 import org.xml.sax.XMLReader JavaDoc;
9 import org.xml.sax.ErrorHandler JavaDoc;
10 import org.xml.sax.SAXException JavaDoc;
11
12 public class SAXParseReceiver extends SAXSubParser implements ParseReceiver {
13   public SAXParseReceiver(XMLReaderCreator xrc, ErrorHandler JavaDoc eh) {
14     super(xrc, eh);
15   }
16
17   public ParsedPatternFuture installHandlers(XMLReader JavaDoc xr, SchemaBuilder schemaBuilder, Scope scope)
18           throws SAXException JavaDoc {
19     return new SchemaParser(xr, eh, schemaBuilder, null, scope);
20   }
21 }
22
Popular Tags