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

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


org.jboss.xml.binding
Class AbstractMarshaller

java.lang.Object
  extended byorg.jboss.xml.binding.AbstractMarshaller
All Implemented Interfaces:
Marshaller
Direct Known Subclasses:
DtdMarshaller, XsMarshaller

public abstract class AbstractMarshaller
extends Object
implements Marshaller

Version:
$Revision: 1.7.4.1 $
Author:
Alexey Loubyansky

Nested Class Summary
protected  class AbstractMarshaller.ClassMapping
           
protected static class AbstractMarshaller.QName
           
protected static interface AbstractMarshaller.Stack
           
protected static class AbstractMarshaller.StackImpl
           
 
Field Summary
protected  String encoding
           
protected  List rootQNames
           
protected  String version
           
 
Fields inherited from interface org.jboss.xml.binding.Marshaller
ENCODING, VERSION
 
Constructor Summary
AbstractMarshaller()
           
 
Method Summary
 void addRootElement(String namespaceUri, String prefix, String name)
           
protected  AbstractMarshaller.ClassMapping getClassMapping(Class cls)
           
 void mapClassToNamespace(Class cls, String root, String namespaceUri, Reader schemaReader, ObjectModelProvider provider)
           
 void mapPublicIdToSystemId(String publicId, String systemId)
           
 void setEncoding(String encoding)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.xml.binding.Marshaller
marshal
 

Field Detail

version

protected String version

encoding

protected String encoding

rootQNames

protected List rootQNames
Constructor Detail

AbstractMarshaller

public AbstractMarshaller()
Method Detail

mapClassToNamespace

public void mapClassToNamespace(Class cls,
                                String root,
                                String namespaceUri,
                                Reader schemaReader,
                                ObjectModelProvider provider)
Specified by:
mapClassToNamespace in interface Marshaller

setVersion

public void setVersion(String version)
Specified by:
setVersion in interface Marshaller

setEncoding

public void setEncoding(String encoding)
Specified by:
setEncoding in interface Marshaller

mapPublicIdToSystemId

public void mapPublicIdToSystemId(String publicId,
                                  String systemId)
Specified by:
mapPublicIdToSystemId in interface Marshaller

addRootElement

public void addRootElement(String namespaceUri,
                           String prefix,
                           String name)
Specified by:
addRootElement in interface Marshaller

getClassMapping

protected AbstractMarshaller.ClassMapping getClassMapping(Class cls)


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