/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: ProcessingContextHeader.java,v 1.2 2008/06/25 05:47:22 qcheng Exp $
*
*/
/**
* The <code>ProcessingContextHeader</code> class represents
* <code>ProcessingContext</code> element defined in SOAP binding schema.
*
* @supported.all.api
*/
public class ProcessingContextHeader {
/**
* Constructor.
*
* @param elementValue the processing context header string.
* @throws SOAPBindingException if the elementValue is null
*/
throws SOAPBindingException {
if (elementValue == null) {
throw new SOAPBindingException(msg);
}
this.elementValue = elementValue;
}
/**
* Constructor.
*
* @param processingContextElement a ProcessingContext element
* @throws SOAPBindingException if an error occurs while parsing
* the ProcessingContext element
*/
throws SOAPBindingException {
if (elementValue == null) {
throw new SOAPBindingException(msg);
}
if (elementValue == null) {
throw new SOAPBindingException(msg);
}
try {
throw new SOAPBindingException(msg);
}
}
}
/**
* Returns value of <code>ProcessingContext</code> element.
*
* @return value of <code>ProcessingContext</code> element.
*/
return elementValue;
}
/**
* Returns value of <code>id</code> attribute.
*
* @return value of <code>id</code> attribute
*/
return id;
}
/**
* Returns value of 'mustUnderstand' attribute.
*
* @return value of 'mustUnderstand' attribute
*/
return mustUnderstand;
}
/**
* Returns value of <code>actor</code> attribute.
*
* @return value of <code>actor</code> attribute
*/
return actor;
}
/**
* Sets value of <code>ProcessingContex</code> element if it is not null.
*
* @param elementValue value of <code>ProcessingContext</code> element
*/
if (elementValue != null) {
this.elementValue = elementValue;
}
}
/**
* Sets value of <code>mustUnderstand</code> attribute.
*
* @param mustUnderstand value of <code>mustUnderstand</code> attribute
*/
this.mustUnderstand = mustUnderstand;
}
/**
* Sets value of <code>actor</code> attribute.
*
* @param actor value of <code>actor</code> attribute
*/
}
/**
* Sets the sign flag. If the value is set to true then the header
* will be signed.
*
* @param signFlag the value of the sign flag.
*/
if (signFlag) {
} else {
}
}
/**
* Converts this header to <code>org.w3c.dom.Element</code> and add to
* parent Header Element.
*
* @param headerE parent Header Element
*/
}
if (mustUnderstand != null) {
}
actor);
}
}
}