@Test public void IsContainerMembershipProperty() { assertFalse(RDF.isContainerMembershipProperty(new UID(TEST.NS, "foo"))); assertFalse(RDF.isContainerMembershipProperty(RDF.li)); assertFalse(RDF.isContainerMembershipProperty(new UID(RDF.NS, "_"))); assertFalse(RDF.isContainerMembershipProperty(new UID(RDF.NS, "_0"))); assertTrue(RDF.isContainerMembershipProperty(new UID(RDF.NS, "_1"))); assertTrue(RDF.isContainerMembershipProperty(new UID(RDF.NS, "_12"))); assertTrue(RDF.isContainerMembershipProperty(new UID(RDF.NS, "_10120"))); assertFalse(RDF.isContainerMembershipProperty(new UID(RDF.NS, "_1012a"))); assertFalse(RDF.isContainerMembershipProperty(new UID(RDF.NS, "_1012a4"))); }
public static boolean isContainerMembershipProperty(UID predicate) { return NS.equals(predicate.ns()) && isContainerMembershipPropertyLocalName(predicate.ln()); }
RDF { public static boolean isContainerMembershipProperty(UID predicate) { return NS.equals(predicate.ns()) && isContainerMembershipPropertyLocalName(predicate.ln()); } }
RDF { public static boolean isContainerMembershipProperty(UID predicate) { return NS.equals(predicate.ns()) && isContainerMembershipPropertyLocalName(predicate.ln()); } private  RDF(); }
RDF { public static boolean isContainerMembershipProperty(UID predicate) { return NS.equals(predicate.ns()) && isContainerMembershipPropertyLocalName(predicate.ln()); } private  RDF(); static UID getContainerMembershipProperty(int i); static boolean isContainerMembershipProperty(UID predicate); static boolean isContainerMembershipPropertyLocalName(String ln); }
RDF { public static boolean isContainerMembershipProperty(UID predicate) { return NS.equals(predicate.ns()) && isContainerMembershipPropertyLocalName(predicate.ln()); } private  RDF(); static UID getContainerMembershipProperty(int i); static boolean isContainerMembershipProperty(UID predicate); static boolean isContainerMembershipPropertyLocalName(String ln); static final String NS; static final UID type; static final UID Property; static final UID XMLLiteral; static final UID subject; static final UID predicate; static final UID object; static final UID Statement; static final UID Bag; static final UID Alt; static final UID Seq; static final UID value; static final UID li; static final UID List; static final UID first; static final UID rest; static final UID nil; static final UID text; }