|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smallx.xml.infoset.util.EmptySource
Constructor Summary | |
EmptySource()
Creates a new instance of EmptySource |
Method Summary | |
void |
copyTo(ItemDestination dest)
|
void |
flush(boolean all)
Flushs the items from the source. |
Item |
receive()
Called when a infoset item is generated by a source. |
Element |
seek(Name name)
Seeks to a particular element at the current level. |
Item |
seekByType(byte type)
The type to seek to (e.g. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmptySource()
Method Detail |
public Item receive() throws XMLException
ItemSource
receive
in interface ItemSource
XMLException
public void flush(boolean all) throws XMLException
ItemSource
flush
in interface ItemSource
all
- If true, all the items to the end of the document will be flushed. Otherwise, just the current level's children will be flushed.
XMLException
public Element seek(Name name) throws XMLException
ItemSource
seek
in interface ItemSource
name
- The name of the element.
XMLException
public Item seekByType(byte type) throws XMLException
ItemSource
seekByType
in interface ItemSource
type
- The type code to use for the seek.
XMLException
- Thrown when there is an implementation error.public void copyTo(ItemDestination dest) throws XMLException
copyTo
in interface ItemSource
XMLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |