Package org.jibx.ws.wsdl.tools
Class WsdlWriter.SchemaMarshaller
- java.lang.Object
-
- org.jibx.ws.wsdl.tools.WsdlWriter.SchemaMarshaller
-
- All Implemented Interfaces:
IMarshaller
- Enclosing class:
- WsdlWriter
public static class WsdlWriter.SchemaMarshaller extends java.lang.Object implements IMarshaller
-
-
Field Summary
Fields Modifier and Type Field Description private MarshallingContext
m_schemaContext
Marshalling context for schema.
-
Constructor Summary
Constructors Constructor Description SchemaMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isExtension(java.lang.String mapname)
Check if marshaller represents an extension mapping.void
marshal(java.lang.Object obj, IMarshallingContext ctx)
Marshal instance of handled class.
-
-
-
Field Detail
-
m_schemaContext
private final MarshallingContext m_schemaContext
Marshalling context for schema.
-
-
Constructor Detail
-
SchemaMarshaller
public SchemaMarshaller() throws JiBXException
- Throws:
JiBXException
-
-
Method Detail
-
isExtension
public boolean isExtension(java.lang.String mapname)
Description copied from interface:IMarshaller
Check if marshaller represents an extension mapping. This is used by the framework in generated code to verify compatibility of objects being marshalled using an abstract mapping.- Specified by:
isExtension
in interfaceIMarshaller
- Parameters:
mapname
- marshaller mapping name (generally the class name to be handled, or abstract mapping type name)- Returns:
true
if this mapping is an extension of the abstract mapping,false
if not
-
marshal
public void marshal(java.lang.Object obj, IMarshallingContext ctx) throws JiBXException
Description copied from interface:IMarshaller
Marshal instance of handled class. This method call is responsible for all handling of the marshalling of an object to XML text. It is called at the point where the start tag for the associated element should be generated.- Specified by:
marshal
in interfaceIMarshaller
- Parameters:
obj
- object to be marshalled (may benull
if property is not optional)ctx
- XML text output context- Throws:
JiBXException
- on error in marshalling process
-
-