addSchemaLocationAttributes
protected void addSchemaLocationAttributes(JMSAXDriver pDriver,
AttributesImpl pAttrs)
throws SAXException
getAttrQName
public String getAttrQName(JMSAXDriver pDriver,
String pNamespaceURI,
String pLocalName)
throws SAXException
Returns the qualified name of the attribute pLocalName
.
In other words, attachs a prefix, if required.
getElementQName
public String getElementQName(JMSAXDriver pDriver,
String pNamespaceURI,
String pLocalName)
throws SAXException
Returns the qualified name of the element pLocalName
in namespace pNamespaceURI
. In other words, it attachs
a prefix, if required.
getElementQName
protected String getElementQName(JMSAXDriver pDriver,
String pPrefix,
String pNamespaceURI,
String pLocalName)
throws SAXException
getJMMarshaller
public JMMarshallerImpl getJMMarshaller()
Returns the Marshaller, which created the controller.
getNamespaceContext
public NamespaceSupport getNamespaceContext()
Returns an instance of NamespaceSupport.
getNewPrefix
protected String getNewPrefix(String pURI,
String pSuggestedPrefix)
getPreferredPrefix
protected String getPreferredPrefix(JMSAXDriver pDriver,
String pURI)
getTarget
public ContentHandler getTarget()
Returns the target handler, to which SAX events are
being fired.
marshal
public void marshal(JMSAXDriver pDriver,
String pNamespaceURI,
String pLocalName,
Object pElement)
throws SAXException
Marshals the given object, creating an element with
the given namespace URI and local name.
pElement
- The element being marshalled. It must be
an instance of the class associated to this specific
JMXmlSerializer.
marshal
public void marshal(JMSAXDriver pDriver,
String pPrefix,
String pNamespaceURI,
String pLocalName,
Object pElement)
throws SAXException
Marshals the given object, creating a root element with
the given namespace URI and local name.
pElement
- The element being marshalled. It must be
an instance of the class associated to this specific
JMXmlSerializer.
marshalSimpleChild
public void marshalSimpleChild(JMSAXDriver pDriver,
String pNamespaceURI,
String pLocalName,
String pValue)
throws SAXException
Called by the driver for creating a simple child.
printConversionEvent
public void printConversionEvent(Object pObject,
String pMsg,
Exception pException)
throws SAXException