org.jboss.xml.binding
Class DtdMarshaller
java.lang.Object
org.jboss.xml.binding.AbstractMarshaller (src)
org.jboss.xml.binding.DtdMarshaller
- All Implemented Interfaces:
- Marshaller (src)
- public class DtdMarshaller
- extends AbstractMarshaller (src)
A DTD based org.jboss.xml.binding.Marshaller implementation.
Methods inherited from class org.jboss.xml.binding.AbstractMarshaller (src) |
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(java.lang.String publicId,
java.lang.String systemId)
- Specified by:
mapPublicIdToSystemId
in interface Marshaller (src)
- Overrides:
mapPublicIdToSystemId
in class AbstractMarshaller (src)
marshal
public void marshal(java.io.Reader dtdReader,
ObjectModelProvider (src) provider,
java.lang.Object document,
java.io.Writer writer)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
getRootList
protected static DTDElement[] getRootList(DTD dtd)
- Parameters:
dtd
- the DTD object model
- Returns:
- root element names
removeElements
protected static void removeElements(java.util.Hashtable h,
DTD dtd,
DTDItem item)