com.ctc.wstx.api.ReaderConfig.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(7.2k)|赞(0)|评价(0)|浏览(100)

本文整理了Java中com.ctc.wstx.api.ReaderConfig.<init>方法的一些代码示例,展示了ReaderConfig.<init>的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ReaderConfig.<init>方法的具体详情如下:
包路径:com.ctc.wstx.api.ReaderConfig
类名称:ReaderConfig
方法名:<init>

ReaderConfig.<init>介绍

暂无

代码示例

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

public static ReaderConfig createFullDefaults()
{
  /* For full version, can use bit larger buffers to achieve better
   * overall performance.
   */
  ReaderConfig rc = new ReaderConfig(null,
      false, null, DEFAULT_FLAGS_FULL, 0,
      // 8k input buffer (4000 chars):
      4000,
      DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

public static ReaderConfig createJ2MEDefaults()
{
  /* For J2ME we'll use slightly smaller buffer sizes by
   * default, on assumption lower memory usage is desireable:
   */
  ReaderConfig rc = new ReaderConfig(null,
      true, null, DEFAULT_FLAGS_J2ME, 0,
      // 4k input buffer (2000 chars):
      2000,
      DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

ReaderConfig rc = new ReaderConfig(this,
    mIsJ2MESubset, sym,
    mConfigFlags, mConfigFlagMods,

代码示例来源:origin: com.fasterxml.woodstox/woodstox-core

public static ReaderConfig createFullDefaults()
{
  /* For full version, can use bit larger buffers to achieve better
   * overall performance.
   */
  ReaderConfig rc = new ReaderConfig(null,
      false, null, DEFAULT_FLAGS_FULL, 0,
      // 8k input buffer (4000 chars):
      4000,
      DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: woodstox/wstx-asl

public static ReaderConfig createFullDefaults()
{
  /* For full version, can use bit larger buffers to achieve better
   * overall performance.
   */
  ReaderConfig rc = new ReaderConfig
    (false, null, DEFAULT_FLAGS_FULL,
     // 8k input buffer (4000 chars):
     4000,
     DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: FasterXML/woodstox

public static ReaderConfig createJ2MEDefaults()
{
  /* For J2ME we'll use slightly smaller buffer sizes by
   * default, on assumption lower memory usage is desireable:
   */
  ReaderConfig rc = new ReaderConfig(null,
      true, null, DEFAULT_FLAGS_J2ME, 0,
      // 4k input buffer (2000 chars):
      2000,
      DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: com.fasterxml.woodstox/woodstox-core

public static ReaderConfig createJ2MEDefaults()
{
  /* For J2ME we'll use slightly smaller buffer sizes by
   * default, on assumption lower memory usage is desireable:
   */
  ReaderConfig rc = new ReaderConfig(null,
      true, null, DEFAULT_FLAGS_J2ME, 0,
      // 4k input buffer (2000 chars):
      2000,
      DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: woodstox/wstx-asl

public static ReaderConfig createJ2MEDefaults()
{
  /* For J2ME we'll use slightly smaller buffer sizes by
   * default, on assumption lower memory usage is desireable:
   */
  ReaderConfig rc = new ReaderConfig
    (true, null, DEFAULT_FLAGS_J2ME,
     // 4k input buffer (2000 chars):
     2000,
     DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-lgpl

public static ReaderConfig createFullDefaults()
{
  /* For full version, can use bit larger buffers to achieve better
   * overall performance.
   */
  ReaderConfig rc = new ReaderConfig(null,
      false, null, DEFAULT_FLAGS_FULL, 0,
      // 8k input buffer (4000 chars):
      4000,
      DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

public static ReaderConfig createFullDefaults()
{
  /* For full version, can use bit larger buffers to achieve better
   * overall performance.
   */
  ReaderConfig rc = new ReaderConfig
    (false, null, DEFAULT_FLAGS_FULL,
     // 8k input buffer (4000 chars):
     4000,
     DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: Nextdoor/bender

public static ReaderConfig createFullDefaults()
{
  /* For full version, can use bit larger buffers to achieve better
   * overall performance.
   */
  ReaderConfig rc = new ReaderConfig(null,
      false, null, DEFAULT_FLAGS_FULL, 0,
      // 8k input buffer (4000 chars):
      4000,
      DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-lgpl

public static ReaderConfig createJ2MEDefaults()
{
  /* For J2ME we'll use slightly smaller buffer sizes by
   * default, on assumption lower memory usage is desireable:
   */
  ReaderConfig rc = new ReaderConfig(null,
      true, null, DEFAULT_FLAGS_J2ME, 0,
      // 4k input buffer (2000 chars):
      2000,
      DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

public static ReaderConfig createJ2MEDefaults()
{
  /* For J2ME we'll use slightly smaller buffer sizes by
   * default, on assumption lower memory usage is desireable:
   */
  ReaderConfig rc = new ReaderConfig
    (true, null, DEFAULT_FLAGS_J2ME,
     // 4k input buffer (2000 chars):
     2000,
     DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: woodstox/wstx-lgpl

public static ReaderConfig createJ2MEDefaults()
{
  /* For J2ME we'll use slightly smaller buffer sizes by
   * default, on assumption lower memory usage is desireable:
   */
  ReaderConfig rc = new ReaderConfig
    (true, null, DEFAULT_FLAGS_J2ME,
     // 4k input buffer (2000 chars):
     2000,
     DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: woodstox/wstx-lgpl

public static ReaderConfig createFullDefaults()
{
  /* For full version, can use bit larger buffers to achieve better
   * overall performance.
   */
  ReaderConfig rc = new ReaderConfig
    (false, null, DEFAULT_FLAGS_FULL,
     // 8k input buffer (4000 chars):
     4000,
     DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: Nextdoor/bender

public static ReaderConfig createJ2MEDefaults()
{
  /* For J2ME we'll use slightly smaller buffer sizes by
   * default, on assumption lower memory usage is desireable:
   */
  ReaderConfig rc = new ReaderConfig(null,
      true, null, DEFAULT_FLAGS_J2ME, 0,
      // 4k input buffer (2000 chars):
      2000,
      DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: FasterXML/woodstox

public static ReaderConfig createFullDefaults()
{
  /* For full version, can use bit larger buffers to achieve better
   * overall performance.
   */
  ReaderConfig rc = new ReaderConfig(null,
      false, null, DEFAULT_FLAGS_FULL, 0,
      // 8k input buffer (4000 chars):
      4000,
      DEFAULT_SHORTEST_TEXT_SEGMENT);
  return rc;
}

代码示例来源:origin: woodstox/wstx-lgpl

public ReaderConfig createNonShared(SymbolTable sym)
{
  // should we throw an exception?
  //if (sym == null) { }
  ReaderConfig rc = new ReaderConfig(mIsJ2MESubset, sym,
                    mConfigFlags,
                    mInputBufferLen,
                    mMinTextSegmentLen);
  rc.mReporter = mReporter;
  rc.mDtdResolver = mDtdResolver;
  rc.mEntityResolver = mEntityResolver;
  rc.mBaseURL = mBaseURL;
  rc.mParsingMode = mParsingMode;
  if (mSpecialProperties != null) {
    int len = mSpecialProperties.length;
    Object[] specProps = new Object[len];
    System.arraycopy(mSpecialProperties, 0, specProps, 0, len);
    rc.mSpecialProperties = specProps;
  }
  return rc;
}

代码示例来源:origin: woodstox/wstx-asl

public ReaderConfig createNonShared(SymbolTable sym)
{
  // should we throw an exception?
  //if (sym == null) { }
  ReaderConfig rc = new ReaderConfig(mIsJ2MESubset, sym,
                    mConfigFlags,
                    mInputBufferLen,
                    mMinTextSegmentLen);
  rc.mReporter = mReporter;
  rc.mDtdResolver = mDtdResolver;
  rc.mEntityResolver = mEntityResolver;
  rc.mBaseURL = mBaseURL;
  rc.mParsingMode = mParsingMode;
  if (mSpecialProperties != null) {
    int len = mSpecialProperties.length;
    Object[] specProps = new Object[len];
    System.arraycopy(mSpecialProperties, 0, specProps, 0, len);
    rc.mSpecialProperties = specProps;
  }
  return rc;
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

public ReaderConfig createNonShared(SymbolTable sym)
{
  // should we throw an exception?
  //if (sym == null) { }
  ReaderConfig rc = new ReaderConfig(mIsJ2MESubset, sym,
                    mConfigFlags,
                    mInputBufferLen,
                    mMinTextSegmentLen);
  rc.mReporter = mReporter;
  rc.mDtdResolver = mDtdResolver;
  rc.mEntityResolver = mEntityResolver;
  rc.mBaseURL = mBaseURL;
  rc.mParsingMode = mParsingMode;
  if (mSpecialProperties != null) {
    int len = mSpecialProperties.length;
    Object[] specProps = new Object[len];
    System.arraycopy(mSpecialProperties, 0, specProps, 0, len);
    rc.mSpecialProperties = specProps;
  }
  return rc;
}

相关文章

微信公众号

最新文章

更多

ReaderConfig类方法