1 /* Copyright (c) 2004 The Nutch Organization. All rights reserved. */2 /* Use subject to the conditions in http://www.nutch.org/LICENSE.txt. */3 4 package net.nutch.parse;5 6 /** The result of parsing a page's raw content.7 * @see Parser#getParse(Content)8 */9 public class ParseImpl implements Parse {10 private String text;11 private ParseData data;12 13 public ParseImpl(String text, ParseData data) {14 this.text = text;15 this.data = data;16 }17 18 public String getText() { return text; }19 20 public ParseData getData() { return data; }21 }22