< prev index next >
src/java.naming/share/classes/javax/naming/CompositeName.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 40,50 ****
* composite name with N components range from 0 up to, but not including, N.
* This range may be written as [0,N).
* The most significant component is at index 0.
* An empty composite name has no components.
*
! * <h1>JNDI Composite Name Syntax</h1>
* JNDI defines a standard string representation for composite names. This
* representation is the concatenation of the components of a composite name
* from left to right using the component separator (a forward
* slash character (/)) to separate each component.
* The JNDI syntax defines the following meta characters:
--- 40,50 ----
* composite name with N components range from 0 up to, but not including, N.
* This range may be written as [0,N).
* The most significant component is at index 0.
* An empty composite name has no components.
*
! * <h2>JNDI Composite Name Syntax</h2>
* JNDI defines a standard string representation for composite names. This
* representation is the concatenation of the components of a composite name
* from left to right using the component separator (a forward
* slash character (/)) to separate each component.
* The JNDI syntax defines the following meta characters:
*** 71,81 ****
* of an empty string).
* A trailing component separator (the composite name string ends with
* a separator) denotes a trailing empty component.
* Adjacent component separators denote an empty component.
*
! *<h1>Composite Name Examples</h1>
*This table shows examples of some composite names. Each row shows
*the string form of a composite name and its corresponding structural form
*({@code CompositeName}).
*
<table class="striped"><caption style="display:none">examples showing string
--- 71,81 ----
* of an empty string).
* A trailing component separator (the composite name string ends with
* a separator) denotes a trailing empty component.
* Adjacent component separators denote an empty component.
*
! *<h2>Composite Name Examples</h2>
*This table shows examples of some composite names. Each row shows
*the string form of a composite name and its corresponding structural form
*({@code CompositeName}).
*
<table class="striped"><caption style="display:none">examples showing string
*** 138,148 ****
<td>{"x", "", "y"}</td>
</tr>
</tbody>
</table>
*
! *<h1>Composition Examples</h1>
* Here are some composition examples. The right column shows composing
* string composite names while the left column shows composing the
* corresponding {@code CompositeName}s. Notice that composing the
* string forms of two composite names simply involves concatenating
* their string forms together.
--- 138,148 ----
<td>{"x", "", "y"}</td>
</tr>
</tbody>
</table>
*
! *<h2>Composition Examples</h2>
* Here are some composition examples. The right column shows composing
* string composite names while the left column shows composing the
* corresponding {@code CompositeName}s. Notice that composing the
* string forms of two composite names simply involves concatenating
* their string forms together.
*** 193,203 ****
</td>
</tr>
</tbody>
</table>
*
! *<h1>Multithreaded Access</h1>
* A {@code CompositeName} instance is not synchronized against concurrent
* multithreaded access. Multiple threads trying to access and modify a
* {@code CompositeName} should lock the object.
*
* @author Rosanna Lee
--- 193,203 ----
</td>
</tr>
</tbody>
</table>
*
! *<h2>Multithreaded Access</h2>
* A {@code CompositeName} instance is not synchronized against concurrent
* multithreaded access. Multiple threads trying to access and modify a
* {@code CompositeName} should lock the object.
*
* @author Rosanna Lee
< prev index next >