/** * Constructor. * * @param parent the parent of the {@link XMLObject}s added to the list */ public IndexedXMLObjectChildrenList(@Nonnull final XMLObject parent) { super(parent); objectIndex = new LazyMap<>(); }
/** * Constructor. * * @param parent the parent of the {@link XMLObject}s added to the list */ public IndexedXMLObjectChildrenList(@Nonnull final XMLObject parent) { super(parent); objectIndex = new LazyMap<>(); }
/** * Constructor. * * @param newStaticParameters static parameters for the validation evaluation */ public ValidationContext(Map<String, Object> newStaticParameters) { if (newStaticParameters == null) { staticParameters = Collections.unmodifiableMap(Collections.EMPTY_MAP); } else { staticParameters = Collections.unmodifiableMap(newStaticParameters); } dynamicParameters = new LazyMap<>(); }
/** * Constructor. * * @param newOwner the XMLObject which owns this ID-to-XMLObject index */ public IDIndex(@Nonnull final XMLObject newOwner) { Constraint.isNotNull(newOwner, "ID-owning XMLObject may not be null"); owner = newOwner; idMappings = new LazyMap<>(); }
/** Constructor. */ public SAML2ArtifactBuilderFactory() { artifactBuilders = new LazyMap<>(); artifactBuilders.put(new String(SAML2ArtifactType0004.TYPE_CODE), new SAML2ArtifactType0004Builder()); }
/** * Constructor. * * @param newOwner the XMLObject which owns this ID-to-XMLObject index */ public IDIndex(@Nonnull final XMLObject newOwner) { Constraint.isNotNull(newOwner, "ID-owning XMLObject may not be null"); owner = newOwner; idMappings = new LazyMap<>(); }
/** * Constructor. * * @param parent the parent of all elements * @param col collection to add to this list */ public IndexedXMLObjectChildrenList(@Nonnull final XMLObject parent, @Nonnull final Collection<ElementType> col) { super(parent); Constraint.isNotNull(col, "Initial collection cannot be null"); objectIndex = new LazyMap<>(); // This does call our add, which handles the null case properly, but // I didn't want to depend on that implementation. Keeping the fail silently // behavior means not using an Immutable collection copy. addAll(Collections2.filter(col, Predicates.notNull())); }
/** * Constructor. * * @param parent the parent of all elements * @param col collection to add to this list */ public IndexedXMLObjectChildrenList(@Nonnull final XMLObject parent, @Nonnull final Collection<ElementType> col) { super(parent); Constraint.isNotNull(col, "Initial collection cannot be null"); objectIndex = new LazyMap<>(); // This does call our add, which handles the null case properly, but // I didn't want to depend on that implementation. Keeping the fail silently // behavior means not using an Immutable collection copy. addAll(Collections2.filter(col, Predicates.notNull())); }
/** * Constructor. * * @param owningObject the XMLObject whose namespace info is to be managed */ public NamespaceManager(@Nonnull final XMLObject owningObject) { owner = Constraint.isNotNull(owningObject, "Owner XMLObject cannot be null"); decls = new LazySet<>(); attrNames = new LazySet<>(); attrValues = new LazyMap<>(); }
/** * Constructor. * * @param owningObject the XMLObject whose namespace info is to be managed */ public NamespaceManager(@Nonnull final XMLObject owningObject) { owner = Constraint.isNotNull(owningObject, "Owner XMLObject cannot be null"); decls = new LazySet<>(); attrNames = new LazySet<>(); attrValues = new LazyMap<>(); }
/** * Constructor. * * @param newOwner the XMLObject that owns these attributes */ public AttributeMap(@Nonnull final XMLObject newOwner) { Constraint.isNotNull(newOwner, "Attribute owner XMLObject cannot be null"); attributeOwner = newOwner; attributes = new LazyMap<>(); idAttribNames = new LazySet<>(); qnameAttribNames = new LazySet<>(); }
/** * Constructor. * * @param newOwner the XMLObject that owns these attributes */ public AttributeMap(@Nonnull final XMLObject newOwner) { Constraint.isNotNull(newOwner, "Attribute owner XMLObject cannot be null"); attributeOwner = newOwner; attributes = new LazyMap<>(); idAttribNames = new LazySet<>(); qnameAttribNames = new LazySet<>(); }
@Nullable final SignaturePrevalidator newSignaturePrevalidator) { conditionValidators = new LazyMap<>(); if (newConditionValidators != null) { for (ConditionValidator validator : newConditionValidators) { subjectConfirmationValidators = new LazyMap<>(); if (newConfirmationValidators != null) { for (SubjectConfirmationValidator validator : newConfirmationValidators) { statementValidators = new LazyMap<>(); if (newStatementValidators != null) { for (StatementValidator validator : newStatementValidators) {
final Map<String,Iterator<IdPAttributeValue<?>>> sourceValues = new LazyMap<>(); final int valueCount = setupSourceValues(workContext, sourceValues);