public WorkflowContextHeaderBuilder(ContextHeaderDocument.ContextHeader document){
ContextHeaderDocument parse = null;
try {
ContextHeaderDocument doc = ContextHeaderDocument.Factory.newInstance();
doc.setContextHeader(document);
parse = ContextHeaderDocument.Factory.parse(doc.xmlText());
} catch (XmlException e) {
e.printStackTrace();
}
this.contextHeader = parse.getContextHeader();
if (contextHeader!=null) {