Novell exteNd Web Services SDK API

com.sssw.jbroker.web
Class QName

java.lang.Object
  extended bycom.sssw.jbroker.web.QName
All Implemented Interfaces:
Serializable

public class QName
extends Object
implements Serializable

XML Qualified Name.

See Also:
Serialized Form

Constructor Summary
QName(QName qname)
          Create a Qualified Name using a standard javax.xml.namespace.QName object
QName(String nsURI, String localPart)
          Create a Qualified Name
 
Method Summary
 boolean equals(Object other)
          Indicates whether some other object is equal to this one.
 boolean equals(String namespace, String lname)
          Indicates whether the namespace and uri are the same in this
 String getLocalPart()
          Get the local part.
 String getNamespaceURI()
          Get the namespace URI.
 int hashCode()
          Returns a hash code value for the object.
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QName

public QName(String nsURI,
             String localPart)
Create a Qualified Name

Parameters:
nsURI - the namespace URI

QName

public QName(QName qname)
Create a Qualified Name using a standard javax.xml.namespace.QName object

Parameters:
qname - a JAXRPC QName
Method Detail

getNamespaceURI

public String getNamespaceURI()
Get the namespace URI.


getLocalPart

public String getLocalPart()
Get the local part.


toString

public String toString()
Returns a string representation of the object.


hashCode

public int hashCode()
Returns a hash code value for the object.


equals

public boolean equals(Object other)
Indicates whether some other object is equal to this one.


equals

public boolean equals(String namespace,
                      String lname)
Indicates whether the namespace and uri are the same in this


Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.