|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for marshaller implementations, e.g. DTD and XML schema marshallers.
Nested Class Summary | |
static class |
Marshaller.FACTORY
|
Field Summary | |
static String |
ENCODING
|
static String |
PROP_MARSHALLER
The value should be a fully qualified class name of the Marshaller implementation. |
static String |
PROP_OUTPUT_INDENTATION
Allowed values are true and false. |
static String |
PROP_OUTPUT_XML_VERSION
Allowed values are true and false. |
static String |
VERSION
|
Method Summary | |
void |
addRootElement(String namespaceUri,
String prefix,
String name)
|
String |
getProperty(String name)
|
void |
mapClassToNamespace(Class cls,
String root,
String namespaceUri,
Reader schemaReader,
ObjectModelProvider provider)
|
void |
mapClassToNamespace(Class cls,
String root,
String namespaceUri,
String schemaUrl,
ObjectModelProvider provider)
|
void |
mapPublicIdToSystemId(String publicId,
String systemId)
|
void |
marshal(Reader schema,
ObjectModelProvider provider,
Object document,
Writer writer)
|
void |
marshal(String schemaUri,
ObjectModelProvider provider,
Object root,
Writer writer)
|
void |
setEncoding(String encoding)
|
void |
setProperty(String name,
String value)
|
void |
setVersion(String version)
|
Field Detail |
public static final String PROP_OUTPUT_XML_VERSION
public static final String PROP_MARSHALLER
public static final String PROP_OUTPUT_INDENTATION
public static final String VERSION
public static final String ENCODING
Method Detail |
public void setVersion(String version)
public void setEncoding(String encoding)
public void mapPublicIdToSystemId(String publicId, String systemId)
public void mapClassToNamespace(Class cls, String root, String namespaceUri, Reader schemaReader, ObjectModelProvider provider)
public void mapClassToNamespace(Class cls, String root, String namespaceUri, String schemaUrl, ObjectModelProvider provider)
public void addRootElement(String namespaceUri, String prefix, String name)
public void marshal(String schemaUri, ObjectModelProvider provider, Object root, Writer writer) throws IOException, ParserConfigurationException, SAXException
public void marshal(Reader schema, ObjectModelProvider provider, Object document, Writer writer) throws IOException, SAXException, ParserConfigurationException
public void setProperty(String name, String value)
public String getProperty(String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |