Index: fedd/abac-src/rtml/doc/edu/stanford/rt/credential/DomainSpecification.html
===================================================================
--- fedd/abac-src/rtml/doc/edu/stanford/rt/credential/DomainSpecification.html	(revision 8780cbecc6db2bdc2b9ef31eec6e5209ad3bff15)
+++ fedd/abac-src/rtml/doc/edu/stanford/rt/credential/DomainSpecification.html	(revision 8780cbecc6db2bdc2b9ef31eec6e5209ad3bff15)
@@ -0,0 +1,930 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc on Wed Oct 02 14:27:56 PDT 2002 -->
+<TITLE>
+DomainSpecification
+</TITLE>
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+</HEAD>
+<SCRIPT>
+function asd()
+{
+parent.document.title="DomainSpecification";
+}
+</SCRIPT>
+<BODY BGCOLOR="white" onload="asd();">
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_top"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DomainSpecification.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../edu/stanford/rt/credential/DelegationRole.html"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../edu/stanford/rt/credential/HashID.html"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="DomainSpecification.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;
+<SCRIPT>
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<!-- =========== END OF NAVBAR =========== -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+edu.stanford.rt.credential</FONT>
+<BR>
+Class  DomainSpecification</H2>
+<PRE>
+java.lang.Object
+  |
+  +--<B>edu.stanford.rt.credential.DomainSpecification</B>
+</PRE>
+<DL>
+<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A>, <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A></DD>
+</DL>
+<HR>
+<DL>
+<DT>public class <B>DomainSpecification</B><DT>extends java.lang.Object</DL>
+
+<P>
+<DL>
+<DT><B>Author:</B><DD>Ninghui Li, Sandra Qiu<br>
+
+ This class stores the common information about an <code>ApplicationDomain</code> or
+ a <code>CredentialDomain</code>. The info includes the following:
+ principal type, imported application domains, type declarations, 
+ role declarations, hash id, RTML context, and the parsing status.</DD>
+</DD>
+</DL>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#completeState">completeState</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A flag indicates the parsing status of the domain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#context">context</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RTML Context</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#hashID">hashID</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The hash value of the domain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#importedDomains">importedDomains</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores all imported domains in this domain, 
+ mapping string (domain name) to ApplicationDomain object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#principalType">principalType</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Principal type</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#roleDeclarations">roleDeclarations</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores all role declarations in this domain,
+ mapping string(role name) to role declaration object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#typeDeclarations">typeDeclarations</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores all type decalarations in this domain, 
+ mapping string(type name) to type declaration object.</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>(package private)</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#DomainSpecification(edu.stanford.rt.credential.RTContext)">DomainSpecification</A></B>(<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A>&nbsp;context)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constuctor for DomainSpecification.</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#addRole(edu.stanford.rt.credential.RoleDeclaration)">addRole</A></B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A>&nbsp;role)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method addRole.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#addType(edu.stanford.rt.datatype.DataType)">addType</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A>&nbsp;type)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method addType.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#addType(java.lang.String)">addType</A></B>(java.lang.String&nbsp;typeName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method addType.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getContext()">getContext</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getContext.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getHashID()">getHashID</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the hashID.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getImportedDomains()">getImportedDomains</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getImportedDomains.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getPrincipalType()">getPrincipalType</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getPrincipalType.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getRoleDeclarations()">getRoleDeclarations</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getRoleDeclarations.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getTypeDeclarations()">getTypeDeclarations</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getTypeDeclarations.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#importDomain(java.lang.String, edu.stanford.rt.credential.ApplicationDomain)">importDomain</A></B>(java.lang.String&nbsp;name,
+             <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A>&nbsp;spec)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method importDomain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#isComplete()">isComplete</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method isComplete.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupImportedDomain(java.lang.String)">lookupImportedDomain</A></B>(java.lang.String&nbsp;domainRef)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupImportedDomain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupRoleDeclaration(java.lang.String)">lookupRoleDeclaration</A></B>(java.lang.String&nbsp;roleName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupRoleDeclaration.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupRoleDeclaration(java.lang.String, java.lang.String)">lookupRoleDeclaration</A></B>(java.lang.String&nbsp;domainRef,
+                      java.lang.String&nbsp;roleName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupRoleDeclaration.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupType(java.lang.String)">lookupType</A></B>(java.lang.String&nbsp;typeName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupType.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupType(java.lang.String, java.lang.String)">lookupType</A></B>(java.lang.String&nbsp;domainRef,
+           java.lang.String&nbsp;typeName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupType.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#roleExistsInSystemDomain(java.lang.String)">roleExistsInSystemDomain</A></B>(java.lang.String&nbsp;roleName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method roleExistsInSystemDomain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#setComplete()">setComplete</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method setComplete.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#setHashID(edu.stanford.rt.credential.HashID)">setHashID</A></B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;hashID)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the hashID.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#setPrincipalType(edu.stanford.rt.datatype.SimpleType)">setPrincipalType</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A>&nbsp;prinType)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method setPrincipalType.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#typeExistsInSystemDomain(java.lang.String)">typeExistsInSystemDomain</A></B>(java.lang.String&nbsp;typeName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method typeExistsInSystemDomain.</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TD><B>Methods inherited from class java.lang.Object</B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="principalType"><!-- --></A><H3>
+principalType</H3>
+<PRE>
+private <A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A> <B>principalType</B></PRE>
+<DL>
+<DD>Principal type
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="importedDomains"><!-- --></A><H3>
+importedDomains</H3>
+<PRE>
+private <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>importedDomains</B></PRE>
+<DL>
+<DD>Stores all imported domains in this domain, 
+ mapping string (domain name) to ApplicationDomain object.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="typeDeclarations"><!-- --></A><H3>
+typeDeclarations</H3>
+<PRE>
+private <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>typeDeclarations</B></PRE>
+<DL>
+<DD>Stores all type decalarations in this domain, 
+ mapping string(type name) to type declaration object.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="roleDeclarations"><!-- --></A><H3>
+roleDeclarations</H3>
+<PRE>
+private <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>roleDeclarations</B></PRE>
+<DL>
+<DD>Stores all role declarations in this domain,
+ mapping string(role name) to role declaration object.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="completeState"><!-- --></A><H3>
+completeState</H3>
+<PRE>
+private boolean <B>completeState</B></PRE>
+<DL>
+<DD>A flag indicates the parsing status of the domain.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="hashID"><!-- --></A><H3>
+hashID</H3>
+<PRE>
+private <A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A> <B>hashID</B></PRE>
+<DL>
+<DD>The hash value of the domain.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="context"><!-- --></A><H3>
+context</H3>
+<PRE>
+private <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> <B>context</B></PRE>
+<DL>
+<DD>RTML Context
+<P>
+<DL>
+</DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="DomainSpecification(edu.stanford.rt.credential.RTContext)"><!-- --></A><H3>
+DomainSpecification</H3>
+<PRE>
+<B>DomainSpecification</B>(<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A>&nbsp;context)
+              throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Constuctor for DomainSpecification.
+             Contructs a DomainSpecification object with the specific uri. 
+             Include System DomainSpecification for non-system DomainSpecification
+                 object.
+<P>
+<DT><B>Parameters:</B><DD><CODE>context</CODE> - 
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="importDomain(java.lang.String, edu.stanford.rt.credential.ApplicationDomain)"><!-- --></A><H3>
+importDomain</H3>
+<PRE>
+public void <B>importDomain</B>(java.lang.String&nbsp;name,
+                         <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A>&nbsp;spec)
+                  throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method importDomain.
+ 		Add a newly imported domain map.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - the short name to refer to spec with the domain.<DD><CODE>spec</CODE> - 
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addType(edu.stanford.rt.datatype.DataType)"><!-- --></A><H3>
+addType</H3>
+<PRE>
+public void <B>addType</B>(<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A>&nbsp;type)
+             throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method addType.
+ 		Add a new type declaration to the domain.<br>
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>type</CODE> - 
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - DomainSpecException when a duplicated type declaration, 
+      i.e. a type declaration with the same name and same data 
+      type, is added.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addType(java.lang.String)"><!-- --></A><H3>
+addType</H3>
+<PRE>
+public void <B>addType</B>(java.lang.String&nbsp;typeName)
+             throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method addType.
+ 		Add XML built-in type.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>typeName</CODE> - 
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addRole(edu.stanford.rt.credential.RoleDeclaration)"><!-- --></A><H3>
+addRole</H3>
+<PRE>
+public void <B>addRole</B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A>&nbsp;role)
+             throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method addRole.
+ 		Add a new role declaration to the domain.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>role</CODE> - 
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setPrincipalType(edu.stanford.rt.datatype.SimpleType)"><!-- --></A><H3>
+setPrincipalType</H3>
+<PRE>
+public void <B>setPrincipalType</B>(<A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A>&nbsp;prinType)
+                      throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method setPrincipalType.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>prinType</CODE> - 
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isComplete()"><!-- --></A><H3>
+isComplete</H3>
+<PRE>
+public boolean <B>isComplete</B>()</PRE>
+<DL>
+<DD>Method isComplete.
+  checks whether the parsing is completed.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>boolean</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setComplete()"><!-- --></A><H3>
+setComplete</H3>
+<PRE>
+public void <B>setComplete</B>()</PRE>
+<DL>
+<DD>Method setComplete.
+      marks the parsing status as complete, so no modification 
+      is allowed for imported domains, type declarations , and 
+      role declarations maps.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="lookupImportedDomain(java.lang.String)"><!-- --></A><H3>
+lookupImportedDomain</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> <B>lookupImportedDomain</B>(java.lang.String&nbsp;domainRef)
+                                         throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method lookupImportedDomain.
+ 		Lookup an imported domain by the given domainRef 
+      in the currnt domain.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>domainRef</CODE> - 
+<DT><B>Returns:</B><DD>DomainSpecification
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find one</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="lookupType(java.lang.String)"><!-- --></A><H3>
+lookupType</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A> <B>lookupType</B>(java.lang.String&nbsp;typeName)
+                    throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method lookupType.
+ 		Look up the DataType declaration by given typeName 
+      in the current domain.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>typeName</CODE> - 
+<DT><B>Returns:</B><DD>DataType
+  returns null if cannot find one.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find a DataType declaration by the given name.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="lookupType(java.lang.String, java.lang.String)"><!-- --></A><H3>
+lookupType</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A> <B>lookupType</B>(java.lang.String&nbsp;domainRef,
+                           java.lang.String&nbsp;typeName)
+                    throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method lookupType.
+ 		Look up the DataType declaration by given typeName in the given domain.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>domainRef</CODE> - specifies which domain to look up in. If domainRef is null or an
+ 		empty string, then look up in the current domain.<DD><CODE>typeName</CODE> - 
+<DT><B>Returns:</B><DD>DataType
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find a DataType with given name.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="lookupRoleDeclaration(java.lang.String)"><!-- --></A><H3>
+lookupRoleDeclaration</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>lookupRoleDeclaration</B>(java.lang.String&nbsp;roleName)
+                                      throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method lookupRoleDeclaration.
+ 		Look up the role declaration by given roleName in the current domain.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>roleName</CODE> - 
+<DT><B>Returns:</B><DD>RoleDeclaration
+  returns null if cannot find one.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find one.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="lookupRoleDeclaration(java.lang.String, java.lang.String)"><!-- --></A><H3>
+lookupRoleDeclaration</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>lookupRoleDeclaration</B>(java.lang.String&nbsp;domainRef,
+                                             java.lang.String&nbsp;roleName)
+                                      throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method lookupRoleDeclaration.
+ 		looks up a role declaration by given roleName in the given domain.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>domainRef</CODE> - specifies which domain to look up in.  If domainRef is null or an
+ 		empty string, then look up in the current domain.<DD><CODE>roleName</CODE> - 
+<DT><B>Returns:</B><DD>RoleDeclaration
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find a one.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getContext()"><!-- --></A><H3>
+getContext</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> <B>getContext</B>()</PRE>
+<DL>
+<DD>Method getContext.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>RTContext</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getTypeDeclarations()"><!-- --></A><H3>
+getTypeDeclarations</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>getTypeDeclarations</B>()
+                               throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method getTypeDeclarations.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>OrderedMap
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - when parsing is not completed.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getRoleDeclarations()"><!-- --></A><H3>
+getRoleDeclarations</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>getRoleDeclarations</B>()
+                               throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method getRoleDeclarations.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>OrderedMap
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - when parsing is not completed.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getImportedDomains()"><!-- --></A><H3>
+getImportedDomains</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>getImportedDomains</B>()
+                              throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Method getImportedDomains.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>OrderedMap
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - when parsing is not completed.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPrincipalType()"><!-- --></A><H3>
+getPrincipalType</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A> <B>getPrincipalType</B>()</PRE>
+<DL>
+<DD>Method getPrincipalType.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>SimpleType</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getHashID()"><!-- --></A><H3>
+getHashID</H3>
+<PRE>
+public <A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A> <B>getHashID</B>()</PRE>
+<DL>
+<DD>Returns the hashID.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>ApplicationDomainHashID</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setHashID(edu.stanford.rt.credential.HashID)"><!-- --></A><H3>
+setHashID</H3>
+<PRE>
+public void <B>setHashID</B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;hashID)
+               throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
+<DL>
+<DD>Sets the hashID.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>hashID</CODE> - The hashID to set
+<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="typeExistsInSystemDomain(java.lang.String)"><!-- --></A><H3>
+typeExistsInSystemDomain</H3>
+<PRE>
+private boolean <B>typeExistsInSystemDomain</B>(java.lang.String&nbsp;typeName)</PRE>
+<DL>
+<DD>Method typeExistsInSystemDomain.
+  checks whether a DataType with given typeName is already 
+  declcared in system domain.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>typeName</CODE> - 
+<DT><B>Returns:</B><DD>boolean</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="roleExistsInSystemDomain(java.lang.String)"><!-- --></A><H3>
+roleExistsInSystemDomain</H3>
+<PRE>
+private boolean <B>roleExistsInSystemDomain</B>(java.lang.String&nbsp;roleName)</PRE>
+<DL>
+<DD>Method roleExistsInSystemDomain.
+  checks whether a RoleDeclaration with given roleName is already 
+  declcared in system domain.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>roleName</CODE> - 
+<DT><B>Returns:</B><DD>boolean</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DomainSpecification.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../edu/stanford/rt/credential/DelegationRole.html"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../edu/stanford/rt/credential/HashID.html"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="DomainSpecification.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;
+<SCRIPT>
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<!-- =========== END OF NAVBAR =========== -->
+
+<HR>
+
+</BODY>
+</HTML>
