|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.omap.xml.XMLMapper
Constructor Summary | |
XMLMapper(java.io.File definition)
Creates a Object to XML mapper that will use the default String character set. |
|
XMLMapper(java.io.File definition,
java.nio.charset.Charset charset)
Creates a Object to XML mapper |
|
XMLMapper(java.io.File definition,
java.lang.String charset)
Creates a Object to XML mapper |
|
XMLMapper(java.lang.String definitionName)
Creates a Object to XML mapper that will use the default String character set. |
|
XMLMapper(java.lang.String definitionName,
java.nio.charset.Charset charset)
Creates a Object to XML mapper |
|
XMLMapper(java.lang.String definitionName,
java.lang.String charset)
Creates a Object to XML mapper |
Method Summary | |
void |
map(java.lang.Object o,
java.io.File out)
Maps the object to XML save to the given file |
void |
map(java.lang.Object o,
java.io.OutputStream out)
Maps the object to XML save to the given output stream |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLMapper(java.io.File definition)
String
character set.
definition
- the file containing the mapping definitionpublic XMLMapper(java.lang.String definitionName)
String
character set.
definitionName
- the resource name of the mapping definitionpublic XMLMapper(java.io.File definition, java.lang.String charset)
definition
- the file that contains mapping definitioncharset
- the character set to usepublic XMLMapper(java.lang.String definitionName, java.lang.String charset)
definitionName
- the resource name of the mapping definitioncharset
- the character set to usepublic XMLMapper(java.io.File definition, java.nio.charset.Charset charset)
definition
- the file containing the mapping definitioncharset
- the character set to use (a Charset
objectpublic XMLMapper(java.lang.String definitionName, java.nio.charset.Charset charset)
definitionName
- the resource name of the mapping definitioncharset
- the character set to use (a Charset
objectMethod Detail |
public void map(java.lang.Object o, java.io.File out) throws java.io.IOException
o
- the object to mapout
- the file where to write the mapped XML
java.io.IOException
public void map(java.lang.Object o, java.io.OutputStream out) throws java.io.IOException
o
- the object to mapout
- the OutputStream
where to write the mapped XML
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |