org.xml.sax.helpers.XMLFilterImpl.ignorableWhitespace()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(5.5k)|赞(0)|评价(0)|浏览(127)

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

XMLFilterImpl.ignorableWhitespace介绍

[英]Filter an ignorable whitespace event.
[中]过滤可忽略的空白事件。

代码示例

代码示例来源:origin: igniterealtime/Openfire

@Override
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException {
  super.ignorableWhitespace(ch, start, length);
}

代码示例来源:origin: com.sun.xml.bind/jaxb-impl

/**
 * Write ignorable whitespace.
 *
 * Pass the event on down the filter chain for further processing.
 *
 * @param ch The array of characters to write.
 * @param start The starting position in the array.
 * @param length The number of characters to write.
 * @exception org.xml.sax.SAXException If there is an error
 *            writing the whitespace, or if a handler further down
 *            the filter chain raises an exception.
 * @see org.xml.sax.ContentHandler#ignorableWhitespace(char[], int, int)
 */
public void ignorableWhitespace (char ch[], int start, int length)
  throws SAXException
{
  try {
    writeEsc(ch, start, length, false);
    super.ignorableWhitespace(ch, start, length);
  } catch( IOException e ) {
    throw new SAXException(e);
  }
}

代码示例来源:origin: org.dom4j/dom4j

public void ignorableWhitespace(char[] ch, int start, int length)
    throws SAXException {
  super.ignorableWhitespace(ch, start, length);
}

代码示例来源:origin: org.jdom/jdom

/**
 * <i>[SAX ContentHandler interface support]</i> Receives
 * notification of ignorable whitespace in element content.
 */
@Override
public void ignorableWhitespace(char ch[], int start, int length)
    throws SAXException {
  this.ensureInitialization();
  super.ignorableWhitespace(ch, start, length);
}

代码示例来源:origin: org.glassfish.jaxb/jaxb-runtime

/**
 * Write ignorable whitespace.
 *
 * Pass the event on down the filter chain for further processing.
 *
 * @param ch The array of characters to write.
 * @param start The starting position in the array.
 * @param length The number of characters to write.
 * @exception org.xml.sax.SAXException If there is an error
 *            writing the whitespace, or if a handler further down
 *            the filter chain raises an exception.
 * @see org.xml.sax.ContentHandler#ignorableWhitespace(char[], int, int)
 */
public void ignorableWhitespace (char ch[], int start, int length)
  throws SAXException
{
  try {
    writeEsc(ch, start, length, false);
    super.ignorableWhitespace(ch, start, length);
  } catch( IOException e ) {
    throw new SAXException(e);
  }
}

代码示例来源:origin: org.apache.tomee/openejb-jee

@Override
public void ignorableWhitespace(final char ch[], final int start, final int length) throws SAXException {
  if (!ignore) {
    super.ignorableWhitespace(ch, start, length);
  }
}

代码示例来源:origin: info.magnolia/magnolia-core

@Override
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException {
  if (!skipping) {
    super.ignorableWhitespace(ch, start, length);
  }
}

代码示例来源:origin: org.apache.openejb/openejb-jee

@Override
public void ignorableWhitespace(final char ch[], final int start, final int length) throws SAXException {
  if (!ignore) {
    super.ignorableWhitespace(ch, start, length);
  }
}

代码示例来源:origin: net.sf.practicalxml/practicalxml

@Override
public void ignorableWhitespace(char[] ch, int start, int length)
throws SAXException
{
  _filter.ignorableWhitespace(ch, start, length);
}

代码示例来源:origin: maven/dom4j

public void ignorableWhitespace(char[] ch, int start, int length)
    throws SAXException {
  super.ignorableWhitespace(ch, start, length);
}

代码示例来源:origin: dom4j/dom4j

public void ignorableWhitespace(char[] ch, int start, int length)
    throws SAXException {
  super.ignorableWhitespace(ch, start, length);
}

代码示例来源:origin: org.andromda.thirdparty.jaxb2_commons/jaxb-xjc

public void ignorableWhitespace(char ch[], int start, int length) throws SAXException {
    if(side!=null)
      side.ignorableWhitespace(ch, start, length);
    super.ignorableWhitespace(ch, start, length);
  }
}

代码示例来源:origin: apache/servicemix-bundles

@Override
  public void ignorableWhitespace(char ch[], int start, int length) throws SAXException {
    if(side!=null)
      side.ignorableWhitespace(ch, start, length);
    super.ignorableWhitespace(ch, start, length);
  }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc

@Override
  public void ignorableWhitespace(char ch[], int start, int length) throws SAXException {
    if(side!=null)
      side.ignorableWhitespace(ch, start, length);
    super.ignorableWhitespace(ch, start, length);
  }
}

代码示例来源:origin: org.glassfish.metro/webservices-tools

@Override
  public void ignorableWhitespace(char ch[], int start, int length) throws SAXException {
    if(side!=null)
      side.ignorableWhitespace(ch, start, length);
    super.ignorableWhitespace(ch, start, length);
  }
}

代码示例来源:origin: sun-jaxb/jaxb-xjc

public void ignorableWhitespace(char ch[], int start, int length) throws SAXException {
    if(side!=null)
      side.ignorableWhitespace(ch, start, length);
    super.ignorableWhitespace(ch, start, length);
  }
}

代码示例来源:origin: com.helger/ph-isorelax

@Override
public void ignorableWhitespace (final char ch[], final int start, final int length) throws SAXException
{
 core.ignorableWhitespace (ch, start, length);
 super.ignorableWhitespace (ch, start, length);
}

代码示例来源:origin: org.jdom/jdom-legacy

/**
 * <i>[SAX ContentHandler interface support]</i> Receives
 * notification of ignorable whitespace in element content.
 */
public void ignorableWhitespace(char ch[], int start, int length)
                          throws SAXException {
 this.ensureInitialization();
 super.ignorableWhitespace(ch, start, length);
}

代码示例来源:origin: com.sun.xml.bind/jaxb-extra-osgi

public void ignorableWhitespace(char ac[], int i, int j)
  throws SAXException {
  core.ignorableWhitespace(ac, i, j);
  super.ignorableWhitespace(ac, i, j);
}

代码示例来源:origin: com.phloc/isorelax

@Override
public void ignorableWhitespace (final char ch[], final int start, final int length) throws SAXException
{
 core.ignorableWhitespace (ch, start, length);
 super.ignorableWhitespace (ch, start, length);
}

相关文章

微信公众号

最新文章

更多