Project: stp

com.ibm.rational.wvcm.stp
Interface StpLocation.ExtendedNamespace

Enclosing interface:
StpLocation

public static interface StpLocation.ExtendedNamespace

An object containing additional information associated with certain Namespace enumerators.


Method Summary
 StpLocation.Namespace getNamespace()
           
 String getResourceType()
           
 String toNamespaceField()
          The image of the extended namespace field.
 String toString()
          Generates a debug image for this ExtendedNamespace object
 

Method Detail

getNamespace

StpLocation.Namespace getNamespace()
Returns:
Returns the namespace.

getResourceType

String getResourceType()
Returns:
Returns the resource type portion of the compound REPO namespace field. Returns the empty string if the namespace is not REPO, FAST, or OID.

toNamespaceField

String toNamespaceField()
The image of the extended namespace field. For Namespace.REPO, FAST, or OID, this includes the resource type subfield; for Namespace.INVALID, this is the (misspelled) namespace field as entered.

Returns:
A String containing the image of the namespace field for this extended namespace (without the delimiting ':'). Will be empty if the namespace is DEFAULT and null if the location specification has no namespace field separate from the name field, i.e. if the namespace is NONE, PNAME_IMPLIED, HTTP, HTTPS, or FILE.

toString

String toString()
Generates a debug image for this ExtendedNamespace object

Overrides:
toString in class Object
Returns:
Returns the value of toNamespaceField(), substituting "<null>" for null.

Generated Tue 24-Jan-2012 10:05 AM

Copyright © IBM 2012. All rights reserved.