/** * Construct a new instance. * @param key the path key to match * @param value the path value or wildcard to match * @return the new path element */ public static PathElement pathElement(final String key, final String value) { return new PathElement(key, value); }
/** * Construct a new instance with a wildcard value. * @param key the path key to match * @return the new path element */ public static PathElement pathElement(final String key) { return new PathElement(key); }
/** * Construct a new instance with a wildcard value. * @param key the path key to match * @return the new path element */ public static PathElement pathElement(final String key) { return new PathElement(key); }
/** * Construct a new instance. * @param key the path key to match * @param value the path value or wildcard to match * @return the new path element */ public static PathElement pathElement(final String key, final String value) { return new PathElement(key, value); }
/** * Construct a new instance with a wildcard value. * @param key the path key to match * @return the new path element */ public static PathElement pathElement(final String key) { return new PathElement(key); }
/** * Construct a new instance with a wildcard value. * @param key the path key to match * @return the new path element */ public static PathElement pathElement(final String key) { return new PathElement(key); }
/** * Construct a new instance. * @param key the path key to match * @param value the path value or wildcard to match * @return the new path element */ public static PathElement pathElement(final String key, final String value) { return new PathElement(key, value); }
/** * Construct a new instance. * @param key the path key to match * @param value the path value or wildcard to match * @return the new path element */ public static PathElement pathElement(final String key, final String value) { return new PathElement(key, value); }
pathList = new PathElement[n]; for (Element element : elements_in_input) { PathElement pe = new PathElement(); pathList[i] = pe; pe.type = element.type;
final String name = prop.getName(); if (seen.add(name)) { values.add(new PathElement(name, prop.getValue().asString())); } else { throw duplicateElement(name);
final String name = prop.getName(); if (seen.add(name)) { values.add(new PathElement(name, prop.getValue().asString())); } else { throw duplicateElement(name);
final String name = prop.getName(); if (seen.add(name)) { values.add(new PathElement(name, prop.getValue().asString())); } else { throw duplicateElement(name);
final String name = prop.getName(); if (seen.add(name)) { values.add(new PathElement(name, prop.getValue().asString())); } else { throw duplicateElement(name);