|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.slp.ServiceLocationAttribute
public class ServiceLocationAttribute
Service location attribute
Constructor Summary | |
---|---|
ServiceLocationAttribute(java.lang.String pString)
Construct a service location attribute from a String. |
|
ServiceLocationAttribute(java.lang.String pId,
java.util.Vector<java.lang.Object> pValues)
Construct a service location attribute. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
static java.lang.String |
escapeId(java.lang.String pId)
Returns an escaped version of the id parameter, suitable for inclusion in a query. |
static java.lang.String |
escapeValue(java.lang.Object pValue)
Returns a String containing the escaped value parameter as a string, suitable for inclusion in a query. |
java.lang.String |
getId()
Returns the attribute's name. |
java.util.Vector<java.lang.Object> |
getValues()
Returns a cloned vector of attribute values, or null if the attribute is a keyword attribute. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServiceLocationAttribute(java.lang.String pId, java.util.Vector<java.lang.Object> pValues)
pId
- The attribute name. The String can consist of any Unicode
character.pValues
- A Vector of one or more attribute values. Vector contents must
be uniform in type and one of Integer, String, Boolean, or
byte[]. If the attribute is a keyword attribute, then the
parameter should be null. String values can consist of any
Unicode character.public ServiceLocationAttribute(java.lang.String pString) throws ServiceLocationException
pString
- The string to parse
ServiceLocationException
- When the string parsing failedMethod Detail |
---|
public static java.lang.String escapeId(java.lang.String pId)
pId
- The attribute id to escape. ServiceLocationException is thrown
if any characters are illegal for an attribute tag.
public static java.lang.String escapeValue(java.lang.Object pValue)
pValue
- The attribute value to be converted into a string and escaped.
public java.util.Vector<java.lang.Object> getValues()
public java.lang.String getId()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |