org.apache.ws.jaxme.impl
Class JMXmlSerializerImpl.Data

java.lang.Object
  extended byorg.apache.ws.jaxme.impl.JMXmlSerializerImpl.Data
All Implemented Interfaces:
JMXmlSerializer.Data
Enclosing class:
JMXmlSerializerImpl

protected class JMXmlSerializerImpl.Data
extends java.lang.Object
implements JMXmlSerializer.Data


Constructor Summary
protected JMXmlSerializerImpl.Data(JMMarshaller pMarshaller, org.xml.sax.ContentHandler pHandler)
           
 
Method Summary
 org.xml.sax.ContentHandler getContentHandler()
          Returns the ContentHandler which is the target of the marshalling process.
 DatatypeConverterInterface getDatatypeConverter()
          Returns the DatatypeConverterInterface.
 JMMarshaller getJMMarshaller()
          Returns the Marshaller controlling the marshalling process.
 JMXmlSerializer getJMXmlSerializer()
          Returns the outer JMXmlSerializer which created the JMXmlSerializerData instance through its getData() method.
 NamespaceSupport getNamespaceContext()
          Returns an instance of NamespaceSupport.
 java.lang.String getNewPrefix(java.lang.String pURI, java.lang.String pSuggestedPrefix)
          Returns a new prefix for the given URI which has not yet been declared.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXmlSerializerImpl.Data

protected JMXmlSerializerImpl.Data(JMMarshaller pMarshaller,
                                   org.xml.sax.ContentHandler pHandler)
Method Detail

getJMMarshaller

public JMMarshaller getJMMarshaller()
Description copied from interface: JMXmlSerializer.Data

Returns the Marshaller controlling the marshalling process.

Specified by:
getJMMarshaller in interface JMXmlSerializer.Data

getContentHandler

public org.xml.sax.ContentHandler getContentHandler()
Description copied from interface: JMXmlSerializer.Data

Returns the ContentHandler which is the target of the marshalling process.

Specified by:
getContentHandler in interface JMXmlSerializer.Data

getNamespaceContext

public NamespaceSupport getNamespaceContext()
Description copied from interface: JMXmlSerializer.Data

Returns an instance of NamespaceSupport.

Specified by:
getNamespaceContext in interface JMXmlSerializer.Data

getDatatypeConverter

public DatatypeConverterInterface getDatatypeConverter()
Description copied from interface: JMXmlSerializer.Data

Returns the DatatypeConverterInterface.

Specified by:
getDatatypeConverter in interface JMXmlSerializer.Data

getJMXmlSerializer

public JMXmlSerializer getJMXmlSerializer()
Description copied from interface: JMXmlSerializer.Data

Returns the outer JMXmlSerializer which created the JMXmlSerializerData instance through its getData() method.

Specified by:
getJMXmlSerializer in interface JMXmlSerializer.Data

getNewPrefix

public java.lang.String getNewPrefix(java.lang.String pURI,
                                     java.lang.String pSuggestedPrefix)
Description copied from interface: JMXmlSerializer.Data

Returns a new prefix for the given URI which has not yet been declared.

Specified by:
getNewPrefix in interface JMXmlSerializer.Data
Parameters:
pURI - A namespace URI being declared.
pSuggestedPrefix - A suggested prefix or null, if none is available.