Package com.iizigo.ws.prop.soap
Class MessageBuilder
- java.lang.Object
-
- com.iizigo.ws.prop.soap.MessageBuilder
-
public class MessageBuilder extends java.lang.Object
Builds the properties required for a message on the input or output side.- Author:
- Christopher Mindus
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEBUG
Flag for debug of Schema visit.
-
Constructor Summary
Constructors Constructor Description MessageBuilder(XSSchemaSet schemas)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(Message message, boolean isOutput)
Builds the properties.void
buildFaults(BindingOperation bop, PropCnr parent)
Builds the elements required in a faults container.java.util.List<java.lang.String>
getBuildMessages()
Gets the unhandled elements of the last call tobuildPart(Part, boolean)
.java.util.List<EditorMessagePart>
getPartProps()
Gets the parts as properties.
-
-
-
Constructor Detail
-
MessageBuilder
public MessageBuilder(XSSchemaSet schemas)
Creates a new instance.- Parameters:
schemas
- The schema set.
-
-
Method Detail
-
build
public void build(Message message, boolean isOutput) throws BuildSchemaException
Builds the properties.- Parameters:
message
- The message.isOutput
- Flag to build the output.- Throws:
BuildSchemaException
- If the properties cannot be built.
-
getPartProps
public java.util.List<EditorMessagePart> getPartProps()
Gets the parts as properties.- Returns:
- The message parts.
-
getBuildMessages
public java.util.List<java.lang.String> getBuildMessages()
Gets the unhandled elements of the last call tobuildPart(Part, boolean)
.- Returns:
- A List of strings with unhandled elements, or cyclic declarations.
-
buildFaults
public void buildFaults(BindingOperation bop, PropCnr parent)
Builds the elements required in a faults container.- Parameters:
bop
- The binding operation.parent
- The parent container.
-
-