< prev index next >

src/jdk.dynalink/share/classes/jdk/dynalink/NamespaceOperation.java

Print this page

        

*** 87,97 **** * Operation getElementOrPropertyEmpty = * StandardOperation.GET * .withNamespace(StandardNamespace.PROPERTY) * .named("color"); * </pre> ! * <h2>Operations on multiple namespaces</h2> * If multiple namespaces are specified, the namespaces are treated as * alternatives to each other in order of preference. The semantics of * such operation is "first applicable". * That is, a composite of {@code GET:PROPERTY|ELEMENT:color} should be * interpreted as <i>get the property named "color" on the object, but if the --- 87,97 ---- * Operation getElementOrPropertyEmpty = * StandardOperation.GET * .withNamespace(StandardNamespace.PROPERTY) * .named("color"); * </pre> ! * <h3>Operations on multiple namespaces</h3> * If multiple namespaces are specified, the namespaces are treated as * alternatives to each other in order of preference. The semantics of * such operation is "first applicable". * That is, a composite of {@code GET:PROPERTY|ELEMENT:color} should be * interpreted as <i>get the property named "color" on the object, but if the
< prev index next >