org.seasar.robot.extractor.impl
クラス AbstractXmlExtractor

java.lang.Object
  上位を拡張 org.seasar.robot.extractor.impl.AbstractXmlExtractor
直系の既知のサブクラス:
HtmlExtractor, HtmlXpathExtractor, XmlExtractor

public abstract class AbstractXmlExtractor
extends Object

作成者:
shinsuke

フィールドの概要
protected  String encoding
           
protected  boolean ignoreCommentTag
           
protected static org.slf4j.Logger logger
           
protected  int preloadSizeForCharset
           
 
コンストラクタの概要
AbstractXmlExtractor()
           
 
メソッドの概要
protected  String extractString(String content)
           
 String getEncoding()
           
protected  String getEncoding(BufferedInputStream bis)
           
protected abstract  Pattern getEncodingPattern()
           
 int getPreloadSizeForCharset()
           
protected abstract  Pattern getTagPattern()
           
 ExtractData getText(InputStream in, Map<String,String> params)
           
 boolean isIgnoreCommentTag()
           
 void setEncoding(String encoding)
           
 void setIgnoreCommentTag(boolean ignoreCommentTag)
           
 void setPreloadSizeForCharset(int preloadSizeForCharset)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

logger

protected static final org.slf4j.Logger logger

encoding

protected String encoding

preloadSizeForCharset

protected int preloadSizeForCharset

ignoreCommentTag

protected boolean ignoreCommentTag
コンストラクタの詳細

AbstractXmlExtractor

public AbstractXmlExtractor()
メソッドの詳細

getEncodingPattern

protected abstract Pattern getEncodingPattern()

getTagPattern

protected abstract Pattern getTagPattern()

getText

public ExtractData getText(InputStream in,
                           Map<String,String> params)

getEncoding

protected String getEncoding(BufferedInputStream bis)

extractString

protected String extractString(String content)

getEncoding

public String getEncoding()

setEncoding

public void setEncoding(String encoding)

getPreloadSizeForCharset

public int getPreloadSizeForCharset()
戻り値:
Returns the preloadSizeForCharset.

setPreloadSizeForCharset

public void setPreloadSizeForCharset(int preloadSizeForCharset)
パラメータ:
preloadSizeForCharset - The preloadSizeForCharset to set.

isIgnoreCommentTag

public boolean isIgnoreCommentTag()

setIgnoreCommentTag

public void setIgnoreCommentTag(boolean ignoreCommentTag)


Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.