Package | Description |
---|---|
net.sf.practicalxml.converter |
This package contains classes to convert between XML and a variety of
other formats.
|
net.sf.practicalxml.converter.bean |
This package contains classes to convert Java objects to and from XML.
|
Modifier and Type | Method and Description |
---|---|
static Document |
BeanConverter.convertToXml(Object bean,
String rootName,
Bean2XmlOptions... options)
Creates a new DOM document from the passed bean, without namespace.
|
static Document |
BeanConverter.convertToXml(Object bean,
String nsUri,
String rootName,
Bean2XmlOptions... options)
Creates a new DOM document from the passed bean, in which all elements
are members of the specified namespace and will inherit the root's
prefix (if any).
|
Modifier and Type | Method and Description |
---|---|
static Bean2XmlOptions |
Bean2XmlOptions.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bean2XmlOptions[] |
Bean2XmlOptions.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Bean2XmlAppenders.Appender.isOptionSet(Bean2XmlOptions option)
Hides the mechanism that we used to manage options.
|
Constructor and Description |
---|
Bean2XmlConverter(Bean2XmlOptions... options) |
Constructor and Description |
---|
Bean2XmlAppenders.Appender(EnumSet<Bean2XmlOptions> options,
Object rootObject)
Constructor called by (@link DirectAppender).
|
Bean2XmlAppenders.DirectAppender(EnumSet<Bean2XmlOptions> options,
Element elem,
Object rootObj) |