org.sblim.slp
public class ServiceLocationAttribute extends Object implements Serializable
Constructor Summary | |
---|---|
ServiceLocationAttribute(String pId, Vector<Object> pValues)
Construct a service location attribute. | |
ServiceLocationAttribute(String pString)
Construct a service location attribute from a String.
|
Method Summary | |
---|---|
static String | escapeId(String pId)
Returns an escaped version of the id parameter, suitable for inclusion in
a query. |
static String | escapeValue(Object pValue)
Returns a String containing the escaped value parameter as a string,
suitable for inclusion in a query. |
String | getId()
Returns the attribute's name.
|
Vector<Object> | getValues()
Returns a cloned vector of attribute values, or null if the attribute is
a keyword attribute. |
Parameters: 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.
Parameters: pString The string to parse
Throws: ServiceLocationException When the string parsing failed
Parameters: pId The attribute id to escape. ServiceLocationException is thrown if any characters are illegal for an attribute tag.
Returns: The escaped version
Parameters: pValue The attribute value to be converted into a string and escaped.
Returns: The escaped value
Returns: The name (id)
Returns: The value vector