|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.api.server.SDDocumentSource
public abstract class SDDocumentSource
SPI that provides the source of SDDocument.
This abstract class could be implemented by appliations, or one of the
create(java.net.URL) methods can be used.
| Constructor Summary | |
|---|---|
SDDocumentSource()
|
|
| Method Summary | |
|---|---|
static SDDocumentSource |
create(URL url)
Creates SDDocumentSource from an URL. |
static SDDocumentSource |
create(URL systemId,
XMLStreamBuffer xsb)
Creates a SDDocumentSource from XMLStreamBuffer. |
abstract URL |
getSystemId()
System ID of this document. |
abstract XMLStreamReader |
read()
Returns the XMLStreamReader that reads the document. |
abstract XMLStreamReader |
read(XMLInputFactory xif)
Returns the XMLStreamReader that reads the document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SDDocumentSource()
| Method Detail |
|---|
public abstract XMLStreamReader read(XMLInputFactory xif)
throws IOException,
XMLStreamException
XMLStreamReader that reads the document.
This method maybe invoked multiple times concurrently.
xif - The implementation may choose to use this object when it wants to
create a new parser (or it can just ignore this parameter completely.)
XMLStreamException - if something goes wrong while creating a parser.
IOException - if something goes wrong trying to read the document.
public abstract XMLStreamReader read()
throws IOException,
XMLStreamException
XMLStreamReader that reads the document.
This method maybe invoked multiple times concurrently.
XMLStreamException - if something goes wrong while creating a parser.
IOException - if something goes wrong trying to read the document.public abstract URL getSystemId()
public static SDDocumentSource create(URL url)
SDDocumentSource from an URL.
public static SDDocumentSource create(URL systemId,
XMLStreamBuffer xsb)
SDDocumentSource from XMLStreamBuffer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||