public final class AttributeSelectorId extends Object implements Comparable<AttributeSelectorId>
WARNING: java.net.URI cannot be used here for XACML category and ContextSelectorId, because not equivalent to XML schema anyURI type. Spaces are allowed in XSD anyURI [1], not in java.net.URI.
[1] http://www.w3.org/TR/xmlschema-2/#anyURI That's why we use String instead.
Constructor and Description |
---|
AttributeSelectorId(oasis.names.tc.xacml._3_0.core.schema.wd_17.AttributeSelectorType attrSelector)
Creates instance from XACML AttributeSelector
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AttributeSelectorId other)
Compares using lexicographical ordering on Category, then Path, then finally the ContextSelectorId.
|
boolean |
equals(Object obj) |
String |
getCategory() |
Optional<String> |
getContextSelectorId() |
String |
getPath() |
int |
hashCode() |
String |
toString() |
public AttributeSelectorId(oasis.names.tc.xacml._3_0.core.schema.wd_17.AttributeSelectorType attrSelector)
attrSelector
- attribute selectorpublic String getCategory()
public String getPath()
public Optional<String> getContextSelectorId()
public int compareTo(AttributeSelectorId other)
compareTo
in interface Comparable<AttributeSelectorId>
Copyright © 2012–2020. All rights reserved.