本文整理了Java中org.xml.sax.helpers.XMLFilterImpl.endDocument()
方法的一些代码示例,展示了XMLFilterImpl.endDocument()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLFilterImpl.endDocument()
方法的具体详情如下:
包路径:org.xml.sax.helpers.XMLFilterImpl
类名称:XMLFilterImpl
方法名:endDocument
[英]Filter an end document event.
[中]筛选结束文档事件。
代码示例来源:origin: igniterealtime/Openfire
@Override
public void endDocument() throws SAXException {
super.endDocument();
if ( autoFlush ) {
try {
flush();
} catch ( IOException e) {}
}
}
代码示例来源:origin: com.sun.xml.bind/jaxb-impl
/**
* Write a newline at the end of the document.
*
* Pass the event on down the filter chain for further processing.
*
* @exception org.xml.sax.SAXException If there is an error
* writing the newline, or if a handler further down
* the filter chain raises an exception.
* @see org.xml.sax.ContentHandler#endDocument()
*/
public void endDocument ()
throws SAXException
{
try {
super.endDocument();
flush();
} catch( IOException e ) {
throw new SAXException(e);
}
}
代码示例来源:origin: org.dom4j/dom4j
public void endDocument() throws SAXException {
super.endDocument();
if (autoFlush) {
try {
flush();
} catch (IOException e) {
}
}
}
代码示例来源:origin: org.glassfish.jaxb/jaxb-runtime
/**
* Write a newline at the end of the document.
*
* Pass the event on down the filter chain for further processing.
*
* @exception org.xml.sax.SAXException If there is an error
* writing the newline, or if a handler further down
* the filter chain raises an exception.
* @see org.xml.sax.ContentHandler#endDocument()
*/
public void endDocument ()
throws SAXException
{
try {
super.endDocument();
flush();
} catch( IOException e ) {
throw new SAXException(e);
}
}
代码示例来源:origin: net.sf.practicalxml/practicalxml
@Override
public void endDocument()
throws SAXException
{
_filter.endDocument();
}
代码示例来源:origin: nu.validator/validator
/**
* @see org.xml.sax.helpers.XMLFilterImpl#endDocument()
*/
@Override
public void endDocument() throws SAXException {
ids.clear();
super.endDocument();
}
代码示例来源:origin: dom4j/dom4j
public void endDocument() throws SAXException {
super.endDocument();
if (autoFlush) {
try {
flush();
} catch (IOException e) {
}
}
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j
public void endDocument() throws SAXException {
super.endDocument();
if (autoFlush) {
try {
flush();
} catch (IOException e) {
}
}
}
代码示例来源:origin: org.dom4j/com.springsource.org.dom4j
public void endDocument() throws SAXException {
super.endDocument();
if (autoFlush) {
try {
flush();
} catch (IOException e) {
}
}
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc
@Override
public void endDocument() throws SAXException {
loc = null;
reset();
super.endDocument();
}
代码示例来源:origin: sun-jaxb/jaxb-xjc
public void endDocument() throws SAXException {
loc = null;
reset();
super.endDocument();
}
代码示例来源:origin: org.jdom/jdom-contrib
/**
* <i>[ContentHandler interface support]</i> Receives notification
* of the end of a document.
*
* @throws SAXException any SAX exception, possibly wrapping
* another exception.
*/
public void endDocument() throws SAXException {
// Propagate event.
this.saxHandler.endDocument();
super.endDocument();
}
代码示例来源:origin: org.dom4j/org.motechproject.org.dom4j
public void endDocument() throws SAXException {
super.endDocument();
if (autoFlush) {
try {
flush();
} catch (IOException e) {
}
}
}
代码示例来源:origin: org.jenkins-ci.dom4j/dom4j
public void endDocument() throws SAXException {
super.endDocument();
if (autoFlush) {
try {
flush();
} catch (IOException e) {
}
}
}
代码示例来源:origin: org.glassfish.metro/webservices-tools
@Override
public void endDocument() throws SAXException {
loc = null;
reset();
super.endDocument();
}
代码示例来源:origin: org.igniterealtime.openfire/xmppserver
@Override
public void endDocument() throws SAXException {
super.endDocument();
if ( autoFlush ) {
try {
flush();
} catch ( IOException e) {}
}
}
代码示例来源:origin: org.glassfish.metro/webservices-tools
@Override
public void endDocument() throws SAXException {
if( isJAXBPrefixUsed && !isCustomizationUsed ) {
SAXParseException e = new SAXParseException(
Messages.format(Messages.WARN_INCORRECT_URI, Const.JAXB_NSURI),
locator );
errorHandler.warning(e);
}
super.endDocument();
}
代码示例来源:origin: org.andromda.thirdparty.jaxb2_commons/jaxb-xjc
public void endDocument() throws SAXException {
if( isJAXBPrefixUsed && !isCustomizationUsed ) {
SAXParseException e = new SAXParseException(
Messages.format(Messages.WARN_INCORRECT_URI, Const.JAXB_NSURI),
locator );
errorHandler.warning(e);
}
super.endDocument();
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc
@Override
public void endDocument() throws SAXException {
if( isJAXBPrefixUsed && !isCustomizationUsed ) {
SAXParseException e = new SAXParseException(
Messages.format(Messages.WARN_INCORRECT_URI, Const.JAXB_NSURI),
locator );
errorHandler.warning(e);
}
super.endDocument();
}
代码示例来源:origin: sun-jaxb/jaxb-xjc
public void endDocument() throws SAXException {
if( isJAXBPrefixUsed && !isCustomizationUsed ) {
SAXParseException e = new SAXParseException(
Messages.format(Messages.WARN_INCORRECT_URI, Const.JAXB_NSURI),
locator );
errorHandler.warning(e);
}
super.endDocument();
}
内容来源于网络,如有侵权,请联系作者删除!