站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 common API Documentation 英文版文档

Marshaller (JBoss/Common API) - JBoss 3.2.7 common API Documentation 英文版文档


org.jboss.xml.binding
Interface Marshaller

All Known Implementing Classes:
AbstractMarshaller

public interface Marshaller

An interface for marshaller implementations, e.g. DTD and XML schema marshallers.

Version:
$Revision: 1.4.4.1 $
Author:
Alexey Loubyansky

Field Summary
static String ENCODING
           
static String VERSION
           
 
Method Summary
 void addRootElement(String namespaceUri, String prefix, String name)
           
 void mapClassToNamespace(Class cls, String root, String namespaceUri, Reader schemaReader, ObjectModelProvider provider)
           
 void mapPublicIdToSystemId(String publicId, String systemId)
           
 void marshal(Reader schema, ObjectModelProvider provider, Object document, Writer writer)
           
 void setEncoding(String encoding)
           
 void setVersion(String version)
           
 

Field Detail

VERSION

public static final String VERSION
See Also:
Constant Field Values

ENCODING

public static final String ENCODING
See Also:
Constant Field Values
Method Detail

setVersion

public void setVersion(String version)

setEncoding

public void setEncoding(String encoding)

mapPublicIdToSystemId

public void mapPublicIdToSystemId(String publicId,
                                  String systemId)

mapClassToNamespace

public void mapClassToNamespace(Class cls,
                                String root,
                                String namespaceUri,
                                Reader schemaReader,
                                ObjectModelProvider provider)

addRootElement

public void addRootElement(String namespaceUri,
                           String prefix,
                           String name)

marshal

public void marshal(Reader schema,
                    ObjectModelProvider provider,
                    Object document,
                    Writer writer)
             throws IOException,
                    SAXException,
                    ParserConfigurationException
Throws:
IOException
SAXException
ParserConfigurationException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.