public class AttributePath extends Object
| Constructor and Description |
|---|
AttributePath(String attributeSchema,
String attributeName,
String subAttributeName)
Create a new attribute path.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeName()
Retrieve the name of the attribute.
|
String |
getAttributeSchema()
Retrieve the URI of the attribute schema.
|
String |
getSubAttributeName()
Retrieve the name of the sub-attribute, or
null if absent. |
static AttributePath |
parse(String path)
Parse an attribute path.
|
static AttributePath |
parse(String path,
String defaultSchema)
Parse an attribute path.
|
String |
toString() |
void |
toString(StringBuilder builder)
Append the string representation of the attribute path to the provided
buffer.
|
public AttributePath(String attributeSchema, String attributeName, String subAttributeName)
attributeSchema - The URI of the attribute schema.attributeName - The name of the attribute.subAttributeName - The name of the sub-attribute, or null if
absent.public static AttributePath parse(String path)
path - The attribute path.public static AttributePath parse(String path, String defaultSchema)
path - The attribute path.defaultSchema - The default schema to assume for attributes that do
not have the schema part of the urn specified. The
'id', 'externalId', and 'meta' attributes will always
assume the SCIM Core schema.public void toString(StringBuilder builder)
builder - The buffer to which the string representation of the
attribute path is to be appended.public String getAttributeSchema()
public String getAttributeName()
public String getSubAttributeName()
null if absent.null if absent.Copyright © 2011–2016 UnboundID. All rights reserved.