Skip navigation links

Oracle Fusion Middleware Web 2.0 Services Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1)
E10693-01


oracle.webcenter.search
Class QName

java.lang.Object
  extended by oracle.webcenter.search.QName

All Implemented Interfaces:
java.io.Serializable

public final class QName
extends java.lang.Object
implements java.io.Serializable

A Qualified Name useful to uniquely specify various constructs in the Search API, including Attribute names.

Since:
11.1.1.0.0 Beta 2
See Also:
Serialized Form

Constructor Summary
QName(java.lang.String qualifer, java.lang.String name)
          Constructs a qualified name with a qualifier and a local name.

 

Method Summary
 boolean equals(QName name)
          Comparison method between QName objects.
 boolean equals(java.lang.String name)
          Comparison method by string type.
 java.lang.String getName()
          Accessor for the local name of the qualified name.
 java.lang.String getQualifier()
          Accessor for the qualifier value.
 java.lang.String getString()
          Provides a method for access by .jspx page
 void setName(java.lang.String name)
          Sets the local name of the qualified name.
 void setQualifier(java.lang.String qualifier)
          Sets the qualifier value.
 java.lang.String toString()
          Returns a String representation of this qualified name.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

QName

public QName(java.lang.String qualifer,
             java.lang.String name)
Constructs a qualified name with a qualifier and a local name.
Parameters:
qualifer - qualifier for the qualified name
name - name of the qualified name

Method Detail

equals

public boolean equals(QName name)
Comparison method between QName objects.
Returns:
true if the name and namespace are both equals.

equals

public boolean equals(java.lang.String name)
Comparison method by string type.
Returns:
true if the string matches concatenation of namespace and name.

getName

public java.lang.String getName()
Accessor for the local name of the qualified name.
Returns:
name of the qualified name

getQualifier

public java.lang.String getQualifier()
Accessor for the qualifier value.
Returns:
qualifier for the qualified name

getString

public java.lang.String getString()
Provides a method for access by .jspx page

setName

public void setName(java.lang.String name)
Sets the local name of the qualified name.
Parameters:
name - name of the qualified name

setQualifier

public void setQualifier(java.lang.String qualifier)
Sets the qualifier value.
Parameters:
qualifier - qualifier for the qualified name

toString

public java.lang.String toString()
Returns a String representation of this qualified name.
Overrides:
toString in class java.lang.Object
Returns:
a String representing this qualified name

Skip navigation links

Oracle Fusion Middleware Web 2.0 Services Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1)
E10693-01


Copyright © 2009, Oracle. All rights reserved.