org.apache.ws.jaxme.impl
public class JMSAXDriverController extends Object
| Constructor Summary | |
|---|---|
| JMSAXDriverController(JMMarshallerImpl pMarshaller, ContentHandler pTarget) Creates a new instance with the given marshaller and target. | |
| Method Summary | |
|---|---|
| protected void | addSchemaLocationAttributes(JMSAXDriver pDriver, AttributesImpl pAttrs) |
| String | getAttrQName(JMSAXDriver pDriver, String pNamespaceURI, String pLocalName) Returns the qualified name of the attribute pLocalName.
|
| DatatypeConverterInterface | getDatatypeConverter() Returns the DatatypeConverterInterface being used for
conversion of atomic values. |
| protected String | getElementQName(JMSAXDriver pDriver, String pPrefix, String pNamespaceURI, String pLocalName) |
| String | getElementQName(JMSAXDriver pDriver, String pNamespaceURI, String pLocalName) Returns the qualified name of the element pLocalName
in namespace pNamespaceURI. |
| JMMarshallerImpl | getJMMarshaller() Returns the Marshaller, which created the controller. |
| NamespaceSupport | getNamespaceContext() Returns an instance of NamespaceSupport. |
| protected String | getNewPrefix(String pURI, String pSuggestedPrefix) |
| protected String | getPreferredPrefix(JMSAXDriver pDriver, String pURI) |
| ContentHandler | getTarget() Returns the target handler, to which SAX events are
being fired. |
| void | marshal(JMSAXDriver pDriver, String pPrefix, String pNamespaceURI, String pLocalName, Object pElement) Marshals the given object, creating a root element with
the given namespace URI and local name. |
| void | marshal(JMSAXDriver pDriver, String pNamespaceURI, String pLocalName, Object pElement) Marshals the given object, creating an element with
the given namespace URI and local name. |
| void | marshalSimpleChild(JMSAXDriver pDriver, String pNamespaceURI, String pLocalName, String pValue) Called by the driver for creating a simple child. |
| void | printConversionEvent(Object pObject, String pMsg, Exception pException) |
pLocalName.
In other words, attachs a prefix, if required.pLocalName
in namespace pNamespaceURI. In other words, it attachs
a prefix, if required.Parameters: pElement The element being marshalled. It must be an instance of the class associated to this specific JMXmlSerializer.
Parameters: pElement The element being marshalled. It must be an instance of the class associated to this specific JMXmlSerializer.