Uses of Class
edu.stanford.rt.credential.DomainSpecException

Packages that use DomainSpecException
edu.stanford.rt.credential   
edu.stanford.rt.datatype   
edu.stanford.rt.parser   
 

Uses of DomainSpecException in edu.stanford.rt.credential
 

Methods in edu.stanford.rt.credential that throw DomainSpecException
 DataType RoleTerm.getParameterType(java.lang.String parameterName)
          Method getParameterType.
 CredentialDomain RoleDefinition.getContext()
          Method getContext.
static RoleDeclaration RoleDeclaration.createRestrictionRole(DomainSpecification context, java.lang.String name, boolean isIdentity, RoleDeclaration baseRole, OrderedMap newParameters)
          Method createRestrictionRole.
static RoleDeclaration RoleDeclaration.createExtensionRole(DomainSpecification context, java.lang.String name, boolean isIdentity, RoleDeclaration baseRole, OrderedMap newParameters)
          Method createExtensionRole.
static RoleDeclaration RoleDeclaration.createProjectionRole(DomainSpecification context, java.lang.String name, boolean isIdentity, RoleDeclaration baseRole, java.lang.String[] parameterNames)
          Method createProjectionRole.
static RoleDeclaration RoleDeclaration.createPlainRole(DomainSpecification context, java.lang.String name, int issuerTracesType, int subjectTracesType, int dimension, boolean isIdentity, OrderedMap newParameters)
          Method createPlainRole.
 OrderedMap RoleDeclaration.getParameterDeclarations()
          Method getParameterDeclarations.
 DataType RoleDeclaration.getParameterType(java.lang.String paramName)
          Method getParameterType.
private  void RoleDeclaration.calculatePrefixPositions(java.lang.StringBuffer prefix, int position, OrderedMap paramDeclarations, java.util.HashMap prefixToPositionMap, java.util.HashMap positionToPrefixMap)
          Method calculatePrefixPositions.
 void RTContext.addApplicationDomain(HashID id, ApplicationDomain appDomain)
          Method addApplicationDomain.
 void RTContext.addPrincipal(PublicKeyPrincipal id, PublicKeyPrincipalInfo principal)
          Method addPrincipals.
 void OrderedMap.put(java.lang.Object key, java.lang.Object value)
          Method put.
private  void OrderedMap.myPut(java.lang.Object key, java.lang.Object value)
           
 void OrderedMap.putAll(OrderedMap map)
          Copies all the mapping entries to this map, perserving the original ordering of the entries.
 java.lang.Object OrderedMap.get(java.lang.Object key)
          Returns the value for the given key and returns null if there is no mapping for the given key .
 void DomainSpecification.importDomain(java.lang.String name, ApplicationDomain spec)
          Method importDomain.
 void DomainSpecification.addType(DataType type)
          Method addType.
 void DomainSpecification.addType(java.lang.String typeName)
          Method addType.
 void DomainSpecification.addRole(RoleDeclaration role)
          Method addRole.
 void DomainSpecification.setPrincipalType(SimpleType prinType)
          Method setPrincipalType.
 DomainSpecification DomainSpecification.lookupImportedDomain(java.lang.String domainRef)
          Method lookupImportedDomain.
 DataType DomainSpecification.lookupType(java.lang.String typeName)
          Method lookupType.
 DataType DomainSpecification.lookupType(java.lang.String domainRef, java.lang.String typeName)
          Method lookupType.
 RoleDeclaration DomainSpecification.lookupRoleDeclaration(java.lang.String roleName)
          Method lookupRoleDeclaration.
 RoleDeclaration DomainSpecification.lookupRoleDeclaration(java.lang.String domainRef, java.lang.String roleName)
          Method lookupRoleDeclaration.
 OrderedMap DomainSpecification.getTypeDeclarations()
          Method getTypeDeclarations.
 OrderedMap DomainSpecification.getRoleDeclarations()
          Method getRoleDeclarations.
 OrderedMap DomainSpecification.getImportedDomains()
          Method getImportedDomains.
 void DomainSpecification.setHashID(HashID hashID)
          Sets the hashID.
 void CredentialStore.addCredentialDomain(HashID id, CredentialDomain credentialDomain)
          Method addCredentialDomain.
private  void CredentialStore.addRoleDefinition(RoleDefinition roleDefinition)
          Adds a new role definition to the roleDefinitions.
 void CredentialDomain.addPrincipal(java.lang.String shortName, Principal principal)
          Method addPrincipal.
 void CredentialDomain.setHashID(HashID hashID)
           
 DataType CredentialDomain.lookupType(java.lang.String typeName)
          Method lookupType.
 RoleDeclaration CredentialDomain.lookupRoleDeclaration(java.lang.String roleName)
          Method lookupRoleDeclaration.
 DataType ApplicationDomain.lookupType(java.lang.String typeName)
          Method lookupType.
 RoleDeclaration ApplicationDomain.lookupRoleDeclaration(java.lang.String roleName)
          Method lookupRoleDeclaration.
 void ApplicationDomain.setHashID(HashID hashID)
           
 

Constructors in edu.stanford.rt.credential that throw DomainSpecException
RoleDeclaration(DomainSpecification context, java.lang.String name, int issuerTracesType, int subjectTracesType, int dimension, boolean isIdentity, int declarationType, RoleDeclaration baseRole, OrderedMap parameterDeclarations)
          Private contructor ensures that no one else can contruct a RoleDeclaration object and the state of a RoleDeclaration object is complete (unmodifiable) once it is created.
DomainSpecification(RTContext context)
          Constuctor for DomainSpecification.
CredentialDomain(org.w3c.dom.Element credentialElement, RTContext rtContext)
          Constructor for CredentialDomain.
ApplicationDomain(java.lang.String uri, boolean isSystemDomain, RTContext context)
          Constructor for ApplicationDomain.
 

Uses of DomainSpecException in edu.stanford.rt.datatype
 

Methods in edu.stanford.rt.datatype that throw DomainSpecException
 void SetValueSet.addValue(DataValue value)
          Add a data value to this set.
 DataType RecordType.getFieldType(java.lang.String fieldName)
          Method getFieldType.
 

Constructors in edu.stanford.rt.datatype that throw DomainSpecException
SetValueSet(SimpleType type, java.util.HashSet values)
          Constructor for SetValueSet.
RecordType(java.lang.String name, OrderedMap fieldDeclarations)
          constructor for RecordType.
 

Uses of DomainSpecException in edu.stanford.rt.parser
 

Methods in edu.stanford.rt.parser that throw DomainSpecException
 ApplicationDomain RTParser.transformSystemDomain(org.w3c.dom.Element root)
          Method transformSystemDomain.
 void RTParser.transformCredentialStore(org.w3c.dom.Element root, RTContext rtContext, CredentialStore credentialStore)
          Method transformCredentialStore.
 ApplicationDomain RTParser.transformDomain(org.w3c.dom.Element ele, RTContext rtContext)
          Method parseDomain.
private  ApplicationDomain RTParser.locateDomain(java.lang.String idref, java.lang.String uri, RTContext rtContext)
          Method locateDomain.
private  IntegerType RTParser.transformIntegerTypeDeclaration(org.w3c.dom.Element ele)
          Method transformIntegerTypeDeclaration.
private  DecimalType RTParser.transformDecimalTypeDeclaration(org.w3c.dom.Element ele)
          Method transformDecimalTypeDeclaration.
private  StringType RTParser.transformStringTypeDeclaration(org.w3c.dom.Element ele)
          Method transformStringTypeDeclaration.
private  EnumType RTParser.transformEnumTypeDeclaration(org.w3c.dom.Element ele, DomainSpecification currentSpec)
          Method transformEnumTypeDeclaration.
private  TreeType RTParser.transformTreeTypeDeclaration(org.w3c.dom.Element ele)
          Method transformTreeTypeDeclaration.
private  RecordType RTParser.transformRecordTypeDeclaration(org.w3c.dom.Element ele, DomainSpecification currentSpec)
          Method transformRecordTypeDeclaration.
private  SimpleType RTParser.transformPrincipalTypeDeclaration(org.w3c.dom.Element ele, DomainSpecification currentSpec)
          Method transformPrincipalTypeDeclaration.
private  RoleDeclaration RTParser.transformRoleDeclaration(org.w3c.dom.Element ele, DomainSpecification currentSpec)
          Method transformRoleDeclaration.
private  OrderedMap RTParser.transformParameters(org.w3c.dom.NodeList nodes, DomainSpecification currentSpec)
          Method parseParameters.
 CredentialDomain RTParser.transformCredential(org.w3c.dom.Element ele, RTContext rtContext)
          Method transformCredential.
 CredentialDomain RTParser.transformAccessRule(org.w3c.dom.Element ele, RTContext rtContext)
           
private  PrincipalValue RTParser.transformPrincipalValue(org.w3c.dom.Element ele, CredentialDomain credDomain)
          Method transformPrincipalValue.
private  RoleDefinition RTParser.transformRoleDefinition(Principal issuer, CredentialDomain credDomain, org.w3c.dom.Element ele)
          Method transformRoleDefinition.
private  PrincipalExpression RTParser.transformBody(Principal issuer, CredentialDomain credDomain, org.w3c.dom.Element ele)
          Method transformBody.
private  DelegationRole RTParser.transformDelegation(Principal issuer, CredentialDomain credDomain, org.w3c.dom.Element delegationElement, org.w3c.dom.Element controlElement)
          Method transformDelegation.
private  Role RTParser.transformExternalRole(org.w3c.dom.Element ele, CredentialDomain credDomain)
          Method transformExternalRole.
private  RoleIntersection RTParser.transformRoleIntersection(org.w3c.dom.Element ele, CredentialDomain credDomain)
          Method transformRoleIntersection.
private  RoleTerm RTParser.transformRoleTerm(org.w3c.dom.Element ele, CredentialDomain credDomain)
          Method transformRoleTerm.
private  void RTParser.transformParameter(org.w3c.dom.Element ele, java.lang.StringBuffer prefix, RoleTerm roleTerm, CredentialDomain credDomain)
          Method transformParameter.
private  void RTParser.transformValueSetGroup(DataType type, org.w3c.dom.Element ele, java.lang.StringBuffer prefix, RoleTerm roleTerm, CredentialDomain credDomain)
          Method transformValueSetGroup.
private  void RTParser.transformValueGroup(SimpleType type, org.w3c.dom.Element ele, java.lang.StringBuffer prefix, RoleTerm roleTerm, CredentialDomain credDomain)
          Method transformValueGroup.
private  IntervalValueSet RTParser.transformIntervalValue(OrderedType type, org.w3c.dom.Element ele)
          Method transformIntervalValue.
private  DataValue RTParser.transformOrderedValue(OrderedType type, org.w3c.dom.Element ele)
          Method transformOrderedValue.
private  IntegerValue RTParser.transformIntegerValue(IntegerType type, org.w3c.dom.Element ele)
          Method transformIntegerValue.
private  DecimalValue RTParser.transformDecimalValue(DecimalType type, org.w3c.dom.Element ele)
          Method transformDecimalValue.
private  StringValue RTParser.transformStringValue(StringType type, org.w3c.dom.Element ele)
          Method transformStringValue.
private  EnumValue RTParser.transformEnumValue(EnumType type, org.w3c.dom.Element ele)
          Method transformEnumValue.
private  TreeValueSet RTParser.transformTreeValue(TreeType type, org.w3c.dom.Element ele)
          Method transformTreeValue.
private  TimeValue RTParser.transformTimeValue(TimeType type, org.w3c.dom.Element ele)
          Method transformTimeValue.
private  java.util.Date RTParser.transformDateTime(java.lang.String typeName, java.lang.String dateTime)
          Method transformDateTime.