2000 2013 Ericsson AB, All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. CosNaming_NamingContextExt 2000-08-16 A
CosNaming_NamingContextExt This interface contains operation for converting a Name sequence to a string and back.

To get access to the record definitions for the structures use:

-include_lib("orber/COSS/CosNaming/CosNaming.hrl").

This module also exports the functions described in:

CosNaming_NamingContext

to_string(NamingContext, Name) -> Return Stringify a Namesequence to a string NameContext = #objref Name = [NameComponent] Return = string() | {'EXCEPTION', NamingContext::InvalidName{}}

Stringifies a Name sequence to a string.

to_name(NamingContext, NameString) -> Return Convert a stringified Nameto a Namesequence NameContext = #objref NameString = string() Return = [NameComponent] | {'EXCEPTION', NamingContext::InvalidName{}}

Converts a stringified Name to a Name sequence.

to_url(NamingContext, AddressString, NameString) -> Return Return an URL string constructed from the given Address and Name strings NameContext = #objref Address = NameString = string() Return = URLString | {'EXCEPTION', NamingContext::InvalidName{}} | {'EXCEPTION', NamingContextExt::InvalidAddress{}}

This operation takes a corbaloc string and a stringified Name sequence as input and returns a fully formed URL string.

resolve_str(NamingContext, NameString) -> Return Return the object associated, if any, with the given name string NameContext = #objref NameString = string() Return = #objref | {'EXCEPTION', NamingContext::InvalidName{}} | {'EXCEPTION', NamingContext::NotFound{why, rest_of_name}} | {'EXCEPTION', NamingContext::CannotProceed{cxt, rest_of_name}}

This operation takes a stringified Name sequence as input and returns the associated, if any, object.