info.magnolia.cms.util
Class WorkspaceXmlUtil
java.lang.Object
info.magnolia.cms.util.WorkspaceXmlUtil
public class WorkspaceXmlUtil
- extends Object
Contains utility methods to check workspace.xml.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkspaceXmlUtil
public WorkspaceXmlUtil()
getWorkspaceNamesWithIndexer
public static List<String> getWorkspaceNamesWithIndexer()
- Deprecated. since 4.5 - directly use
#getWorkspaceNamesMatching(String, String, boolean)
instead.
getWorkspaceNamesMatching
public static List<String> getWorkspaceNamesMatching(String xPathExpression)
getWorkspaceNames
public static List<String> getWorkspaceNames(String xPathExpression,
String expectation)
- Create and return list of workspaces names. If expectation is not null, all workspace with configs containing
entries identified by the xPathExpression will be contained if they match the expectation. If expectation is
null, all workspace names with configs that don't contain anything matching the xPathExpression will be returned.
- Parameters:
xPathExpression
- the xpath expressionexpectation
- value the matches of the xPathExpression should be compared with - special meaning of 'null': in that
case xPathExpression should not be contained!
- Returns:
- the list of workspace names
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.