Package org.xwiki.model.reference

Examples of org.xwiki.model.reference.WikiReference


    {
        Collection<XarEntry> entries = XarPackage.getEntries(new File(fileName));

        List<DocumentReference> result = new ArrayList<DocumentReference>(entries.size());

        WikiReference wikiReference = new WikiReference("xwiki");

        for (XarEntry entry : entries) {
            result.add(new DocumentReference(entry, wikiReference));
        }
View Full Code Here


    {
        Collection<XarEntry> entries = XarPackage.getEntries(new File(fileName));

        List<DocumentReference> result = new ArrayList<DocumentReference>(entries.size());

        WikiReference wikiReference = new WikiReference("xwiki");

        Pattern pattern = patternFilter == null ? null : Pattern.compile(patternFilter);

        for (XarEntry entry : entries) {
            if (pattern == null || pattern.matcher(SERIALIZER.serialize(entry)).matches()) {
View Full Code Here

TOP

Related Classes of org.xwiki.model.reference.WikiReference

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.