1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc on Wed Oct 02 14:27:55 PDT 2002 --> |
---|
6 | <TITLE> |
---|
7 | RTParser |
---|
8 | </TITLE> |
---|
9 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
10 | </HEAD> |
---|
11 | <SCRIPT> |
---|
12 | function asd() |
---|
13 | { |
---|
14 | parent.document.title="RTParser"; |
---|
15 | } |
---|
16 | </SCRIPT> |
---|
17 | <BODY BGCOLOR="white" onload="asd();"> |
---|
18 | |
---|
19 | <!-- ========== START OF NAVBAR ========== --> |
---|
20 | <A NAME="navbar_top"><!-- --></A> |
---|
21 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
---|
22 | <TR> |
---|
23 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
24 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
25 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
---|
26 | <TR ALIGN="center" VALIGN="top"> |
---|
27 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
28 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
29 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
30 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RTParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
31 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
32 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
33 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
34 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
35 | </TR> |
---|
36 | </TABLE> |
---|
37 | </TD> |
---|
38 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
39 | </EM> |
---|
40 | </TD> |
---|
41 | </TR> |
---|
42 | |
---|
43 | <TR> |
---|
44 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
45 | <A HREF="../../../../edu/stanford/rt/parser/ParsingErrorHandler.html"><B>PREV CLASS</B></A> |
---|
46 | NEXT CLASS</FONT></TD> |
---|
47 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
48 | <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
---|
49 | <A HREF="RTParser.html" TARGET="_top"><B>NO FRAMES</B></A> |
---|
50 | |
---|
51 | <SCRIPT> |
---|
52 | <!-- |
---|
53 | if(window==top) { |
---|
54 | document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
---|
55 | } |
---|
56 | //--> |
---|
57 | </SCRIPT> |
---|
58 | <NOSCRIPT> |
---|
59 | <A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
---|
60 | </NOSCRIPT> |
---|
61 | </FONT></TD> |
---|
62 | </TR> |
---|
63 | <TR> |
---|
64 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
65 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
66 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
67 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
68 | </TR> |
---|
69 | </TABLE> |
---|
70 | <!-- =========== END OF NAVBAR =========== --> |
---|
71 | |
---|
72 | <HR> |
---|
73 | <!-- ======== START OF CLASS DATA ======== --> |
---|
74 | <H2> |
---|
75 | <FONT SIZE="-1"> |
---|
76 | edu.stanford.rt.parser</FONT> |
---|
77 | <BR> |
---|
78 | Class RTParser</H2> |
---|
79 | <PRE> |
---|
80 | java.lang.Object |
---|
81 | | |
---|
82 | +--<B>edu.stanford.rt.parser.RTParser</B> |
---|
83 | </PRE> |
---|
84 | <DL> |
---|
85 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../edu/stanford/rt/util/Constants.html">Constants</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html">TagNameConstants</A></DD> |
---|
86 | </DL> |
---|
87 | <HR> |
---|
88 | <DL> |
---|
89 | <DT>public class <B>RTParser</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html">TagNameConstants</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html">Constants</A></DL> |
---|
90 | |
---|
91 | <P> |
---|
92 | <DL> |
---|
93 | <DT><B>Author:</B><DD>Ninghui Li, Sandra Qiu <br> |
---|
94 | |
---|
95 | RTParser parses a XML-format CredentialStore document and transforms |
---|
96 | the various elements into their corresponding Java objects.</DD> |
---|
97 | </DD> |
---|
98 | </DL> |
---|
99 | <HR> |
---|
100 | |
---|
101 | <P> |
---|
102 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
103 | |
---|
104 | |
---|
105 | <!-- =========== FIELD SUMMARY =========== --> |
---|
106 | |
---|
107 | <A NAME="field_summary"><!-- --></A> |
---|
108 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
109 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
110 | <TD COLSPAN=2><FONT SIZE="+2"> |
---|
111 | <B>Field Summary</B></FONT></TD> |
---|
112 | </TR> |
---|
113 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
114 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
115 | <CODE>private org.apache.xerces.parsers.DOMParser</CODE></FONT></TD> |
---|
116 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#parser">parser</A></B></CODE> |
---|
117 | |
---|
118 | <BR> |
---|
119 | </TD> |
---|
120 | </TR> |
---|
121 | </TABLE> |
---|
122 | <A NAME="fields_inherited_from_class_edu.stanford.rt.parser.TagNameConstants"><!-- --></A> |
---|
123 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
124 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
125 | <TD><B>Fields inherited from interface edu.stanford.rt.parser.<A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html">TagNameConstants</A></B></TD> |
---|
126 | </TR> |
---|
127 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
128 | <TD><CODE><A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ACCESS_RULE">ACCESS_RULE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ADVANCED_DELEGATION">ADVANCED_DELEGATION</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#APP_DOMAIN_SPEC">APP_DOMAIN_SPEC</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#BASE">BASE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#BASE_ROLE">BASE_ROLE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#CONTROL">CONTROL</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#CREDENTIAL">CREDENTIAL</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#CREDENTIAL_IDENTIFIER">CREDENTIAL_IDENTIFIER</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#CREDENTIAL_STORE">CREDENTIAL_STORE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#DECIMAL_TYPE">DECIMAL_TYPE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#DECIMAL_VALUE">DECIMAL_VALUE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#DELEGATE_TO">DELEGATE_TO</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#DIMENSION">DIMENSION</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#DOMAIN">DOMAIN</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#DSA_KEY_VALUE">DSA_KEY_VALUE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ENUM_TYPE">ENUM_TYPE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ENUM_VALUE">ENUM_VALUE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#EQUALS">EQUALS</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#EXCLUSIVE_PRODUCT">EXCLUSIVE_PRODUCT</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#EXCLUSIVE_PRODUCT_CONTAINMENT">EXCLUSIVE_PRODUCT_CONTAINMENT</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#EXTENSION">EXTENSION</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#EXTERNAL_ROLE">EXTERNAL_ROLE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#FIELD">FIELD</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#FROM">FROM</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#HEAD_ROLE_TERM">HEAD_ROLE_TERM</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ID">ID</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#IDENTITY">IDENTITY</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#IDREF">IDREF</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#IGNORE_CASE">IGNORE_CASE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#IMPORT_DOMAIN">IMPORT_DOMAIN</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#INCLUDE_CHILDREN">INCLUDE_CHILDREN</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#INCLUDE_CURRENT">INCLUDE_CURRENT</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#INCLUDE_DESCENDENTS">INCLUDE_DESCENDENTS</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#INCLUDE_MAX">INCLUDE_MAX</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#INCLUDE_MIN">INCLUDE_MIN</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#INTEGER_TYPE">INTEGER_TYPE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#INTEGER_VALUE">INTEGER_VALUE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#INTERSECTION">INTERSECTION</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#INTERSECTION_CONTAINMENT">INTERSECTION_CONTAINMENT</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#INTERVAL">INTERVAL</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#IS_IDENTITY">IS_IDENTITY</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ISSUE_AT">ISSUE_AT</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ISSUER">ISSUER</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ISSUER_TRACES">ISSUER_TRACES</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#KEY_HASH">KEY_HASH</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#KEY_VALUE">KEY_VALUE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#LINKED_CONTAINMENT">LINKED_CONTAINMENT</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#LINKED_ROLE">LINKED_ROLE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#MAX">MAX</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#MIN">MIN</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#NAME">NAME</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ORDER">ORDER</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ORDERED">ORDERED</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#PARAMETER">PARAMETER</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#PLAIN">PLAIN</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#PREAMBLE">PREAMBLE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#PRINCIPAL">PRINCIPAL</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#PRINCIPAL_INFO">PRINCIPAL_INFO</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#PRINCIPAL_REF">PRINCIPAL_REF</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#PRINCIPAL_TYPE">PRINCIPAL_TYPE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#PRODUCT">PRODUCT</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#PRODUCT_CONTAINMENT">PRODUCT_CONTAINMENT</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#PROJECTION">PROJECTION</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#RECORD">RECORD</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#RECORD_TYPE">RECORD_TYPE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#REF">REF</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#RESTRICTION">RESTRICTION</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ROLE_DECLARATION">ROLE_DECLARATION</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ROLE_TERM">ROLE_TERM</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ROOT_FIRST">ROOT_FIRST</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#ROOT_LAST">ROOT_LAST</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#RSA_KEY_VALUE">RSA_KEY_VALUE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#RULE_IDENTIFIER">RULE_IDENTIFIER</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#SEPARATOR">SEPARATOR</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#SET">SET</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#SHORT_NAME">SHORT_NAME</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#SIMPLE_CONTAINMENT">SIMPLE_CONTAINMENT</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#SIMPLE_DELEGATION">SIMPLE_DELEGATION</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#SIMPLE_MEMBER">SIMPLE_MEMBER</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#SIZE">SIZE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#SPECIAL_PRINCIPAL">SPECIAL_PRINCIPAL</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#STEP">STEP</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#STRING_TYPE">STRING_TYPE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#STRING_VALUE">STRING_VALUE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#SUBJECT_TRACES">SUBJECT_TRACES</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#TIME_VALUE">TIME_VALUE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#TO">TO</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#TREE_TYPE">TREE_TYPE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#TREE_VALUE">TREE_VALUE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#TYPE">TYPE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#URI">URI</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#VALID_FROM">VALID_FROM</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#VALID_TO">VALID_TO</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#VALIDITY_RULE">VALIDITY_RULE</A>, <A HREF="../../../../edu/stanford/rt/parser/TagNameConstants.html#VALIDITY_TIME">VALIDITY_TIME</A></CODE></TD> |
---|
129 | </TR> |
---|
130 | </TABLE> |
---|
131 | <A NAME="fields_inherited_from_class_edu.stanford.rt.util.Constants"><!-- --></A> |
---|
132 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
133 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
134 | <TD><B>Fields inherited from interface edu.stanford.rt.util.<A HREF="../../../../edu/stanford/rt/util/Constants.html">Constants</A></B></TD> |
---|
135 | </TR> |
---|
136 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
137 | <TD><CODE><A HREF="../../../../edu/stanford/rt/util/Constants.html#COLON">COLON</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#illegal_value_for">illegal_value_for</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#improper_sub_element_for">improper_sub_element_for</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#INDENT">INDENT</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#ISSUER_TRACES_ALL">ISSUER_TRACES_ALL</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#ISSUER_TRACES_DEF">ISSUER_TRACES_DEF</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#ISSUER_TRACES_NONE">ISSUER_TRACES_NONE</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#ISSUER_TRACES_RULE">ISSUER_TRACES_RULE</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#missing_attr_value">missing_attr_value</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#no_support_for">no_support_for</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#SUBJECT_TRACES_ALL">SUBJECT_TRACES_ALL</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#SUBJECT_TRACES_FACT">SUBJECT_TRACES_FACT</A>, <A HREF="../../../../edu/stanford/rt/util/Constants.html#SUBJECT_TRACES_NONE">SUBJECT_TRACES_NONE</A></CODE></TD> |
---|
138 | </TR> |
---|
139 | </TABLE> |
---|
140 | |
---|
141 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
142 | |
---|
143 | <A NAME="constructor_summary"><!-- --></A> |
---|
144 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
145 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
146 | <TD COLSPAN=2><FONT SIZE="+2"> |
---|
147 | <B>Constructor Summary</B></FONT></TD> |
---|
148 | </TR> |
---|
149 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
150 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#RTParser()">RTParser</A></B>()</CODE> |
---|
151 | |
---|
152 | <BR> |
---|
153 | Constructor for RTParser.</TD> |
---|
154 | </TR> |
---|
155 | </TABLE> |
---|
156 | |
---|
157 | <!-- ========== METHOD SUMMARY =========== --> |
---|
158 | |
---|
159 | <A NAME="method_summary"><!-- --></A> |
---|
160 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
161 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
162 | <TD COLSPAN=2><FONT SIZE="+2"> |
---|
163 | <B>Method Summary</B></FONT></TD> |
---|
164 | </TR> |
---|
165 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
167 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A></CODE></FONT></TD> |
---|
168 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#createSystemDomain()">createSystemDomain</A></B>()</CODE> |
---|
169 | |
---|
170 | <BR> |
---|
171 | Method createSystemDomain.</TD> |
---|
172 | </TR> |
---|
173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
175 | <CODE>static org.w3c.dom.Element[]</CODE></FONT></TD> |
---|
176 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#getChildElements(org.w3c.dom.Element)">getChildElements</A></B>(org.w3c.dom.Element parent)</CODE> |
---|
177 | |
---|
178 | <BR> |
---|
179 | Method getChildElements.</TD> |
---|
180 | </TR> |
---|
181 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
183 | <CODE>static org.w3c.dom.Element</CODE></FONT></TD> |
---|
184 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#getFirstChildElement(org.w3c.dom.Element)">getFirstChildElement</A></B>(org.w3c.dom.Element parent)</CODE> |
---|
185 | |
---|
186 | <BR> |
---|
187 | Method getFirstChildElement.</TD> |
---|
188 | </TR> |
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
191 | <CODE>static org.w3c.dom.Element</CODE></FONT></TD> |
---|
192 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#getFirstChildElementByTagName(org.w3c.dom.Element, java.lang.String)">getFirstChildElementByTagName</A></B>(org.w3c.dom.Element parent, |
---|
193 | java.lang.String tagName)</CODE> |
---|
194 | |
---|
195 | <BR> |
---|
196 | </TD> |
---|
197 | </TR> |
---|
198 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
199 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
200 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A></CODE></FONT></TD> |
---|
201 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#locateDomain(java.lang.String, java.lang.String, edu.stanford.rt.credential.RTContext)">locateDomain</A></B>(java.lang.String idref, |
---|
202 | java.lang.String uri, |
---|
203 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext)</CODE> |
---|
204 | |
---|
205 | <BR> |
---|
206 | Method locateDomain.</TD> |
---|
207 | </TR> |
---|
208 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
209 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
210 | <CODE> void</CODE></FONT></TD> |
---|
211 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#parseCredentialStore(java.io.InputStream, edu.stanford.rt.credential.RTContext, edu.stanford.rt.credential.CredentialStore)">parseCredentialStore</A></B>(java.io.InputStream in, |
---|
212 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext, |
---|
213 | <A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html">CredentialStore</A> credentialStore)</CODE> |
---|
214 | |
---|
215 | <BR> |
---|
216 | Method parseCredentialStore.</TD> |
---|
217 | </TR> |
---|
218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
220 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A></CODE></FONT></TD> |
---|
221 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#parseSystemDomain(java.io.InputStream)">parseSystemDomain</A></B>(java.io.InputStream in)</CODE> |
---|
222 | |
---|
223 | <BR> |
---|
224 | Method parseSystemDomain.</TD> |
---|
225 | </TR> |
---|
226 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
228 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A></CODE></FONT></TD> |
---|
229 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformAccessRule(org.w3c.dom.Element, edu.stanford.rt.credential.RTContext)">transformAccessRule</A></B>(org.w3c.dom.Element ele, |
---|
230 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext)</CODE> |
---|
231 | |
---|
232 | <BR> |
---|
233 | </TD> |
---|
234 | </TR> |
---|
235 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
237 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html">PrincipalExpression</A></CODE></FONT></TD> |
---|
238 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformBody(edu.stanford.rt.credential.Principal, edu.stanford.rt.credential.CredentialDomain, org.w3c.dom.Element)">transformBody</A></B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> issuer, |
---|
239 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain, |
---|
240 | org.w3c.dom.Element ele)</CODE> |
---|
241 | |
---|
242 | <BR> |
---|
243 | Method transformBody.</TD> |
---|
244 | </TR> |
---|
245 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
246 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
247 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A></CODE></FONT></TD> |
---|
248 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformCredential(org.w3c.dom.Element, edu.stanford.rt.credential.RTContext)">transformCredential</A></B>(org.w3c.dom.Element ele, |
---|
249 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext)</CODE> |
---|
250 | |
---|
251 | <BR> |
---|
252 | Method transformCredential.</TD> |
---|
253 | </TR> |
---|
254 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
255 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
256 | <CODE> void</CODE></FONT></TD> |
---|
257 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformCredentialStore(org.w3c.dom.Element, edu.stanford.rt.credential.RTContext, edu.stanford.rt.credential.CredentialStore)">transformCredentialStore</A></B>(org.w3c.dom.Element root, |
---|
258 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext, |
---|
259 | <A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html">CredentialStore</A> credentialStore)</CODE> |
---|
260 | |
---|
261 | <BR> |
---|
262 | Method transformCredentialStore.</TD> |
---|
263 | </TR> |
---|
264 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
265 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
266 | <CODE>private java.util.Date</CODE></FONT></TD> |
---|
267 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformDateTime(java.lang.String, java.lang.String)">transformDateTime</A></B>(java.lang.String typeName, |
---|
268 | java.lang.String dateTime)</CODE> |
---|
269 | |
---|
270 | <BR> |
---|
271 | Method transformDateTime.</TD> |
---|
272 | </TR> |
---|
273 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
274 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
275 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/DecimalType.html">DecimalType</A></CODE></FONT></TD> |
---|
276 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformDecimalTypeDeclaration(org.w3c.dom.Element)">transformDecimalTypeDeclaration</A></B>(org.w3c.dom.Element ele)</CODE> |
---|
277 | |
---|
278 | <BR> |
---|
279 | Method transformDecimalTypeDeclaration.</TD> |
---|
280 | </TR> |
---|
281 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
282 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
283 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/DecimalValue.html">DecimalValue</A></CODE></FONT></TD> |
---|
284 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformDecimalValue(edu.stanford.rt.datatype.DecimalType, org.w3c.dom.Element)">transformDecimalValue</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/DecimalType.html">DecimalType</A> type, |
---|
285 | org.w3c.dom.Element ele)</CODE> |
---|
286 | |
---|
287 | <BR> |
---|
288 | Method transformDecimalValue.</TD> |
---|
289 | </TR> |
---|
290 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
291 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
292 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/DelegationRole.html">DelegationRole</A></CODE></FONT></TD> |
---|
293 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformDelegation(edu.stanford.rt.credential.Principal, edu.stanford.rt.credential.CredentialDomain, org.w3c.dom.Element, org.w3c.dom.Element)">transformDelegation</A></B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> issuer, |
---|
294 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain, |
---|
295 | org.w3c.dom.Element delegationElement, |
---|
296 | org.w3c.dom.Element controlElement)</CODE> |
---|
297 | |
---|
298 | <BR> |
---|
299 | Method transformDelegation.</TD> |
---|
300 | </TR> |
---|
301 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
302 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
303 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A></CODE></FONT></TD> |
---|
304 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformDomain(org.w3c.dom.Element, edu.stanford.rt.credential.RTContext)">transformDomain</A></B>(org.w3c.dom.Element ele, |
---|
305 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext)</CODE> |
---|
306 | |
---|
307 | <BR> |
---|
308 | Method parseDomain.</TD> |
---|
309 | </TR> |
---|
310 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
311 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
312 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/EnumType.html">EnumType</A></CODE></FONT></TD> |
---|
313 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformEnumTypeDeclaration(org.w3c.dom.Element, edu.stanford.rt.credential.DomainSpecification)">transformEnumTypeDeclaration</A></B>(org.w3c.dom.Element ele, |
---|
314 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> currentSpec)</CODE> |
---|
315 | |
---|
316 | <BR> |
---|
317 | Method transformEnumTypeDeclaration.</TD> |
---|
318 | </TR> |
---|
319 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
320 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
321 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/EnumValue.html">EnumValue</A></CODE></FONT></TD> |
---|
322 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformEnumValue(edu.stanford.rt.datatype.EnumType, org.w3c.dom.Element)">transformEnumValue</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/EnumType.html">EnumType</A> type, |
---|
323 | org.w3c.dom.Element ele)</CODE> |
---|
324 | |
---|
325 | <BR> |
---|
326 | Method transformEnumValue.</TD> |
---|
327 | </TR> |
---|
328 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
329 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
330 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/Role.html">Role</A></CODE></FONT></TD> |
---|
331 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformExternalRole(org.w3c.dom.Element, edu.stanford.rt.credential.CredentialDomain)">transformExternalRole</A></B>(org.w3c.dom.Element ele, |
---|
332 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain)</CODE> |
---|
333 | |
---|
334 | <BR> |
---|
335 | Method transformExternalRole.</TD> |
---|
336 | </TR> |
---|
337 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
338 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
339 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/IntegerType.html">IntegerType</A></CODE></FONT></TD> |
---|
340 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformIntegerTypeDeclaration(org.w3c.dom.Element)">transformIntegerTypeDeclaration</A></B>(org.w3c.dom.Element ele)</CODE> |
---|
341 | |
---|
342 | <BR> |
---|
343 | Method transformIntegerTypeDeclaration.</TD> |
---|
344 | </TR> |
---|
345 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
346 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
347 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/IntegerValue.html">IntegerValue</A></CODE></FONT></TD> |
---|
348 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformIntegerValue(edu.stanford.rt.datatype.IntegerType, org.w3c.dom.Element)">transformIntegerValue</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/IntegerType.html">IntegerType</A> type, |
---|
349 | org.w3c.dom.Element ele)</CODE> |
---|
350 | |
---|
351 | <BR> |
---|
352 | Method transformIntegerValue.</TD> |
---|
353 | </TR> |
---|
354 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
355 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
356 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/IntervalValueSet.html">IntervalValueSet</A></CODE></FONT></TD> |
---|
357 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformIntervalValue(edu.stanford.rt.datatype.OrderedType, org.w3c.dom.Element)">transformIntervalValue</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/OrderedType.html">OrderedType</A> type, |
---|
358 | org.w3c.dom.Element ele)</CODE> |
---|
359 | |
---|
360 | <BR> |
---|
361 | Method transformIntervalValue.</TD> |
---|
362 | </TR> |
---|
363 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
364 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
365 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/DataValue.html">DataValue</A></CODE></FONT></TD> |
---|
366 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformOrderedValue(edu.stanford.rt.datatype.OrderedType, org.w3c.dom.Element)">transformOrderedValue</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/OrderedType.html">OrderedType</A> type, |
---|
367 | org.w3c.dom.Element ele)</CODE> |
---|
368 | |
---|
369 | <BR> |
---|
370 | Method transformOrderedValue.</TD> |
---|
371 | </TR> |
---|
372 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
373 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
374 | <CODE>private void</CODE></FONT></TD> |
---|
375 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformParameter(org.w3c.dom.Element, java.lang.StringBuffer, edu.stanford.rt.credential.RoleTerm, edu.stanford.rt.credential.CredentialDomain)">transformParameter</A></B>(org.w3c.dom.Element ele, |
---|
376 | java.lang.StringBuffer prefix, |
---|
377 | <A HREF="../../../../edu/stanford/rt/credential/RoleTerm.html">RoleTerm</A> roleTerm, |
---|
378 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain)</CODE> |
---|
379 | |
---|
380 | <BR> |
---|
381 | Method transformParameter.</TD> |
---|
382 | </TR> |
---|
383 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
384 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
385 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD> |
---|
386 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformParameters(org.w3c.dom.NodeList, edu.stanford.rt.credential.DomainSpecification)">transformParameters</A></B>(org.w3c.dom.NodeList nodes, |
---|
387 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> currentSpec)</CODE> |
---|
388 | |
---|
389 | <BR> |
---|
390 | Method parseParameters.</TD> |
---|
391 | </TR> |
---|
392 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
393 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
394 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A></CODE></FONT></TD> |
---|
395 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformPrincipalTypeDeclaration(org.w3c.dom.Element, edu.stanford.rt.credential.DomainSpecification)">transformPrincipalTypeDeclaration</A></B>(org.w3c.dom.Element ele, |
---|
396 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> currentSpec)</CODE> |
---|
397 | |
---|
398 | <BR> |
---|
399 | Method transformPrincipalTypeDeclaration.</TD> |
---|
400 | </TR> |
---|
401 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
402 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
403 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/PrincipalValue.html">PrincipalValue</A></CODE></FONT></TD> |
---|
404 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformPrincipalValue(org.w3c.dom.Element, edu.stanford.rt.credential.CredentialDomain)">transformPrincipalValue</A></B>(org.w3c.dom.Element ele, |
---|
405 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain)</CODE> |
---|
406 | |
---|
407 | <BR> |
---|
408 | Method transformPrincipalValue.</TD> |
---|
409 | </TR> |
---|
410 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
411 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
412 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/RecordType.html">RecordType</A></CODE></FONT></TD> |
---|
413 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformRecordTypeDeclaration(org.w3c.dom.Element, edu.stanford.rt.credential.DomainSpecification)">transformRecordTypeDeclaration</A></B>(org.w3c.dom.Element ele, |
---|
414 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> currentSpec)</CODE> |
---|
415 | |
---|
416 | <BR> |
---|
417 | Method transformRecordTypeDeclaration.</TD> |
---|
418 | </TR> |
---|
419 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
420 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
421 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD> |
---|
422 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformRoleDeclaration(org.w3c.dom.Element, edu.stanford.rt.credential.DomainSpecification)">transformRoleDeclaration</A></B>(org.w3c.dom.Element ele, |
---|
423 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> currentSpec)</CODE> |
---|
424 | |
---|
425 | <BR> |
---|
426 | Method transformRoleDeclaration.</TD> |
---|
427 | </TR> |
---|
428 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
429 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
430 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A></CODE></FONT></TD> |
---|
431 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformRoleDefinition(edu.stanford.rt.credential.Principal, edu.stanford.rt.credential.CredentialDomain, org.w3c.dom.Element)">transformRoleDefinition</A></B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> issuer, |
---|
432 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain, |
---|
433 | org.w3c.dom.Element ele)</CODE> |
---|
434 | |
---|
435 | <BR> |
---|
436 | Method transformRoleDefinition.</TD> |
---|
437 | </TR> |
---|
438 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
439 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
440 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/RoleIntersection.html">RoleIntersection</A></CODE></FONT></TD> |
---|
441 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformRoleIntersection(org.w3c.dom.Element, edu.stanford.rt.credential.CredentialDomain)">transformRoleIntersection</A></B>(org.w3c.dom.Element ele, |
---|
442 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain)</CODE> |
---|
443 | |
---|
444 | <BR> |
---|
445 | Method transformRoleIntersection.</TD> |
---|
446 | </TR> |
---|
447 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
448 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
449 | <CODE>private <A HREF="../../../../edu/stanford/rt/credential/RoleTerm.html">RoleTerm</A></CODE></FONT></TD> |
---|
450 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformRoleTerm(org.w3c.dom.Element, edu.stanford.rt.credential.CredentialDomain)">transformRoleTerm</A></B>(org.w3c.dom.Element ele, |
---|
451 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain)</CODE> |
---|
452 | |
---|
453 | <BR> |
---|
454 | Method transformRoleTerm.</TD> |
---|
455 | </TR> |
---|
456 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
457 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
458 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/StringType.html">StringType</A></CODE></FONT></TD> |
---|
459 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformStringTypeDeclaration(org.w3c.dom.Element)">transformStringTypeDeclaration</A></B>(org.w3c.dom.Element ele)</CODE> |
---|
460 | |
---|
461 | <BR> |
---|
462 | Method transformStringTypeDeclaration.</TD> |
---|
463 | </TR> |
---|
464 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
465 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
466 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/StringValue.html">StringValue</A></CODE></FONT></TD> |
---|
467 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformStringValue(edu.stanford.rt.datatype.StringType, org.w3c.dom.Element)">transformStringValue</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/StringType.html">StringType</A> type, |
---|
468 | org.w3c.dom.Element ele)</CODE> |
---|
469 | |
---|
470 | <BR> |
---|
471 | Method transformStringValue.</TD> |
---|
472 | </TR> |
---|
473 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
474 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
475 | <CODE> <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A></CODE></FONT></TD> |
---|
476 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformSystemDomain(org.w3c.dom.Element)">transformSystemDomain</A></B>(org.w3c.dom.Element root)</CODE> |
---|
477 | |
---|
478 | <BR> |
---|
479 | Method transformSystemDomain.</TD> |
---|
480 | </TR> |
---|
481 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
482 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
483 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/TimeValue.html">TimeValue</A></CODE></FONT></TD> |
---|
484 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformTimeValue(edu.stanford.rt.datatype.TimeType, org.w3c.dom.Element)">transformTimeValue</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/TimeType.html">TimeType</A> type, |
---|
485 | org.w3c.dom.Element ele)</CODE> |
---|
486 | |
---|
487 | <BR> |
---|
488 | Method transformTimeValue.</TD> |
---|
489 | </TR> |
---|
490 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
491 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
492 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/TreeType.html">TreeType</A></CODE></FONT></TD> |
---|
493 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformTreeTypeDeclaration(org.w3c.dom.Element)">transformTreeTypeDeclaration</A></B>(org.w3c.dom.Element ele)</CODE> |
---|
494 | |
---|
495 | <BR> |
---|
496 | Method transformTreeTypeDeclaration.</TD> |
---|
497 | </TR> |
---|
498 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
499 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
500 | <CODE>private <A HREF="../../../../edu/stanford/rt/datatype/TreeValueSet.html">TreeValueSet</A></CODE></FONT></TD> |
---|
501 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformTreeValue(edu.stanford.rt.datatype.TreeType, org.w3c.dom.Element)">transformTreeValue</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/TreeType.html">TreeType</A> type, |
---|
502 | org.w3c.dom.Element ele)</CODE> |
---|
503 | |
---|
504 | <BR> |
---|
505 | Method transformTreeValue.</TD> |
---|
506 | </TR> |
---|
507 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
508 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
509 | <CODE>private void</CODE></FONT></TD> |
---|
510 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformValueGroup(edu.stanford.rt.datatype.SimpleType, org.w3c.dom.Element, java.lang.StringBuffer, edu.stanford.rt.credential.RoleTerm, edu.stanford.rt.credential.CredentialDomain)">transformValueGroup</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A> type, |
---|
511 | org.w3c.dom.Element ele, |
---|
512 | java.lang.StringBuffer prefix, |
---|
513 | <A HREF="../../../../edu/stanford/rt/credential/RoleTerm.html">RoleTerm</A> roleTerm, |
---|
514 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain)</CODE> |
---|
515 | |
---|
516 | <BR> |
---|
517 | Method transformValueGroup.</TD> |
---|
518 | </TR> |
---|
519 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
520 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
521 | <CODE>private void</CODE></FONT></TD> |
---|
522 | <TD><CODE><B><A HREF="../../../../edu/stanford/rt/parser/RTParser.html#transformValueSetGroup(edu.stanford.rt.datatype.DataType, org.w3c.dom.Element, java.lang.StringBuffer, edu.stanford.rt.credential.RoleTerm, edu.stanford.rt.credential.CredentialDomain)">transformValueSetGroup</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A> type, |
---|
523 | org.w3c.dom.Element ele, |
---|
524 | java.lang.StringBuffer prefix, |
---|
525 | <A HREF="../../../../edu/stanford/rt/credential/RoleTerm.html">RoleTerm</A> roleTerm, |
---|
526 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain)</CODE> |
---|
527 | |
---|
528 | <BR> |
---|
529 | Method transformValueSetGroup.</TD> |
---|
530 | </TR> |
---|
531 | </TABLE> |
---|
532 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
533 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
534 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
535 | <TD><B>Methods inherited from class java.lang.Object</B></TD> |
---|
536 | </TR> |
---|
537 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
538 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
---|
539 | </TR> |
---|
540 | </TABLE> |
---|
541 | |
---|
542 | <P> |
---|
543 | |
---|
544 | <!-- ============ FIELD DETAIL =========== --> |
---|
545 | |
---|
546 | <A NAME="field_detail"><!-- --></A> |
---|
547 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
548 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
549 | <TD COLSPAN=1><FONT SIZE="+2"> |
---|
550 | <B>Field Detail</B></FONT></TD> |
---|
551 | </TR> |
---|
552 | </TABLE> |
---|
553 | |
---|
554 | <A NAME="parser"><!-- --></A><H3> |
---|
555 | parser</H3> |
---|
556 | <PRE> |
---|
557 | private org.apache.xerces.parsers.DOMParser <B>parser</B></PRE> |
---|
558 | <DL> |
---|
559 | <DL> |
---|
560 | </DL> |
---|
561 | </DL> |
---|
562 | |
---|
563 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
564 | |
---|
565 | <A NAME="constructor_detail"><!-- --></A> |
---|
566 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
567 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
568 | <TD COLSPAN=1><FONT SIZE="+2"> |
---|
569 | <B>Constructor Detail</B></FONT></TD> |
---|
570 | </TR> |
---|
571 | </TABLE> |
---|
572 | |
---|
573 | <A NAME="RTParser()"><!-- --></A><H3> |
---|
574 | RTParser</H3> |
---|
575 | <PRE> |
---|
576 | public <B>RTParser</B>() |
---|
577 | throws java.lang.Exception</PRE> |
---|
578 | <DL> |
---|
579 | <DD>Constructor for RTParser. |
---|
580 | <P> |
---|
581 | </DL> |
---|
582 | |
---|
583 | <!-- ============ METHOD DETAIL ========== --> |
---|
584 | |
---|
585 | <A NAME="method_detail"><!-- --></A> |
---|
586 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
587 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
588 | <TD COLSPAN=1><FONT SIZE="+2"> |
---|
589 | <B>Method Detail</B></FONT></TD> |
---|
590 | </TR> |
---|
591 | </TABLE> |
---|
592 | |
---|
593 | <A NAME="createSystemDomain()"><!-- --></A><H3> |
---|
594 | createSystemDomain</H3> |
---|
595 | <PRE> |
---|
596 | public <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A> <B>createSystemDomain</B>() |
---|
597 | throws java.lang.Exception</PRE> |
---|
598 | <DL> |
---|
599 | <DD>Method createSystemDomain. |
---|
600 | The method for creating system domain. |
---|
601 | *** Only useful for our parser. |
---|
602 | <P> |
---|
603 | <DD><DL> |
---|
604 | </DL> |
---|
605 | </DD> |
---|
606 | <DD><DL> |
---|
607 | |
---|
608 | <DT><B>Returns:</B><DD>ApplicationDomain |
---|
609 | <DT><B>Throws:</B> |
---|
610 | <DD><CODE>java.lang.Exception</CODE></DL> |
---|
611 | </DD> |
---|
612 | </DL> |
---|
613 | <HR> |
---|
614 | |
---|
615 | <A NAME="parseSystemDomain(java.io.InputStream)"><!-- --></A><H3> |
---|
616 | parseSystemDomain</H3> |
---|
617 | <PRE> |
---|
618 | public <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A> <B>parseSystemDomain</B>(java.io.InputStream in) |
---|
619 | throws java.lang.Exception</PRE> |
---|
620 | <DL> |
---|
621 | <DD>Method parseSystemDomain. |
---|
622 | parses system domain from a XML input source, typically a |
---|
623 | XML file. The system domain element in the source should be |
---|
624 | the root element. |
---|
625 | <P> |
---|
626 | <DD><DL> |
---|
627 | </DL> |
---|
628 | </DD> |
---|
629 | <DD><DL> |
---|
630 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - |
---|
631 | <DT><B>Returns:</B><DD>ApplicationDomain |
---|
632 | <DT><B>Throws:</B> |
---|
633 | <DD><CODE>java.lang.Exception</CODE></DL> |
---|
634 | </DD> |
---|
635 | </DL> |
---|
636 | <HR> |
---|
637 | |
---|
638 | <A NAME="transformSystemDomain(org.w3c.dom.Element)"><!-- --></A><H3> |
---|
639 | transformSystemDomain</H3> |
---|
640 | <PRE> |
---|
641 | public <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A> <B>transformSystemDomain</B>(org.w3c.dom.Element root) |
---|
642 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
643 | <DL> |
---|
644 | <DD>Method transformSystemDomain. |
---|
645 | transforms the XML element to the built-in system |
---|
646 | <code>ApplicationDomain</code>. |
---|
647 | <P> |
---|
648 | <DD><DL> |
---|
649 | </DL> |
---|
650 | </DD> |
---|
651 | <DD><DL> |
---|
652 | <DT><B>Parameters:</B><DD><CODE>root</CODE> - XML element of system domain. |
---|
653 | <DT><B>Returns:</B><DD>ApplicationDomain |
---|
654 | <DT><B>Throws:</B> |
---|
655 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
656 | </DD> |
---|
657 | </DL> |
---|
658 | <HR> |
---|
659 | |
---|
660 | <A NAME="getFirstChildElement(org.w3c.dom.Element)"><!-- --></A><H3> |
---|
661 | getFirstChildElement</H3> |
---|
662 | <PRE> |
---|
663 | public static org.w3c.dom.Element <B>getFirstChildElement</B>(org.w3c.dom.Element parent)</PRE> |
---|
664 | <DL> |
---|
665 | <DD>Method getFirstChildElement. |
---|
666 | Returns the first child element of ELEMENT_NODE type for the |
---|
667 | given parent element. |
---|
668 | <P> |
---|
669 | <DD><DL> |
---|
670 | </DL> |
---|
671 | </DD> |
---|
672 | <DD><DL> |
---|
673 | <DT><B>Parameters:</B><DD><CODE>parent</CODE> - |
---|
674 | <DT><B>Returns:</B><DD>Element</DL> |
---|
675 | </DD> |
---|
676 | </DL> |
---|
677 | <HR> |
---|
678 | |
---|
679 | <A NAME="getFirstChildElementByTagName(org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3> |
---|
680 | getFirstChildElementByTagName</H3> |
---|
681 | <PRE> |
---|
682 | public static org.w3c.dom.Element <B>getFirstChildElementByTagName</B>(org.w3c.dom.Element parent, |
---|
683 | java.lang.String tagName)</PRE> |
---|
684 | <DL> |
---|
685 | <DD><DL> |
---|
686 | </DL> |
---|
687 | </DD> |
---|
688 | <DD><DL> |
---|
689 | </DL> |
---|
690 | </DD> |
---|
691 | </DL> |
---|
692 | <HR> |
---|
693 | |
---|
694 | <A NAME="getChildElements(org.w3c.dom.Element)"><!-- --></A><H3> |
---|
695 | getChildElements</H3> |
---|
696 | <PRE> |
---|
697 | public static org.w3c.dom.Element[] <B>getChildElements</B>(org.w3c.dom.Element parent)</PRE> |
---|
698 | <DL> |
---|
699 | <DD>Method getChildElements. |
---|
700 | returns an array of child elements of ELEMNENT_NODE type. |
---|
701 | <P> |
---|
702 | <DD><DL> |
---|
703 | </DL> |
---|
704 | </DD> |
---|
705 | <DD><DL> |
---|
706 | <DT><B>Parameters:</B><DD><CODE>parent</CODE> - |
---|
707 | <DT><B>Returns:</B><DD>Element[]</DL> |
---|
708 | </DD> |
---|
709 | </DL> |
---|
710 | <HR> |
---|
711 | |
---|
712 | <A NAME="parseCredentialStore(java.io.InputStream, edu.stanford.rt.credential.RTContext, edu.stanford.rt.credential.CredentialStore)"><!-- --></A><H3> |
---|
713 | parseCredentialStore</H3> |
---|
714 | <PRE> |
---|
715 | public void <B>parseCredentialStore</B>(java.io.InputStream in, |
---|
716 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext, |
---|
717 | <A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html">CredentialStore</A> credentialStore) |
---|
718 | throws java.lang.Exception</PRE> |
---|
719 | <DL> |
---|
720 | <DD>Method parseCredentialStore. |
---|
721 | parses credential store from an XML input source, typically an |
---|
722 | XML file. The <code>CredentialStore</code> element should be a |
---|
723 | root element. |
---|
724 | <P> |
---|
725 | <DD><DL> |
---|
726 | </DL> |
---|
727 | </DD> |
---|
728 | <DD><DL> |
---|
729 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - <DD><CODE>rtContext</CODE> - the context in which the parsing occurs.<DD><CODE>credentialStore</CODE> - the credential store being constructed. |
---|
730 | <DT><B>Throws:</B> |
---|
731 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> |
---|
732 | <DD><CODE>java.lang.Exception</CODE></DL> |
---|
733 | </DD> |
---|
734 | </DL> |
---|
735 | <HR> |
---|
736 | |
---|
737 | <A NAME="transformCredentialStore(org.w3c.dom.Element, edu.stanford.rt.credential.RTContext, edu.stanford.rt.credential.CredentialStore)"><!-- --></A><H3> |
---|
738 | transformCredentialStore</H3> |
---|
739 | <PRE> |
---|
740 | public void <B>transformCredentialStore</B>(org.w3c.dom.Element root, |
---|
741 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext, |
---|
742 | <A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html">CredentialStore</A> credentialStore) |
---|
743 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A>, |
---|
744 | <A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></PRE> |
---|
745 | <DL> |
---|
746 | <DD>Method transformCredentialStore. |
---|
747 | <P> |
---|
748 | <DD><DL> |
---|
749 | </DL> |
---|
750 | </DD> |
---|
751 | <DD><DL> |
---|
752 | <DT><B>Parameters:</B><DD><CODE>root</CODE> - the XML element of credential store<DD><CODE>rtContext</CODE> - <DD><CODE>credentialStore</CODE> - |
---|
753 | <DT><B>Throws:</B> |
---|
754 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> |
---|
755 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></CODE></DL> |
---|
756 | </DD> |
---|
757 | </DL> |
---|
758 | <HR> |
---|
759 | |
---|
760 | <A NAME="transformDomain(org.w3c.dom.Element, edu.stanford.rt.credential.RTContext)"><!-- --></A><H3> |
---|
761 | transformDomain</H3> |
---|
762 | <PRE> |
---|
763 | public <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A> <B>transformDomain</B>(org.w3c.dom.Element ele, |
---|
764 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext) |
---|
765 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
766 | <DL> |
---|
767 | <DD>Method parseDomain. |
---|
768 | parses non-system <code>ApplicationDomain</code>. |
---|
769 | <P> |
---|
770 | <DD><DL> |
---|
771 | </DL> |
---|
772 | </DD> |
---|
773 | <DD><DL> |
---|
774 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - the <code>ApplicationDomain</code> element<DD><CODE>rtContext</CODE> - the context in which the transformation occurs. |
---|
775 | <DT><B>Returns:</B><DD>ApplicationDomain |
---|
776 | <DT><B>Throws:</B> |
---|
777 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
778 | </DD> |
---|
779 | </DL> |
---|
780 | <HR> |
---|
781 | |
---|
782 | <A NAME="locateDomain(java.lang.String, java.lang.String, edu.stanford.rt.credential.RTContext)"><!-- --></A><H3> |
---|
783 | locateDomain</H3> |
---|
784 | <PRE> |
---|
785 | private <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A> <B>locateDomain</B>(java.lang.String idref, |
---|
786 | java.lang.String uri, |
---|
787 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext) |
---|
788 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
789 | <DL> |
---|
790 | <DD>Method locateDomain. |
---|
791 | <P> |
---|
792 | <DD><DL> |
---|
793 | </DL> |
---|
794 | </DD> |
---|
795 | <DD><DL> |
---|
796 | <DT><B>Parameters:</B><DD><CODE>rtContext</CODE> - <DD><CODE>idref</CODE> - the hash value of the target |
---|
797 | <code>ApplicationDomainSpecification</code> object.<DD><CODE>uri</CODE> - |
---|
798 | <DT><B>Returns:</B><DD>ApplicationDomain |
---|
799 | <DT><B>Throws:</B> |
---|
800 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find the domain by the given idref.</DL> |
---|
801 | </DD> |
---|
802 | </DL> |
---|
803 | <HR> |
---|
804 | |
---|
805 | <A NAME="transformIntegerTypeDeclaration(org.w3c.dom.Element)"><!-- --></A><H3> |
---|
806 | transformIntegerTypeDeclaration</H3> |
---|
807 | <PRE> |
---|
808 | private <A HREF="../../../../edu/stanford/rt/datatype/IntegerType.html">IntegerType</A> <B>transformIntegerTypeDeclaration</B>(org.w3c.dom.Element ele) |
---|
809 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
810 | <DL> |
---|
811 | <DD>Method transformIntegerTypeDeclaration. |
---|
812 | |
---|
813 | Parses IntegerType declaration in ADSD. |
---|
814 | Returns an IntegerType object by parsing element:<br> |
---|
815 | <pre> |
---|
816 | <IntegerType name="" min="" max=""/> |
---|
817 | </pre> |
---|
818 | <P> |
---|
819 | <DD><DL> |
---|
820 | </DL> |
---|
821 | </DD> |
---|
822 | <DD><DL> |
---|
823 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - |
---|
824 | <DT><B>Returns:</B><DD>IntegerType |
---|
825 | <DT><B>Throws:</B> |
---|
826 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
827 | </DD> |
---|
828 | </DL> |
---|
829 | <HR> |
---|
830 | |
---|
831 | <A NAME="transformDecimalTypeDeclaration(org.w3c.dom.Element)"><!-- --></A><H3> |
---|
832 | transformDecimalTypeDeclaration</H3> |
---|
833 | <PRE> |
---|
834 | private <A HREF="../../../../edu/stanford/rt/datatype/DecimalType.html">DecimalType</A> <B>transformDecimalTypeDeclaration</B>(org.w3c.dom.Element ele) |
---|
835 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
836 | <DL> |
---|
837 | <DD>Method transformDecimalTypeDeclaration. |
---|
838 | Parses DecimalType declaration in ADSD. |
---|
839 | Returns a DecimalType object by parsing element: |
---|
840 | <pre> |
---|
841 | <DecimalType name="" min="" max=""/> |
---|
842 | </pre> |
---|
843 | <P> |
---|
844 | <DD><DL> |
---|
845 | </DL> |
---|
846 | </DD> |
---|
847 | <DD><DL> |
---|
848 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - |
---|
849 | <DT><B>Returns:</B><DD>DecimalType |
---|
850 | <DT><B>Throws:</B> |
---|
851 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
852 | </DD> |
---|
853 | </DL> |
---|
854 | <HR> |
---|
855 | |
---|
856 | <A NAME="transformStringTypeDeclaration(org.w3c.dom.Element)"><!-- --></A><H3> |
---|
857 | transformStringTypeDeclaration</H3> |
---|
858 | <PRE> |
---|
859 | private <A HREF="../../../../edu/stanford/rt/datatype/StringType.html">StringType</A> <B>transformStringTypeDeclaration</B>(org.w3c.dom.Element ele) |
---|
860 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
861 | <DL> |
---|
862 | <DD>Method transformStringTypeDeclaration. |
---|
863 | Parses StringType declaration in ADSD. |
---|
864 | Returns a StringType object by parsing element:<br> |
---|
865 | <pre> |
---|
866 | <StringType name="" ignoreCase="false" ordered="false"/> |
---|
867 | </pre> |
---|
868 | <P> |
---|
869 | <DD><DL> |
---|
870 | </DL> |
---|
871 | </DD> |
---|
872 | <DD><DL> |
---|
873 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - |
---|
874 | <DT><B>Returns:</B><DD>StringType |
---|
875 | <DT><B>Throws:</B> |
---|
876 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
877 | </DD> |
---|
878 | </DL> |
---|
879 | <HR> |
---|
880 | |
---|
881 | <A NAME="transformEnumTypeDeclaration(org.w3c.dom.Element, edu.stanford.rt.credential.DomainSpecification)"><!-- --></A><H3> |
---|
882 | transformEnumTypeDeclaration</H3> |
---|
883 | <PRE> |
---|
884 | private <A HREF="../../../../edu/stanford/rt/datatype/EnumType.html">EnumType</A> <B>transformEnumTypeDeclaration</B>(org.w3c.dom.Element ele, |
---|
885 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> currentSpec) |
---|
886 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
887 | <DL> |
---|
888 | <DD>Method transformEnumTypeDeclaration. |
---|
889 | Parses EnumType declaration in ADSD. |
---|
890 | Returns an EnumType object by parsing element:<br> |
---|
891 | <pre> |
---|
892 | <EnumType name="" ignoreCase="false" ordered="false"/> |
---|
893 | <EnumValue>Monday</EnumValue> |
---|
894 | <EnumValue>Wednesday</EnumValue> |
---|
895 | <EnumValue>Friday</EnumValue> |
---|
896 | ... |
---|
897 | </EnumType> |
---|
898 | </pre> |
---|
899 | <P> |
---|
900 | <DD><DL> |
---|
901 | </DL> |
---|
902 | </DD> |
---|
903 | <DD><DL> |
---|
904 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - <DD><CODE>currentSpec</CODE> - |
---|
905 | <DT><B>Returns:</B><DD>EnumType |
---|
906 | <DT><B>Throws:</B> |
---|
907 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
908 | </DD> |
---|
909 | </DL> |
---|
910 | <HR> |
---|
911 | |
---|
912 | <A NAME="transformTreeTypeDeclaration(org.w3c.dom.Element)"><!-- --></A><H3> |
---|
913 | transformTreeTypeDeclaration</H3> |
---|
914 | <PRE> |
---|
915 | private <A HREF="../../../../edu/stanford/rt/datatype/TreeType.html">TreeType</A> <B>transformTreeTypeDeclaration</B>(org.w3c.dom.Element ele) |
---|
916 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
917 | <DL> |
---|
918 | <DD>Method transformTreeTypeDeclaration. |
---|
919 | Parses TreeType declaration in ADSD. |
---|
920 | Returns a TreeType object by parsing element:<br> |
---|
921 | <pre> |
---|
922 | <TreeType name="DNSType" sparator="." order="rootLast"/> |
---|
923 | </pre> |
---|
924 | <P> |
---|
925 | <DD><DL> |
---|
926 | </DL> |
---|
927 | </DD> |
---|
928 | <DD><DL> |
---|
929 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - |
---|
930 | <DT><B>Returns:</B><DD>TreeType |
---|
931 | <DT><B>Throws:</B> |
---|
932 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
933 | </DD> |
---|
934 | </DL> |
---|
935 | <HR> |
---|
936 | |
---|
937 | <A NAME="transformRecordTypeDeclaration(org.w3c.dom.Element, edu.stanford.rt.credential.DomainSpecification)"><!-- --></A><H3> |
---|
938 | transformRecordTypeDeclaration</H3> |
---|
939 | <PRE> |
---|
940 | private <A HREF="../../../../edu/stanford/rt/datatype/RecordType.html">RecordType</A> <B>transformRecordTypeDeclaration</B>(org.w3c.dom.Element ele, |
---|
941 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> currentSpec) |
---|
942 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
943 | <DL> |
---|
944 | <DD>Method transformRecordTypeDeclaration. |
---|
945 | Parses RecordType declaration in ADSD. |
---|
946 | Returns a RecordType object by parsing element: |
---|
947 | <pre> |
---|
948 | <RecordType name="record"> |
---|
949 | <Field name="field1"> |
---|
950 | <Type domain="" name=""/> |
---|
951 | </Field> |
---|
952 | <Field name="field2"> |
---|
953 | <Type domain="" name=""/> |
---|
954 | </Field> |
---|
955 | ... |
---|
956 | </RecordType> |
---|
957 | </pre> |
---|
958 | <P> |
---|
959 | <DD><DL> |
---|
960 | </DL> |
---|
961 | </DD> |
---|
962 | <DD><DL> |
---|
963 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - <DD><CODE>currentSpec</CODE> - |
---|
964 | <DT><B>Returns:</B><DD>RecordType |
---|
965 | <DT><B>Throws:</B> |
---|
966 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
967 | </DD> |
---|
968 | </DL> |
---|
969 | <HR> |
---|
970 | |
---|
971 | <A NAME="transformPrincipalTypeDeclaration(org.w3c.dom.Element, edu.stanford.rt.credential.DomainSpecification)"><!-- --></A><H3> |
---|
972 | transformPrincipalTypeDeclaration</H3> |
---|
973 | <PRE> |
---|
974 | private <A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A> <B>transformPrincipalTypeDeclaration</B>(org.w3c.dom.Element ele, |
---|
975 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> currentSpec) |
---|
976 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
977 | <DL> |
---|
978 | <DD>Method transformPrincipalTypeDeclaration. |
---|
979 | Parses PrincipalType declaration in ADSD. |
---|
980 | |
---|
981 | Returns a SimpleType object by parsing element: |
---|
982 | <pre> |
---|
983 | <PrincialType name="prinType"> |
---|
984 | <TypeRef domain="" name=""/> |
---|
985 | </PrincialType> |
---|
986 | </pre> |
---|
987 | <P> |
---|
988 | <DD><DL> |
---|
989 | </DL> |
---|
990 | </DD> |
---|
991 | <DD><DL> |
---|
992 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - <DD><CODE>currentSpec</CODE> - |
---|
993 | <DT><B>Returns:</B><DD>SimpleType |
---|
994 | <DT><B>Throws:</B> |
---|
995 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
996 | </DD> |
---|
997 | </DL> |
---|
998 | <HR> |
---|
999 | |
---|
1000 | <A NAME="transformRoleDeclaration(org.w3c.dom.Element, edu.stanford.rt.credential.DomainSpecification)"><!-- --></A><H3> |
---|
1001 | transformRoleDeclaration</H3> |
---|
1002 | <PRE> |
---|
1003 | private <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>transformRoleDeclaration</B>(org.w3c.dom.Element ele, |
---|
1004 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> currentSpec) |
---|
1005 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1006 | <DL> |
---|
1007 | <DD>Method transformRoleDeclaration. |
---|
1008 | Parses RoleDeclaration in ADSD. |
---|
1009 | Returns a RoleDeclaration object by parsing element: |
---|
1010 | <pre> |
---|
1011 | <RoleDeclaration name="record"> |
---|
1012 | <Parameter name="param1"> |
---|
1013 | <Type domain="" name=""/> |
---|
1014 | </Parameter> |
---|
1015 | <Parameter name="param2"> |
---|
1016 | <Type domain="" name=""/> |
---|
1017 | </Parameter> |
---|
1018 | ... |
---|
1019 | </RoleDeclaration> |
---|
1020 | </pre> |
---|
1021 | <P> |
---|
1022 | <DD><DL> |
---|
1023 | </DL> |
---|
1024 | </DD> |
---|
1025 | <DD><DL> |
---|
1026 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - <DD><CODE>currentSpec</CODE> - the DomainSpecification in which the role is declared. |
---|
1027 | <DT><B>Returns:</B><DD>RoleDeclaration |
---|
1028 | <DT><B>Throws:</B> |
---|
1029 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1030 | </DD> |
---|
1031 | </DL> |
---|
1032 | <HR> |
---|
1033 | |
---|
1034 | <A NAME="transformParameters(org.w3c.dom.NodeList, edu.stanford.rt.credential.DomainSpecification)"><!-- --></A><H3> |
---|
1035 | transformParameters</H3> |
---|
1036 | <PRE> |
---|
1037 | private <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>transformParameters</B>(org.w3c.dom.NodeList nodes, |
---|
1038 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> currentSpec) |
---|
1039 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1040 | <DL> |
---|
1041 | <DD>Method parseParameters. |
---|
1042 | parses <code>Parameter</code> declarations in <code>RoleDeclaration</code> element. |
---|
1043 | <P> |
---|
1044 | <DD><DL> |
---|
1045 | </DL> |
---|
1046 | </DD> |
---|
1047 | <DD><DL> |
---|
1048 | <DT><B>Parameters:</B><DD><CODE>nodes</CODE> - the list of <code>Parameter</code> elements |
---|
1049 | <DT><B>Returns:</B><DD>OrderedMap |
---|
1050 | an OrderedMap of parameter declarations with parameter names as keys. |
---|
1051 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1052 | </DD> |
---|
1053 | </DL> |
---|
1054 | <HR> |
---|
1055 | |
---|
1056 | <A NAME="transformCredential(org.w3c.dom.Element, edu.stanford.rt.credential.RTContext)"><!-- --></A><H3> |
---|
1057 | transformCredential</H3> |
---|
1058 | <PRE> |
---|
1059 | public <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> <B>transformCredential</B>(org.w3c.dom.Element ele, |
---|
1060 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext) |
---|
1061 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A>, |
---|
1062 | <A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></PRE> |
---|
1063 | <DL> |
---|
1064 | <DD>Method transformCredential. |
---|
1065 | Returns a <code>CredentialDomain</code> object by parsing element: |
---|
1066 | <pre> |
---|
1067 | <Credential> |
---|
1068 | ... |
---|
1069 | </Credential> |
---|
1070 | </pre> |
---|
1071 | <P> |
---|
1072 | <DD><DL> |
---|
1073 | </DL> |
---|
1074 | </DD> |
---|
1075 | <DD><DL> |
---|
1076 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - <DD><CODE>rtContext</CODE> - |
---|
1077 | <DT><B>Returns:</B><DD>CredentialDomain |
---|
1078 | <DT><B>Throws:</B> |
---|
1079 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> |
---|
1080 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></CODE></DL> |
---|
1081 | </DD> |
---|
1082 | </DL> |
---|
1083 | <HR> |
---|
1084 | |
---|
1085 | <A NAME="transformAccessRule(org.w3c.dom.Element, edu.stanford.rt.credential.RTContext)"><!-- --></A><H3> |
---|
1086 | transformAccessRule</H3> |
---|
1087 | <PRE> |
---|
1088 | public <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> <B>transformAccessRule</B>(org.w3c.dom.Element ele, |
---|
1089 | <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> rtContext) |
---|
1090 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A>, |
---|
1091 | <A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></PRE> |
---|
1092 | <DL> |
---|
1093 | <DD><DL> |
---|
1094 | </DL> |
---|
1095 | </DD> |
---|
1096 | <DD><DL> |
---|
1097 | |
---|
1098 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> |
---|
1099 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></CODE></DL> |
---|
1100 | </DD> |
---|
1101 | </DL> |
---|
1102 | <HR> |
---|
1103 | |
---|
1104 | <A NAME="transformPrincipalValue(org.w3c.dom.Element, edu.stanford.rt.credential.CredentialDomain)"><!-- --></A><H3> |
---|
1105 | transformPrincipalValue</H3> |
---|
1106 | <PRE> |
---|
1107 | private <A HREF="../../../../edu/stanford/rt/datatype/PrincipalValue.html">PrincipalValue</A> <B>transformPrincipalValue</B>(org.w3c.dom.Element ele, |
---|
1108 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain) |
---|
1109 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1110 | <DL> |
---|
1111 | <DD>Method transformPrincipalValue. |
---|
1112 | <P> |
---|
1113 | <DD><DL> |
---|
1114 | </DL> |
---|
1115 | </DD> |
---|
1116 | <DD><DL> |
---|
1117 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - <DD><CODE>credDomain</CODE> - |
---|
1118 | <DT><B>Returns:</B><DD>PrincipalValue |
---|
1119 | <DT><B>Throws:</B> |
---|
1120 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1121 | </DD> |
---|
1122 | </DL> |
---|
1123 | <HR> |
---|
1124 | |
---|
1125 | <A NAME="transformRoleDefinition(edu.stanford.rt.credential.Principal, edu.stanford.rt.credential.CredentialDomain, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1126 | transformRoleDefinition</H3> |
---|
1127 | <PRE> |
---|
1128 | private <A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html">RoleDefinition</A> <B>transformRoleDefinition</B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> issuer, |
---|
1129 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain, |
---|
1130 | org.w3c.dom.Element ele) |
---|
1131 | throws <A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A>, |
---|
1132 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1133 | <DL> |
---|
1134 | <DD>Method transformRoleDefinition. |
---|
1135 | Returns a role definition object. |
---|
1136 | |
---|
1137 | <p> |
---|
1138 | A role definition may be one the the following elements, i.e. |
---|
1139 | <b>SimpleMember, SimpleContainment, LinkedContainment, IntersectionContainment, |
---|
1140 | ProductContainment, ExclusiveProductContainment, SimpleDelegation, or |
---|
1141 | AdvancedDelegation</b>. Each role definition has a head and a body. The head |
---|
1142 | part is defined by a HeadRoleTerm. The difference between the above 8 |
---|
1143 | elements lies in the body part. |
---|
1144 | |
---|
1145 | <P> |
---|
1146 | The product role definition represented by <b>ProductContainment</b> and |
---|
1147 | <b>ExclusiveProductContainment</b> has not been supported yet. |
---|
1148 | <P> |
---|
1149 | <DD><DL> |
---|
1150 | </DL> |
---|
1151 | </DD> |
---|
1152 | <DD><DL> |
---|
1153 | <DT><B>Parameters:</B><DD><CODE>issuer</CODE> - <DD><CODE>credDomain</CODE> - <DD><CODE>ele</CODE> - |
---|
1154 | <DT><B>Returns:</B><DD>RoleDefinition |
---|
1155 | <DT><B>Throws:</B> |
---|
1156 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></CODE> |
---|
1157 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1158 | </DD> |
---|
1159 | </DL> |
---|
1160 | <HR> |
---|
1161 | |
---|
1162 | <A NAME="transformBody(edu.stanford.rt.credential.Principal, edu.stanford.rt.credential.CredentialDomain, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1163 | transformBody</H3> |
---|
1164 | <PRE> |
---|
1165 | private <A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html">PrincipalExpression</A> <B>transformBody</B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> issuer, |
---|
1166 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain, |
---|
1167 | org.w3c.dom.Element ele) |
---|
1168 | throws <A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A>, |
---|
1169 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1170 | <DL> |
---|
1171 | <DD>Method transformBody. |
---|
1172 | Returns a PrincipalExpression for the body of a role definition. |
---|
1173 | <P> |
---|
1174 | The body can be one of the following: PrincipalValue, RoleTerm, |
---|
1175 | ExternalRole, LinkedRole, Intersection, Product, or a Delegation. |
---|
1176 | |
---|
1177 | The method handles all types of the role definition body except the |
---|
1178 | Delegation role body. |
---|
1179 | <P> |
---|
1180 | <DD><DL> |
---|
1181 | </DL> |
---|
1182 | </DD> |
---|
1183 | <DD><DL> |
---|
1184 | <DT><B>Parameters:</B><DD><CODE>issuer</CODE> - <DD><CODE>credDomain</CODE> - <DD><CODE>ele</CODE> - |
---|
1185 | <DT><B>Returns:</B><DD>PrincipalExpression |
---|
1186 | <DT><B>Throws:</B> |
---|
1187 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></CODE> |
---|
1188 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1189 | </DD> |
---|
1190 | </DL> |
---|
1191 | <HR> |
---|
1192 | |
---|
1193 | <A NAME="transformDelegation(edu.stanford.rt.credential.Principal, edu.stanford.rt.credential.CredentialDomain, org.w3c.dom.Element, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1194 | transformDelegation</H3> |
---|
1195 | <PRE> |
---|
1196 | private <A HREF="../../../../edu/stanford/rt/credential/DelegationRole.html">DelegationRole</A> <B>transformDelegation</B>(<A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A> issuer, |
---|
1197 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain, |
---|
1198 | org.w3c.dom.Element delegationElement, |
---|
1199 | org.w3c.dom.Element controlElement) |
---|
1200 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A>, |
---|
1201 | <A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></PRE> |
---|
1202 | <DL> |
---|
1203 | <DD>Method transformDelegation. |
---|
1204 | Returns a DelegationRole object for the body of a role definition |
---|
1205 | by parsing element: <br> |
---|
1206 | <pre> |
---|
1207 | <SimpleDelegation> |
---|
1208 | ... |
---|
1209 | </SimpleDelegation> |
---|
1210 | |
---|
1211 | Or |
---|
1212 | |
---|
1213 | <AdvancedDelegation> |
---|
1214 | ... |
---|
1215 | </AdvancedDelegation> |
---|
1216 | </pre> |
---|
1217 | <P> |
---|
1218 | <DD><DL> |
---|
1219 | </DL> |
---|
1220 | </DD> |
---|
1221 | <DD><DL> |
---|
1222 | <DT><B>Parameters:</B><DD><CODE>issuer</CODE> - <DD><CODE>credDomain</CODE> - <DD><CODE>delegationElement</CODE> - <DD><CODE>controlElement</CODE> - |
---|
1223 | <DT><B>Returns:</B><DD>DelegationRole |
---|
1224 | <DT><B>Throws:</B> |
---|
1225 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> |
---|
1226 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></CODE></DL> |
---|
1227 | </DD> |
---|
1228 | </DL> |
---|
1229 | <HR> |
---|
1230 | |
---|
1231 | <A NAME="transformExternalRole(org.w3c.dom.Element, edu.stanford.rt.credential.CredentialDomain)"><!-- --></A><H3> |
---|
1232 | transformExternalRole</H3> |
---|
1233 | <PRE> |
---|
1234 | private <A HREF="../../../../edu/stanford/rt/credential/Role.html">Role</A> <B>transformExternalRole</B>(org.w3c.dom.Element ele, |
---|
1235 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain) |
---|
1236 | throws <A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A>, |
---|
1237 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1238 | <DL> |
---|
1239 | <DD>Method transformExternalRole. |
---|
1240 | Returns an ExternalRole object by parsing element: |
---|
1241 | <pre> |
---|
1242 | <ExternalRole> |
---|
1243 | ... |
---|
1244 | </ExternalRole> |
---|
1245 | </pre> |
---|
1246 | <P> |
---|
1247 | <DD><DL> |
---|
1248 | </DL> |
---|
1249 | </DD> |
---|
1250 | <DD><DL> |
---|
1251 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - <DD><CODE>credDomain</CODE> - |
---|
1252 | <DT><B>Returns:</B><DD>Role |
---|
1253 | <DT><B>Throws:</B> |
---|
1254 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></CODE> |
---|
1255 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1256 | </DD> |
---|
1257 | </DL> |
---|
1258 | <HR> |
---|
1259 | |
---|
1260 | <A NAME="transformRoleIntersection(org.w3c.dom.Element, edu.stanford.rt.credential.CredentialDomain)"><!-- --></A><H3> |
---|
1261 | transformRoleIntersection</H3> |
---|
1262 | <PRE> |
---|
1263 | private <A HREF="../../../../edu/stanford/rt/credential/RoleIntersection.html">RoleIntersection</A> <B>transformRoleIntersection</B>(org.w3c.dom.Element ele, |
---|
1264 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain) |
---|
1265 | throws <A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A>, |
---|
1266 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1267 | <DL> |
---|
1268 | <DD>Method transformRoleIntersection. |
---|
1269 | Returns an ExternalRole object by parsing element: |
---|
1270 | <pre> |
---|
1271 | <Intersection> |
---|
1272 | ... |
---|
1273 | </Intersection> |
---|
1274 | </pre> |
---|
1275 | <P> |
---|
1276 | <DD><DL> |
---|
1277 | </DL> |
---|
1278 | </DD> |
---|
1279 | <DD><DL> |
---|
1280 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - <DD><CODE>credDomain</CODE> - |
---|
1281 | <DT><B>Returns:</B><DD>RoleIntersection |
---|
1282 | <DT><B>Throws:</B> |
---|
1283 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></CODE> |
---|
1284 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1285 | </DD> |
---|
1286 | </DL> |
---|
1287 | <HR> |
---|
1288 | |
---|
1289 | <A NAME="transformRoleTerm(org.w3c.dom.Element, edu.stanford.rt.credential.CredentialDomain)"><!-- --></A><H3> |
---|
1290 | transformRoleTerm</H3> |
---|
1291 | <PRE> |
---|
1292 | private <A HREF="../../../../edu/stanford/rt/credential/RoleTerm.html">RoleTerm</A> <B>transformRoleTerm</B>(org.w3c.dom.Element ele, |
---|
1293 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain) |
---|
1294 | throws <A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A>, |
---|
1295 | <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1296 | <DL> |
---|
1297 | <DD>Method transformRoleTerm. |
---|
1298 | Returns a RoleTerm object by parsing element: |
---|
1299 | <pre> |
---|
1300 | <RoleTerm> |
---|
1301 | ... |
---|
1302 | </RoleTerm> |
---|
1303 | </pre> |
---|
1304 | <P> |
---|
1305 | <DD><DL> |
---|
1306 | </DL> |
---|
1307 | </DD> |
---|
1308 | <DD><DL> |
---|
1309 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - <DD><CODE>credDomain</CODE> - |
---|
1310 | <DT><B>Returns:</B><DD>RoleTerm |
---|
1311 | <DT><B>Throws:</B> |
---|
1312 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/CredException.html">CredException</A></CODE> |
---|
1313 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1314 | </DD> |
---|
1315 | </DL> |
---|
1316 | <HR> |
---|
1317 | |
---|
1318 | <A NAME="transformParameter(org.w3c.dom.Element, java.lang.StringBuffer, edu.stanford.rt.credential.RoleTerm, edu.stanford.rt.credential.CredentialDomain)"><!-- --></A><H3> |
---|
1319 | transformParameter</H3> |
---|
1320 | <PRE> |
---|
1321 | private void <B>transformParameter</B>(org.w3c.dom.Element ele, |
---|
1322 | java.lang.StringBuffer prefix, |
---|
1323 | <A HREF="../../../../edu/stanford/rt/credential/RoleTerm.html">RoleTerm</A> roleTerm, |
---|
1324 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain) |
---|
1325 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1326 | <DL> |
---|
1327 | <DD>Method transformParameter. |
---|
1328 | parses element: |
---|
1329 | <pre> |
---|
1330 | <Parameter name="aa" id="s"> |
---|
1331 | ... |
---|
1332 | </Parameter> |
---|
1333 | </pre> |
---|
1334 | <P> |
---|
1335 | <DD><DL> |
---|
1336 | </DL> |
---|
1337 | </DD> |
---|
1338 | <DD><DL> |
---|
1339 | <DT><B>Parameters:</B><DD><CODE>ele</CODE> - <DD><CODE>prefix</CODE> - <DD><CODE>roleTerm</CODE> - <DD><CODE>credDomain</CODE> - |
---|
1340 | <DT><B>Throws:</B> |
---|
1341 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1342 | </DD> |
---|
1343 | </DL> |
---|
1344 | <HR> |
---|
1345 | |
---|
1346 | <A NAME="transformValueSetGroup(edu.stanford.rt.datatype.DataType, org.w3c.dom.Element, java.lang.StringBuffer, edu.stanford.rt.credential.RoleTerm, edu.stanford.rt.credential.CredentialDomain)"><!-- --></A><H3> |
---|
1347 | transformValueSetGroup</H3> |
---|
1348 | <PRE> |
---|
1349 | private void <B>transformValueSetGroup</B>(<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A> type, |
---|
1350 | org.w3c.dom.Element ele, |
---|
1351 | java.lang.StringBuffer prefix, |
---|
1352 | <A HREF="../../../../edu/stanford/rt/credential/RoleTerm.html">RoleTerm</A> roleTerm, |
---|
1353 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain) |
---|
1354 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1355 | <DL> |
---|
1356 | <DD>Method transformValueSetGroup. |
---|
1357 | Parses Parameter value elements and stores the prefix and value mapping |
---|
1358 | in the RoleTerm object. |
---|
1359 | <P> |
---|
1360 | <DD><DL> |
---|
1361 | </DL> |
---|
1362 | </DD> |
---|
1363 | <DD><DL> |
---|
1364 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>ele</CODE> - <DD><CODE>prefix</CODE> - <DD><CODE>roleTerm</CODE> - <DD><CODE>credDomain</CODE> - |
---|
1365 | <DT><B>Throws:</B> |
---|
1366 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1367 | </DD> |
---|
1368 | </DL> |
---|
1369 | <HR> |
---|
1370 | |
---|
1371 | <A NAME="transformValueGroup(edu.stanford.rt.datatype.SimpleType, org.w3c.dom.Element, java.lang.StringBuffer, edu.stanford.rt.credential.RoleTerm, edu.stanford.rt.credential.CredentialDomain)"><!-- --></A><H3> |
---|
1372 | transformValueGroup</H3> |
---|
1373 | <PRE> |
---|
1374 | private void <B>transformValueGroup</B>(<A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A> type, |
---|
1375 | org.w3c.dom.Element ele, |
---|
1376 | java.lang.StringBuffer prefix, |
---|
1377 | <A HREF="../../../../edu/stanford/rt/credential/RoleTerm.html">RoleTerm</A> roleTerm, |
---|
1378 | <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> credDomain) |
---|
1379 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1380 | <DL> |
---|
1381 | <DD>Method transformValueGroup. |
---|
1382 | Parses Value choice group, which can be one of the following: |
---|
1383 | IntegerValue, DecimalValue, StringValue, EnumValue, TimeValue, |
---|
1384 | or PrincipalValue. |
---|
1385 | <P> |
---|
1386 | <DD><DL> |
---|
1387 | </DL> |
---|
1388 | </DD> |
---|
1389 | <DD><DL> |
---|
1390 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>ele</CODE> - <DD><CODE>prefix</CODE> - <DD><CODE>roleTerm</CODE> - <DD><CODE>credDomain</CODE> - |
---|
1391 | <DT><B>Throws:</B> |
---|
1392 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1393 | </DD> |
---|
1394 | </DL> |
---|
1395 | <HR> |
---|
1396 | |
---|
1397 | <A NAME="transformIntervalValue(edu.stanford.rt.datatype.OrderedType, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1398 | transformIntervalValue</H3> |
---|
1399 | <PRE> |
---|
1400 | private <A HREF="../../../../edu/stanford/rt/datatype/IntervalValueSet.html">IntervalValueSet</A> <B>transformIntervalValue</B>(<A HREF="../../../../edu/stanford/rt/datatype/OrderedType.html">OrderedType</A> type, |
---|
1401 | org.w3c.dom.Element ele) |
---|
1402 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1403 | <DL> |
---|
1404 | <DD>Method transformIntervalValue. |
---|
1405 | Returns an IntervalValue object by parsing element: |
---|
1406 | <pre> |
---|
1407 | <Interval includeMin="true" includeMax="true"> |
---|
1408 | <min> ... </min> |
---|
1409 | <max> ... </max> |
---|
1410 | </Interval> |
---|
1411 | </pre> |
---|
1412 | <P> |
---|
1413 | <DD><DL> |
---|
1414 | </DL> |
---|
1415 | </DD> |
---|
1416 | <DD><DL> |
---|
1417 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>ele</CODE> - |
---|
1418 | <DT><B>Returns:</B><DD>IntervalValueSet |
---|
1419 | <DT><B>Throws:</B> |
---|
1420 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1421 | </DD> |
---|
1422 | </DL> |
---|
1423 | <HR> |
---|
1424 | |
---|
1425 | <A NAME="transformOrderedValue(edu.stanford.rt.datatype.OrderedType, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1426 | transformOrderedValue</H3> |
---|
1427 | <PRE> |
---|
1428 | private <A HREF="../../../../edu/stanford/rt/datatype/DataValue.html">DataValue</A> <B>transformOrderedValue</B>(<A HREF="../../../../edu/stanford/rt/datatype/OrderedType.html">OrderedType</A> type, |
---|
1429 | org.w3c.dom.Element ele) |
---|
1430 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1431 | <DL> |
---|
1432 | <DD>Method transformOrderedValue. |
---|
1433 | Returns DataValue by parsing elements: |
---|
1434 | <pre> |
---|
1435 | <IntegerValue> ... </IntegerValue> or |
---|
1436 | |
---|
1437 | <DecimalValue> ... </DecimalValue> or |
---|
1438 | |
---|
1439 | <StirngValue> ... </StringValue> or |
---|
1440 | |
---|
1441 | <EnumValue> ... </EnumValue> or |
---|
1442 | |
---|
1443 | <TimeValue> ... </timeValue> |
---|
1444 | </pre> |
---|
1445 | <P> |
---|
1446 | <DD><DL> |
---|
1447 | </DL> |
---|
1448 | </DD> |
---|
1449 | <DD><DL> |
---|
1450 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>ele</CODE> - |
---|
1451 | <DT><B>Returns:</B><DD>DataValue |
---|
1452 | <DT><B>Throws:</B> |
---|
1453 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1454 | </DD> |
---|
1455 | </DL> |
---|
1456 | <HR> |
---|
1457 | |
---|
1458 | <A NAME="transformIntegerValue(edu.stanford.rt.datatype.IntegerType, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1459 | transformIntegerValue</H3> |
---|
1460 | <PRE> |
---|
1461 | private <A HREF="../../../../edu/stanford/rt/datatype/IntegerValue.html">IntegerValue</A> <B>transformIntegerValue</B>(<A HREF="../../../../edu/stanford/rt/datatype/IntegerType.html">IntegerType</A> type, |
---|
1462 | org.w3c.dom.Element ele) |
---|
1463 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1464 | <DL> |
---|
1465 | <DD>Method transformIntegerValue. |
---|
1466 | Returns an IntegerValue object by parsing element: |
---|
1467 | <pre> |
---|
1468 | <IntegerValue> |
---|
1469 | 123 |
---|
1470 | </IntegerValue> |
---|
1471 | </pre> |
---|
1472 | <P> |
---|
1473 | <DD><DL> |
---|
1474 | </DL> |
---|
1475 | </DD> |
---|
1476 | <DD><DL> |
---|
1477 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>ele</CODE> - |
---|
1478 | <DT><B>Returns:</B><DD>IntegerValue |
---|
1479 | <DT><B>Throws:</B> |
---|
1480 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1481 | </DD> |
---|
1482 | </DL> |
---|
1483 | <HR> |
---|
1484 | |
---|
1485 | <A NAME="transformDecimalValue(edu.stanford.rt.datatype.DecimalType, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1486 | transformDecimalValue</H3> |
---|
1487 | <PRE> |
---|
1488 | private <A HREF="../../../../edu/stanford/rt/datatype/DecimalValue.html">DecimalValue</A> <B>transformDecimalValue</B>(<A HREF="../../../../edu/stanford/rt/datatype/DecimalType.html">DecimalType</A> type, |
---|
1489 | org.w3c.dom.Element ele) |
---|
1490 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1491 | <DL> |
---|
1492 | <DD>Method transformDecimalValue. |
---|
1493 | Returns a DecimalValue object by parsing element: |
---|
1494 | <pre> |
---|
1495 | <DecimalValue> |
---|
1496 | 123 |
---|
1497 | </DecimalValue> |
---|
1498 | </pre> |
---|
1499 | <P> |
---|
1500 | <DD><DL> |
---|
1501 | </DL> |
---|
1502 | </DD> |
---|
1503 | <DD><DL> |
---|
1504 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>ele</CODE> - |
---|
1505 | <DT><B>Returns:</B><DD>DecimalValue |
---|
1506 | <DT><B>Throws:</B> |
---|
1507 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1508 | </DD> |
---|
1509 | </DL> |
---|
1510 | <HR> |
---|
1511 | |
---|
1512 | <A NAME="transformStringValue(edu.stanford.rt.datatype.StringType, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1513 | transformStringValue</H3> |
---|
1514 | <PRE> |
---|
1515 | private <A HREF="../../../../edu/stanford/rt/datatype/StringValue.html">StringValue</A> <B>transformStringValue</B>(<A HREF="../../../../edu/stanford/rt/datatype/StringType.html">StringType</A> type, |
---|
1516 | org.w3c.dom.Element ele) |
---|
1517 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1518 | <DL> |
---|
1519 | <DD>Method transformStringValue. |
---|
1520 | Returns a StringValue object by parsing element: |
---|
1521 | <pre> |
---|
1522 | <StringValue> |
---|
1523 | 123 |
---|
1524 | </StringValue> |
---|
1525 | </pre> |
---|
1526 | <P> |
---|
1527 | <DD><DL> |
---|
1528 | </DL> |
---|
1529 | </DD> |
---|
1530 | <DD><DL> |
---|
1531 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>ele</CODE> - |
---|
1532 | <DT><B>Returns:</B><DD>StringValue |
---|
1533 | <DT><B>Throws:</B> |
---|
1534 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1535 | </DD> |
---|
1536 | </DL> |
---|
1537 | <HR> |
---|
1538 | |
---|
1539 | <A NAME="transformEnumValue(edu.stanford.rt.datatype.EnumType, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1540 | transformEnumValue</H3> |
---|
1541 | <PRE> |
---|
1542 | private <A HREF="../../../../edu/stanford/rt/datatype/EnumValue.html">EnumValue</A> <B>transformEnumValue</B>(<A HREF="../../../../edu/stanford/rt/datatype/EnumType.html">EnumType</A> type, |
---|
1543 | org.w3c.dom.Element ele) |
---|
1544 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1545 | <DL> |
---|
1546 | <DD>Method transformEnumValue. |
---|
1547 | Returns an EnumValue object by parsing element: |
---|
1548 | <pre> |
---|
1549 | <EnumValue> |
---|
1550 | 123 |
---|
1551 | </EnumValue> |
---|
1552 | </pre> |
---|
1553 | <P> |
---|
1554 | <DD><DL> |
---|
1555 | </DL> |
---|
1556 | </DD> |
---|
1557 | <DD><DL> |
---|
1558 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>ele</CODE> - |
---|
1559 | <DT><B>Returns:</B><DD>EnumValue |
---|
1560 | <DT><B>Throws:</B> |
---|
1561 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1562 | </DD> |
---|
1563 | </DL> |
---|
1564 | <HR> |
---|
1565 | |
---|
1566 | <A NAME="transformTreeValue(edu.stanford.rt.datatype.TreeType, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1567 | transformTreeValue</H3> |
---|
1568 | <PRE> |
---|
1569 | private <A HREF="../../../../edu/stanford/rt/datatype/TreeValueSet.html">TreeValueSet</A> <B>transformTreeValue</B>(<A HREF="../../../../edu/stanford/rt/datatype/TreeType.html">TreeType</A> type, |
---|
1570 | org.w3c.dom.Element ele) |
---|
1571 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1572 | <DL> |
---|
1573 | <DD>Method transformTreeValue. |
---|
1574 | Returns a TreeValueSet object by parsing element: |
---|
1575 | <pre> |
---|
1576 | <TreeValue includeCurrent="true" |
---|
1577 | includeChildren="true" |
---|
1578 | includeDescendents="false"> |
---|
1579 | cs.stanford.edu |
---|
1580 | </TreeValue> |
---|
1581 | </pre> |
---|
1582 | <P> |
---|
1583 | <DD><DL> |
---|
1584 | </DL> |
---|
1585 | </DD> |
---|
1586 | <DD><DL> |
---|
1587 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>ele</CODE> - |
---|
1588 | <DT><B>Returns:</B><DD>TreeValueSet |
---|
1589 | <DT><B>Throws:</B> |
---|
1590 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1591 | </DD> |
---|
1592 | </DL> |
---|
1593 | <HR> |
---|
1594 | |
---|
1595 | <A NAME="transformTimeValue(edu.stanford.rt.datatype.TimeType, org.w3c.dom.Element)"><!-- --></A><H3> |
---|
1596 | transformTimeValue</H3> |
---|
1597 | <PRE> |
---|
1598 | private <A HREF="../../../../edu/stanford/rt/datatype/TimeValue.html">TimeValue</A> <B>transformTimeValue</B>(<A HREF="../../../../edu/stanford/rt/datatype/TimeType.html">TimeType</A> type, |
---|
1599 | org.w3c.dom.Element ele) |
---|
1600 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1601 | <DL> |
---|
1602 | <DD>Method transformTimeValue. |
---|
1603 | Returns a TimeValue object by parsing element: |
---|
1604 | <pre> |
---|
1605 | <TimeValue> |
---|
1606 | 2002-08-29T09:31:32 |
---|
1607 | </TimeValue> |
---|
1608 | </pre> |
---|
1609 | <P> |
---|
1610 | <DD><DL> |
---|
1611 | </DL> |
---|
1612 | </DD> |
---|
1613 | <DD><DL> |
---|
1614 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - <DD><CODE>ele</CODE> - |
---|
1615 | <DT><B>Returns:</B><DD>TimeValue |
---|
1616 | <DT><B>Throws:</B> |
---|
1617 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1618 | </DD> |
---|
1619 | </DL> |
---|
1620 | <HR> |
---|
1621 | |
---|
1622 | <A NAME="transformDateTime(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
1623 | transformDateTime</H3> |
---|
1624 | <PRE> |
---|
1625 | private java.util.Date <B>transformDateTime</B>(java.lang.String typeName, |
---|
1626 | java.lang.String dateTime) |
---|
1627 | throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE> |
---|
1628 | <DL> |
---|
1629 | <DD>Method transformDateTime. |
---|
1630 | Returns a java.uti.Date object from the given XML Schema datetype name |
---|
1631 | and the dateTime stirng. |
---|
1632 | |
---|
1633 | By using Sun XML Datetype Library, we validate dateTime against |
---|
1634 | the corresonding datetype specified by typeName. DomainSpecExeption is |
---|
1635 | thrown when validation fails. |
---|
1636 | <P> |
---|
1637 | <DD><DL> |
---|
1638 | </DL> |
---|
1639 | </DD> |
---|
1640 | <DD><DL> |
---|
1641 | <DT><B>Parameters:</B><DD><CODE>typeName</CODE> - <DD><CODE>dateTime</CODE> - |
---|
1642 | <DT><B>Returns:</B><DD>Date |
---|
1643 | <DT><B>Throws:</B> |
---|
1644 | <DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL> |
---|
1645 | </DD> |
---|
1646 | </DL> |
---|
1647 | <!-- ========= END OF CLASS DATA ========= --> |
---|
1648 | <HR> |
---|
1649 | |
---|
1650 | <!-- ========== START OF NAVBAR ========== --> |
---|
1651 | <A NAME="navbar_bottom"><!-- --></A> |
---|
1652 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
---|
1653 | <TR> |
---|
1654 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
1655 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
1656 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
---|
1657 | <TR ALIGN="center" VALIGN="top"> |
---|
1658 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
1659 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
1660 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
1661 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RTParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
1662 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
1663 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
1664 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
1665 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
1666 | </TR> |
---|
1667 | </TABLE> |
---|
1668 | </TD> |
---|
1669 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
1670 | </EM> |
---|
1671 | </TD> |
---|
1672 | </TR> |
---|
1673 | |
---|
1674 | <TR> |
---|
1675 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
1676 | <A HREF="../../../../edu/stanford/rt/parser/ParsingErrorHandler.html"><B>PREV CLASS</B></A> |
---|
1677 | NEXT CLASS</FONT></TD> |
---|
1678 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
1679 | <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
---|
1680 | <A HREF="RTParser.html" TARGET="_top"><B>NO FRAMES</B></A> |
---|
1681 | |
---|
1682 | <SCRIPT> |
---|
1683 | <!-- |
---|
1684 | if(window==top) { |
---|
1685 | document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
---|
1686 | } |
---|
1687 | //--> |
---|
1688 | </SCRIPT> |
---|
1689 | <NOSCRIPT> |
---|
1690 | <A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
---|
1691 | </NOSCRIPT> |
---|
1692 | </FONT></TD> |
---|
1693 | </TR> |
---|
1694 | <TR> |
---|
1695 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
1696 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
1697 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
1698 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
1699 | </TR> |
---|
1700 | </TABLE> |
---|
1701 | <!-- =========== END OF NAVBAR =========== --> |
---|
1702 | |
---|
1703 | <HR> |
---|
1704 | |
---|
1705 | </BODY> |
---|
1706 | </HTML> |
---|