private void parseUnits(String prefix, List<InstallableUnitDescription> ius) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex == -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseUnit(current.substring(0, dotIndex + 1), ius); } }
private void parseArtifacts(String prefix, List<IArtifactKey> artifacts) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex == -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseArtifact(current.substring(0, dotIndex + 1), artifacts); } }
private void parseUnits(String prefix, List<InstallableUnitDescription> ius) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex == -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseUnit(current.substring(0, dotIndex + 1), ius); } }
private void parseUnits(String prefix, List<InstallableUnitDescription> ius) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex == -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseUnit(current.substring(0, dotIndex + 1), ius); } }
private void parseLicenses(String prefix, List<ILicense> licenses) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex != -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseLicense(current, licenses); } }
private void parseLicenses(String prefix, List<ILicense> licenses) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex != -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseLicense(current, licenses); } }
private void parseArtifacts(String prefix, List<IArtifactKey> artifacts) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex == -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseArtifact(current.substring(0, dotIndex + 1), artifacts); } }
private void parseUnits(String prefix, List<InstallableUnitDescription> ius) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex == -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseUnit(current.substring(0, dotIndex + 1), ius); } }
private void parseArtifacts(String prefix, List<IArtifactKey> artifacts) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex == -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseArtifact(current.substring(0, dotIndex + 1), artifacts); } }
private void parseLicenses(String prefix, List<ILicense> licenses) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex != -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseLicense(current, licenses); } }
private void parseLicenses(String prefix, List<ILicense> licenses) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex != -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseLicense(current, licenses); } }
private void parseArtifacts(String prefix, List<IArtifactKey> artifacts) { while (current != null && current.startsWith(prefix)) { int dotIndex = current.indexOf('.', prefix.length()); if (dotIndex == -1) throw new IllegalStateException("bad token: " + current + " = " + currentValue()); //$NON-NLS-1$ //$NON-NLS-2$ parseArtifact(current.substring(0, dotIndex + 1), artifacts); } }
private void parseProperty(String prefix, Map<String, String> properties) { String propertyName = null; String propertyValue = null; while (current != null && current.startsWith(prefix)) { String token = current.substring(prefix.length()); if (token.equals(NAME)) { propertyName = currentValue(); } else if (token.equals(VALUE)) { propertyValue = currentValue(); } else { // we ignore elements we do not understand } next(); } properties.put(propertyName, propertyValue); }
private void parseProperty(String prefix, Map<String, String> properties) { String propertyName = null; String propertyValue = null; while (current != null && current.startsWith(prefix)) { String token = current.substring(prefix.length()); if (token.equals(NAME)) { propertyName = currentValue(); } else if (token.equals(VALUE)) { propertyValue = currentValue(); } else { // we ignore elements we do not understand } next(); } properties.put(propertyName, propertyValue); }
private void parseProperty(String prefix, Map<String, String> properties) { String propertyName = null; String propertyValue = null; while (current != null && current.startsWith(prefix)) { String token = current.substring(prefix.length()); if (token.equals(NAME)) { propertyName = currentValue(); } else if (token.equals(VALUE)) { propertyValue = currentValue(); } else { // we ignore elements we do not understand } next(); } properties.put(propertyName, propertyValue); }
private void parseProperty(String prefix, Map<String, String> properties) { String propertyName = null; String propertyValue = null; while (current != null && current.startsWith(prefix)) { String token = current.substring(prefix.length()); if (token.equals(NAME)) { propertyName = currentValue(); } else if (token.equals(VALUE)) { propertyValue = currentValue(); } else { // we ignore elements we do not understand } next(); } properties.put(propertyName, propertyValue); }
private void parseInstruction(String prefix, Map<String, ITouchpointInstruction> instructions) { String phase = current.substring(current.lastIndexOf('.') + 1); String body = currentValue(); next(); prefix += '.'; String importAttribute = null; if (current != null && current.startsWith(prefix)) { if (current.substring(prefix.length()).equals(IMPORT)) { importAttribute = currentValue(); } else { // we ignore elements we do not understand } next(); } ITouchpointInstruction instruction = MetadataFactory.createTouchpointInstruction(body, importAttribute); instructions.put(phase, instruction); }
private void parseInstruction(String prefix, Map<String, ITouchpointInstruction> instructions) { String phase = current.substring(current.lastIndexOf('.') + 1); String body = currentValue(); next(); prefix += '.'; String importAttribute = null; if (current != null && current.startsWith(prefix)) { if (current.substring(prefix.length()).equals(IMPORT)) { importAttribute = currentValue(); } else { // we ignore elements we do not understand } next(); } ITouchpointInstruction instruction = MetadataFactory.createTouchpointInstruction(body, importAttribute); instructions.put(phase, instruction); }
private void parseInstruction(String prefix, Map<String, ITouchpointInstruction> instructions) { String phase = current.substring(current.lastIndexOf('.') + 1); String body = currentValue(); next(); prefix += '.'; String importAttribute = null; if (current != null && current.startsWith(prefix)) { if (current.substring(prefix.length()).equals(IMPORT)) { importAttribute = currentValue(); } else { // we ignore elements we do not understand } next(); } ITouchpointInstruction instruction = MetadataFactory.createTouchpointInstruction(body, importAttribute); instructions.put(phase, instruction); }
private void parseInstruction(String prefix, Map<String, ITouchpointInstruction> instructions) { String phase = current.substring(current.lastIndexOf('.') + 1); String body = currentValue(); next(); prefix += '.'; String importAttribute = null; if (current != null && current.startsWith(prefix)) { if (current.substring(prefix.length()).equals(IMPORT)) { importAttribute = currentValue(); } else { // we ignore elements we do not understand } next(); } ITouchpointInstruction instruction = MetadataFactory.createTouchpointInstruction(body, importAttribute); instructions.put(phase, instruction); }