Changeset 842
- Timestamp:
- 07/24/06 17:52:38
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
access/trunk/src/edu/rpi/cmt/access/AccessXmlUtil.java
r831 r842 188 188 public void emitSupportedPrivSet() throws AccessException { 189 189 try { 190 xml.openTag(accessTags.getTag("supported PrivilegeSet"));190 xml.openTag(accessTags.getTag("supported-privilege-set")); 191 191 192 192 emitSupportedPriv(Privileges.getPrivAll()); 193 193 194 xml.closeTag(accessTags.getTag("supported PrivilegeSet"));194 xml.closeTag(accessTags.getTag("supported-privilege-set")); 195 195 } catch (Throwable t) { 196 196 throw new AccessException(t); … … 212 212 char[] privileges) throws AccessException { 213 213 try { 214 xml.openTag(accessTags.getTag("current UserPrivilegeSet"));214 xml.openTag(accessTags.getTag("current-user-privilege-set")); 215 215 216 216 for (int pi = 0; pi < privileges.length; pi++) { … … 226 226 } 227 227 228 xml.closeTag(accessTags.getTag("current UserPrivilegeSet"));228 xml.closeTag(accessTags.getTag("current-user-privilege-set")); 229 229 } catch (Throwable t) { 230 230 throw new AccessException(t); … … 269 269 270 270 private void emitSupportedPriv(Privilege priv) throws Throwable { 271 xml.openTag(accessTags.getTag("supported Privilege"));271 xml.openTag(accessTags.getTag("supported-privilege")); 272 272 273 273 xml.openTagNoNewline(accessTags.getTag("privilege")); … … 276 276 277 277 if (priv.getAbstractPriv()) { 278 xml.emptyTag(accessTags.getTag(" _abstract"));278 xml.emptyTag(accessTags.getTag("abstract")); 279 279 } 280 280 … … 286 286 } 287 287 288 xml.closeTag(accessTags.getTag("supported Privilege"));288 xml.closeTag(accessTags.getTag("supported-privilege")); 289 289 } 290 290
