public class PublisherAssertion extends UDDIElement
Represents the publisherAssertion element within the UDDI version 2.0 schema. This class contains the following types of methods:
Element description:
UDDI version 2.0 introduces an assertion feature based on "publisher assertions". Publisher assertions are the basis for a mechanism to that allows more than one registered businessEntity element to be linked in a manner that conveys a specific type of relationship. This is why the feature is sometimes called the relationship feature. Publisher assertions are used to establish visible relationships between registered data and a set of assertions. This relationship can be seen by a general inquiry message (named "find_relatedBusinesses").
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element |
base |
static java.lang.String |
UDDI_TAG |
GENERIC, SOAPNS, XMLNS, XMLNS_PREFIX
Constructor and Description |
---|
PublisherAssertion()
Default constructor.
|
PublisherAssertion(org.w3c.dom.Element base)
Construct the object from a DOM tree.
|
PublisherAssertion(java.lang.String fromKey,
java.lang.String toKey,
KeyedReference keyRef)
Construct the object with required fields.
|
Modifier and Type | Method and Description |
---|---|
FromKey |
getFromKey() |
java.lang.String |
getFromKeyString() |
KeyedReference |
getKeyedReference() |
ToKey |
getToKey() |
java.lang.String |
getToKeyString() |
void |
saveToXML(org.w3c.dom.Element parent)
Save an object to the DOM tree.
|
void |
setFromKey(FromKey key) |
void |
setFromKeyString(java.lang.String s) |
void |
setKeyedReference(KeyedReference r) |
void |
setToKey(ToKey key) |
void |
setToKeyString(java.lang.String s) |
getChildElementsByTagName, getText
public static final java.lang.String UDDI_TAG
protected org.w3c.dom.Element base
public PublisherAssertion()
public PublisherAssertion(java.lang.String fromKey, java.lang.String toKey, KeyedReference keyRef)
fromKey
- StringtoKey
- StringkeyRef
- KeyedReferencepublic PublisherAssertion(org.w3c.dom.Element base) throws UDDIException
base
- Element with the name appropriate for this class.UDDIException
- Thrown if DOM tree contains a SOAP fault
or a disposition report indicating a UDDI error.public java.lang.String getFromKeyString()
public void setFromKeyString(java.lang.String s)
public java.lang.String getToKeyString()
public void setToKeyString(java.lang.String s)
public FromKey getFromKey()
public void setFromKey(FromKey key)
public ToKey getToKey()
public void setToKey(ToKey key)
public KeyedReference getKeyedReference()
public void setKeyedReference(KeyedReference r)
public void saveToXML(org.w3c.dom.Element parent)
saveToXML
in class UDDIElement
parent
- Object will serialize as a child element under the
passed in parent element.Copyright ? 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.