Package org.apache.jackrabbit.commons.iterator

Examples of org.apache.jackrabbit.commons.iterator.PropertyIteratorAdapter


            @Override
            public boolean accept(final ItemData item) {
                return item.isProperty();
            }
        });
        return new PropertyIteratorAdapter(items, items.getSize());
    }
View Full Code Here


            @Override
            public boolean accept(final ItemData item) throws RepositoryException {
                return item.isProperty() && pattern.matcher(item.getName()).matches();
            }
        });
        return new PropertyIteratorAdapter(items, items.getSize());
    }
View Full Code Here

                        props.add(p);
                    }
                }
            }
        }
        return new PropertyIteratorAdapter(props);
    }
View Full Code Here

                l.add(n.getProperty(name));
            }
            if (l.isEmpty()) {
                return PropertyIteratorAdapter.EMPTY;
            } else {
                return new PropertyIteratorAdapter(l);
            }
        } catch (RepositoryException e) {
            String msg = "Unable to retrieve WEAKREFERENCE properties that refer to " + id;
            log.debug(msg);
            throw new RepositoryException(msg, e);
View Full Code Here

        return perform(new NodeOperation<PropertyIterator>(dlg) {
            @Override
            public PropertyIterator perform() throws RepositoryException {
                Iterator<PropertyDelegate> properties = node.getProperties();
                long size = node.getPropertyCount();
                return new PropertyIteratorAdapter(
                        propertyIterator(properties), size);
            }
        });
    }
View Full Code Here

                            public boolean apply(PropertyDelegate entry) {
                                // TODO: use Oak names
                                return ItemNameMatcher.matches(toJcrPath(entry.getName()), namePattern);
                            }
                        });
                return new PropertyIteratorAdapter(propertyIterator(properties));
            }
        });
    }
View Full Code Here

                            public boolean apply(PropertyDelegate entry) {
                                // TODO: use Oak names
                                return ItemNameMatcher.matches(toJcrPath(entry.getName()), nameGlobs);
                            }
                        });
                return new PropertyIteratorAdapter(propertyIterator(propertyNames));
            }
        });
    }
View Full Code Here

                                return pd == null ? null : new PropertyImpl(pd, sessionContext);
                            }
                        }
                );

                return new PropertyIteratorAdapter(properties.iterator());
            }
        });
    }
View Full Code Here

                        props.add(p);
                    }
                }
            }
        }
        return new PropertyIteratorAdapter(props);
    }
View Full Code Here

                l.add(n.getProperty(name));
            }
            if (l.isEmpty()) {
                return PropertyIteratorAdapter.EMPTY;
            } else {
                return new PropertyIteratorAdapter(l);
            }
        } catch (RepositoryException e) {
            String msg = "Unable to retrieve WEAKREFERENCE properties that refer to " + id;
            log.debug(msg);
            throw new RepositoryException(msg, e);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.commons.iterator.PropertyIteratorAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.