|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.baka.ikslibs.stax.STAXSource
public class STAXSource
Acts as an holder for a transformation Source in the form of a stream of STAX events.
Note: Due to their internal use of either a XMLEventReader
or XMLStreamReader
instance, StreamSource
instances
may only be used once.
Constructor Summary | |
---|---|
STAXSource()
Constructor. |
|
STAXSource(String systemId)
Constructor. |
|
STAXSource(String systemId,
javax.xml.stream.XMLEventReader eventReader)
Constructor. |
|
STAXSource(String systemId,
javax.xml.stream.XMLStreamReader streamReader)
Constructor. |
|
STAXSource(javax.xml.stream.XMLEventReader eventReader)
Constructor. |
|
STAXSource(javax.xml.stream.XMLStreamReader streamReader)
Constructor. |
Method Summary | |
---|---|
javax.xml.stream.XMLEventReader |
getEventReader()
Returns the event reader instance. |
javax.xml.stream.XMLStreamReader |
getStreamReader()
Returns the stream reader instance. |
String |
getSystemId()
|
void |
setEventReader(javax.xml.stream.XMLEventReader eventReader)
Sets the event reader instance. |
void |
setStreamReader(javax.xml.stream.XMLStreamReader streamReader)
Sets the stream reader instance. |
void |
setSystemId(String systemId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public STAXSource()
public STAXSource(String systemId)
systemId
- system id to initialize the object with.public STAXSource(String systemId, javax.xml.stream.XMLEventReader eventReader)
systemId
- system id to initialize the object with.eventReader
- the event reader to set.public STAXSource(String systemId, javax.xml.stream.XMLStreamReader streamReader)
systemId
- system id to initialize the object with.streamReader
- the stream reader to setpublic STAXSource(javax.xml.stream.XMLEventReader eventReader)
eventReader
- the event reader to set.public STAXSource(javax.xml.stream.XMLStreamReader streamReader)
streamReader
- the stream reader to setMethod Detail |
---|
public String getSystemId()
getSystemId
in interface Source
public void setSystemId(String systemId)
setSystemId
in interface Source
public javax.xml.stream.XMLEventReader getEventReader()
public void setEventReader(javax.xml.stream.XMLEventReader eventReader)
eventReader
- the eventReader to setpublic javax.xml.stream.XMLStreamReader getStreamReader()
public void setStreamReader(javax.xml.stream.XMLStreamReader streamReader)
streamReader
- the streamReader to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |