|
||||||||||
| 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,
com.sun.xml.stream.buffer.XMLStreamBuffer xsb)
Creates a SDDocumentSource from XMLStreamBuffer. |
abstract URL |
getSystemId()
System ID of this document. |
abstract javax.xml.stream.XMLStreamReader |
read()
Returns the XMLStreamReader that reads the document. |
abstract javax.xml.stream.XMLStreamReader |
read(javax.xml.stream.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 javax.xml.stream.XMLStreamReader read(javax.xml.stream.XMLInputFactory xif)
throws IOException,
javax.xml.stream.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.)
javax.xml.stream.XMLStreamException - if something goes wrong while creating a parser.
IOException - if something goes wrong trying to read the document.
public abstract javax.xml.stream.XMLStreamReader read()
throws IOException,
javax.xml.stream.XMLStreamException
XMLStreamReader that reads the document.
This method maybe invoked multiple times concurrently.
javax.xml.stream.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,
com.sun.xml.stream.buffer.XMLStreamBuffer xsb)
SDDocumentSource from XMLStreamBuffer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||