/**
* 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: UsageDirectiveHeader.java,v 1.2 2008/06/25 05:47:23 qcheng Exp $
*
*/
/**
* The <code>UsageDirectiveHeader</code> class represents 'UsageDirective'
* element defined in SOAP binding schema.
*
* @supported.all.api
*/
public class UsageDirectiveHeader {
/**
* Constructor.
*
* @param ref the value of <code>ref</code> attribute.
* @throws SOAPBindingException if the value of <code>ref</code> attribute
* is null.
*/
throw new SOAPBindingException(msg);
}
}
/**
* This constructor takes a <code>org.w3c.dom.Element</code>.
*
* @param usageDirectiveElement a UsageDirective element.
* @throws SOAPBindingException if an error occurs while parsing
* the UsageDirective element.
*/
throws SOAPBindingException {
try {
throw new SOAPBindingException(msg);
}
}
for(int i = 0; i < length; i++) {
}
}
}
}
/**
* Returns value of <code>ref</code> attribute.
*
* @return value of <code>ref</code> attribute.
*/
return ref;
}
/**
* Returns value of <code>id</code> attribute.
*
* @return value of <code>id</code> attribute.
*/
return id;
}
/**
* Returns value of <code>mustUnderstand</code> attribute.
*
* @return value of <code>mustUnderstand</code> attribute.
*/
return mustUnderstand;
}
/**
* Returns value of <code>actor</code> attribute.
*
* @return value of <code>actor</code> attribute.
*/
return actor;
}
/**
* Returns a list of child elements.
* Each entry will be a <code>org.w3c.dom.Element</code>.
*
* @return a list of child elements
*/
return elements;
}
/**
* Sets value of <code>ref</code> attribute.
*
* @param ref value of <code>ref</code> attribute
*/
}
}
/**
* 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 a list of child elements.
* Each entry will be a <code>org.w3c.dom.Element</code>.
*
* @param elements a list of child elements
*/
}
/**
* Sets the sign flag. The header will be signed if
* the value is true.
*
* @param signFlag 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
*/
ref);
id);
}
if (mustUnderstand != null) {
}
}
}
}
}
}