Reference¶
-
public class
Reference
extends ExtensionElementImpl¶ A
Reference
inside aManifest
Author: cyng
Constructors¶
Reference¶
-
Reference
(SOAPEnvelope soapEnvelope, SOAPElement soapElement)¶ Parse the given
SOAPElement
to reconstruct aReference
object withSOAPEnvelope
as the parent.Parameters: - soapEnvelope –
SOAPEnvelope
object into which theReference
object is added. - soapElement –
SOAPElement
object to be parsed to reconstruct theReference
object.
Throws: - SOAPException –
- soapEnvelope –
Methods¶
addDescription¶
addDescription¶
-
public void
addDescription
(String description, String lang)¶ Add element with specified
xml:lang
Parameters: - description – Description to be added to the
Reference
. - lang – Language of the description specified in ` RFC 1766 <http://www.ietf.org/rfc/rfc1766.txt>`_ and ISO639.
Throws: - SOAPException –
- description – Description to be added to the
addSchema¶
getDescriptionCount¶
-
public int
getDescriptionCount
()¶ Gets the number of
Description
elements in thisReference
.Returns: The number of Description
elements.