com.hp.hpl.jena.rdf.arp
Class StAX2Model

java.lang.Object
  extended by com.hp.hpl.jena.rdf.arp.StAX2Model

public class StAX2Model
extends Object

A collection of convenient functions to parse an XML stream using ARP. They simply connect StAX2SAX to SAX2Model internally.

Author:
Damian Steer
See Also:
StAX2SAX

Constructor Summary
StAX2Model()
           
 
Method Summary
static void read(XMLEventReader eventReader, Model model)
           
static void read(XMLEventReader eventReader, Model model, String base)
           
static void read(XMLStreamReader streamReader, Model model)
           
static void read(XMLStreamReader streamReader, Model model, String base)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StAX2Model

public StAX2Model()
Method Detail

read

public static void read(XMLStreamReader streamReader,
                        Model model)
                 throws SAXParseException,
                        XMLStreamException,
                        SAXException
Throws:
SAXParseException
XMLStreamException
SAXException

read

public static void read(XMLStreamReader streamReader,
                        Model model,
                        String base)
                 throws SAXParseException,
                        XMLStreamException,
                        SAXException
Throws:
SAXParseException
XMLStreamException
SAXException

read

public static void read(XMLEventReader eventReader,
                        Model model)
                 throws SAXParseException,
                        XMLStreamException,
                        SAXException
Throws:
SAXParseException
XMLStreamException
SAXException

read

public static void read(XMLEventReader eventReader,
                        Model model,
                        String base)
                 throws SAXParseException,
                        XMLStreamException,
                        SAXException
Throws:
SAXParseException
XMLStreamException
SAXException


Licenced under the Apache License, Version 2.0