Class ScimAttributePath
java.lang.Object
com.revetsec.scim.ScimAttributePath
Immutable SCIM attribute-path syntax with an optional absolute schema URI and one optional
subattribute. Equality folds ASCII letters throughout the structural path. Syntax success does
not establish a registered schema or grant filtering permission. URI text is never fetched.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the structural paths have equal ASCII-folded components.fromExpressionResult(@NonNull String expression) Parses a complete bounded attribute path without surrounding whitespace.Returns the original attribute-name spelling.Returns the original schema ID spelling, when qualified.Returns the original subattribute-name spelling, when supplied.inthashCode()Returns a hash of the same ASCII-folded components used by equality.Explicitly emits this path as SCIM data, preserving the component spellings supplied during parsing.toString()Returns a fixed redacted description.
-
Method Details
-
fromExpressionResult
public static @NonNull ScimAttributePathParseResult fromExpressionResult(@NonNull String expression) Parses a complete bounded attribute path without surrounding whitespace. Names start with an ASCII letter and then contain ASCII letters, digits, underscore or hyphen. The narrowly supported$refname can also represent a relative subattribute inside a ValuePath; declaring it as a top-level resource attribute still requires later schema binding. Schema IDs use bounded absolute URI syntax.- Parameters:
expression- the complete path expression- Returns:
- syntactic success or a fixed invalidPath error
- Since:
- 1.0.0
-
getSchemaId
Returns the original schema ID spelling, when qualified.- Returns:
- the original schema ID spelling, when qualified
- Since:
- 1.0.0
-
getAttributeName
Returns the original attribute-name spelling.- Returns:
- the original attribute-name spelling
- Since:
- 1.0.0
-
getSubAttributeName
Returns the original subattribute-name spelling, when supplied.- Returns:
- the original subattribute-name spelling, when supplied
- Since:
- 1.0.0
-
toScimString
Explicitly emits this path as SCIM data, preserving the component spellings supplied during parsing. This operation can disclose application attribute and schema names.- Returns:
- the SCIM attribute-path expression
- Since:
- 1.0.0
-
equals
-
hashCode
-
toString
-