/** {@inheritDoc} */ public void clear() { LazySet<QName> keys = new LazySet<>(); keys.addAll(attributes.keySet()); for (QName attributeName : keys) { remove(attributeName); } }
/** {@inheritDoc} */ public void clear() { LazySet<QName> keys = new LazySet<>(); keys.addAll(attributes.keySet()); for (QName attributeName : keys) { remove(attributeName); } }
if (attesterIPAddress != null) { addresses = InetAddress.getAllByName(attesterIPAddress); validAddresses.addAll(Arrays.asList(addresses)); log.debug("Resolved valid subject confirmation InetAddress set: {}", validAddresses); return validAddresses;
MetadataIndexStore<T> indexStore = getStore(index); for (MetadataIndexKey key : keys) { indexResult.addAll(indexStore.lookup(key));
/** * Get the set of all namespaces which are in scope within the subtree rooted * at the owning XMLObject. * * @return set of all namespaces in scope for the owning object */ @Nonnull public Set<Namespace> getAllNamespacesInSubtreeScope() { LazySet<Namespace> namespaces = new LazySet<>(); // Collect namespaces for the subtree rooted at each child List<XMLObject> children = getOwner().getOrderedChildren(); if (children != null) { for(XMLObject child : children) { if (child != null) { Set<Namespace> childNamespaces = child.getNamespaceManager().getAllNamespacesInSubtreeScope(); if (!childNamespaces.isEmpty()) { namespaces.addAll(childNamespaces); } } } } // Collect this node's namespaces. for (Namespace myNS : getNamespaces()) { namespaces.add(myNS); } return namespaces; }
/** * Get the set of all namespaces which are in scope within the subtree rooted * at the owning XMLObject. * * @return set of all namespaces in scope for the owning object */ @Nonnull public Set<Namespace> getAllNamespacesInSubtreeScope() { LazySet<Namespace> namespaces = new LazySet<>(); // Collect namespaces for the subtree rooted at each child List<XMLObject> children = getOwner().getOrderedChildren(); if (children != null) { for(XMLObject child : children) { if (child != null) { Set<Namespace> childNamespaces = child.getNamespaceManager().getAllNamespacesInSubtreeScope(); if (!childNamespaces.isEmpty()) { namespaces.addAll(childNamespaces); } } } } // Collect this node's namespaces. for (Namespace myNS : getNamespaces()) { namespaces.add(myNS); } return namespaces; }