|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.common.xml.XMLStreamCreator
public abstract class XMLStreamCreator
This class is used to create an XML description of some object.
| Constructor Summary | |
|---|---|
protected |
XMLStreamCreator()
|
| Method Summary | |
|---|---|
static XMLStreamCreator |
createInstance(Result result)
Create an instance. |
abstract void |
put(Class type,
Object obj,
String rootElement)
Create XML from object. |
void |
put(Object obj,
String rootElement)
Create XML from object. |
abstract void |
setIdGenerator(XMLIdGenerator idGenerator)
Define the XML id generator used for tag creation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected XMLStreamCreator()
| Method Detail |
|---|
public static XMLStreamCreator createInstance(Result result)
result - - XML transformation result used store the description
public abstract void put(Class type,
Object obj,
String rootElement)
throws SAXException
type - - object typeobj - - objectrootElement - - name of XML root element
SAXException
public void put(Object obj,
String rootElement)
throws SAXException
obj - - objectrootElement - - name of XML root element
SAXExceptionpublic abstract void setIdGenerator(XMLIdGenerator idGenerator)
idGenerator - - the new generatorXMLIdGenerator
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||