|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.datamodel.id.stax.IdWriter
public class IdWriter
StAX based Id writer. Should give better performance than the DOM based IdBuilder.
| Constructor Summary | |
|---|---|
IdWriter()
create default instance. |
|
IdWriter(boolean printPretty)
|
|
| Method Summary | |
|---|---|
void |
writeId(javax.xml.stream.XMLStreamWriter staxWriter,
Id id)
write an Id to my XML stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdWriter()
public IdWriter(boolean printPretty)
printPretty - set to true to add newlines after each element tag.| Method Detail |
|---|
public void writeId(javax.xml.stream.XMLStreamWriter staxWriter,
Id id)
throws javax.xml.stream.XMLStreamException
staxWriter - target XML streamid - the Id to write
javax.xml.stream.XMLStreamException - StAX error
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||