com.virtualweaver.xotics.dialect.xape.engine
Class XapDocumentId

java.lang.Object
  extended bycom.virtualweaver.xotics.dialect.xape.engine.XapDocumentId

public class XapDocumentId
extends java.lang.Object

Represents the full ID of a document loaded by XAPE. This Id is composed with a document name and an optional share space container. No share space given identifies application instance private space.

Version:
2.1

Constructor Summary
XapDocumentId(java.lang.String dn)
          Constructor parsing a string having the following format : sharespace#docname, where sharespace# is optional.
XapDocumentId(java.lang.String sp, java.lang.String n)
          Constructor with an optional sharespace and a required docuent name
 
Method Summary
 java.lang.String getName()
          Accessor for the document name
 java.lang.String getShareSpace()
          Accessor for the share space name
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XapDocumentId

public XapDocumentId(java.lang.String dn)
Constructor parsing a string having the following format : sharespace#docname, where sharespace# is optional. No sharespace given means the private space of an application instance.

Parameters:
dn - a string to parse

XapDocumentId

public XapDocumentId(java.lang.String sp,
                     java.lang.String n)
Constructor with an optional sharespace and a required docuent name

Parameters:
sp - optional share space (null means private space)
n - require document name
Method Detail

getName

public java.lang.String getName()
Accessor for the document name

Returns:
the document name

getShareSpace

public java.lang.String getShareSpace()
Accessor for the share space name

Returns:
the share space name

toString

public java.lang.String toString()