fedora.common.policy
Class XacmlName
java.lang.Object
fedora.common.policy.XacmlName
- All Implemented Interfaces:
- java.io.Serializable, org.jrdf.graph.Node, org.jrdf.graph.ObjectNode, org.jrdf.graph.PredicateNode, org.jrdf.graph.SubjectNode, org.jrdf.graph.TypedNodeVisitable, org.jrdf.graph.URIReference
public class XacmlName
- extends java.lang.Object
- implements org.jrdf.graph.URIReference
A URIReference from a known namespace.
- See Also:
- Serialized Form
|
Method Summary |
void |
accept(org.jrdf.graph.TypedNodeVisitor visitor)
|
java.net.URI |
getURI()
|
boolean |
looselyMatches(java.lang.String in,
boolean tryFirstLocalNameChar)
Does the given string loosely match this name?
Either: 1) It matches localName (case insensitive)
2) It matches uri (case sensitive)
if (firstLocalNameChar == true):
3) It is one character long, and that character
matches the first character of localName (case insensitive) |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jrdf.graph.URIReference |
equals, hashCode |
parent
public XacmlNamespace parent
localName
public java.lang.String localName
datatype
public java.lang.String datatype
uri
public java.lang.String uri
XacmlName
public XacmlName(XacmlNamespace parent,
java.lang.String localName,
java.lang.String datatype)
XacmlName
public XacmlName(XacmlNamespace parent,
java.lang.String localName)
looselyMatches
public boolean looselyMatches(java.lang.String in,
boolean tryFirstLocalNameChar)
- Does the given string loosely match this name?
Either: 1) It matches localName (case insensitive)
2) It matches uri (case sensitive)
if (firstLocalNameChar == true):
3) It is one character long, and that character
matches the first character of localName (case insensitive)
accept
public void accept(org.jrdf.graph.TypedNodeVisitor visitor)
- Specified by:
accept in interface org.jrdf.graph.TypedNodeVisitable
getURI
public java.net.URI getURI()
- Specified by:
getURI in interface org.jrdf.graph.URIReference
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object