当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 common API Documentation 英文版文档
DtdMarshaller (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档
org.jboss.xml.binding
Class DtdMarshaller
java.lang.Object
org.jboss.xml.binding.AbstractMarshaller
org.jboss.xml.binding.DtdMarshaller
- All Implemented Interfaces:
- Marshaller
- public class DtdMarshaller
- extends AbstractMarshaller
A DTD based org.jboss.xml.binding.Marshaller implementation.
- Version:
- $Revision: 1.9.2.1 $
- Author:
- Alexey Loubyansky
Methods inherited from class org.jboss.xml.binding.AbstractMarshaller |
addRootElement, getClassMapping, getProperty, mapClassToNamespace, mapClassToNamespace, marshal, propertyIsTrueOrNotSet, setEncoding, setProperty, setVersion, writeXmlVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DtdMarshaller
public DtdMarshaller()
mapPublicIdToSystemId
public void mapPublicIdToSystemId(String publicId,
String systemId)
- Specified by:
mapPublicIdToSystemId
in interface Marshaller
- Overrides:
mapPublicIdToSystemId
in class AbstractMarshaller
marshal
public void marshal(Reader dtdReader,
ObjectModelProvider provider,
Object document,
Writer writer)
throws IOException,
SAXException
- Throws:
IOException
SAXException
getRootList
protected static com.wutka.dtd.DTDElement[] getRootList(com.wutka.dtd.DTD dtd)
- Parameters:
dtd
- the DTD object model
- Returns:
- root element names
removeElements
protected static void removeElements(Hashtable h,
com.wutka.dtd.DTD dtd,
com.wutka.dtd.DTDItem item)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.