gpt4 book ai didi

com.ctc.wstx.sax.WrappedSaxException.()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-25 20:11:05 26 4
gpt4 key购买 nike

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

WrappedSaxException.<init>介绍

暂无

代码示例

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

public void dtdProcessingInstruction(String target, String data)
{
  if (mContentHandler != null) {
    try {
      mContentHandler.processingInstruction(target, data);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdSkippedEntity(String name)
{
  if (mContentHandler != null) {
    try {
      mContentHandler.skippedEntity(name);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void attributeDecl(String eName, String aName, String type, String mode, String value)
{
  if (mDeclHandler != null) {
    try {
      mDeclHandler.attributeDecl(eName, aName, type, mode, value);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdExternalEntityDecl(String name, String publicId, String systemId)
{
  if (mDeclHandler != null) {
    try {
      mDeclHandler.externalEntityDecl(name, publicId, systemId);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdComment(char[] data, int offset, int len)
{
  if (mLexicalHandler != null) {
    try {
      mLexicalHandler.comment(data, offset, len);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdElementDecl(String name, String model)
{
  if (mDeclHandler != null) {
    try {
      mDeclHandler.elementDecl(name, model);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdInternalEntityDecl(String name, String value)
{
  if (mDeclHandler != null) {
    try {
      mDeclHandler.internalEntityDecl(name, value);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdUnparsedEntityDecl(String name, String publicId, String systemId, String notationName, URL baseURL)
  throws XMLStreamException
{
  if (mDTDHandler != null) {
    // SAX expects system id to be fully resolved?
    if (systemId.indexOf(':') < 0) { // relative path...
      try {
        systemId = URLUtil.urlFromSystemId(systemId, baseURL).toExternalForm();
      } catch (IOException ioe) {
        throw new WstxIOException(ioe);
      }
    }
    try {
      mDTDHandler.unparsedEntityDecl(name, publicId, systemId, notationName);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdNotationDecl(String name, String publicId, String systemId, URL baseURL)
  throws XMLStreamException
{
  if (mDTDHandler != null) {
    /* 24-Nov-2006, TSa: Note: SAX expects system identifiers to
     *  be fully resolved when reported...
     */
    if (systemId != null && systemId.indexOf(':') < 0) {
      try {
        systemId = URLUtil.urlFromSystemId(systemId, baseURL).toExternalForm();
      } catch (IOException ioe) {
        throw new WstxIOException(ioe);
      }
    }
    try {
      mDTDHandler.notationDecl(name, publicId, systemId);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

@Override
public void dtdProcessingInstruction(String target, String data)
{
  if (mContentHandler != null) {
    try {
      mContentHandler.processingInstruction(target, data);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdProcessingInstruction(String target, String data)
{
  if (mContentHandler != null) {
    try {
      mContentHandler.processingInstruction(target, data);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

@Override
public void dtdSkippedEntity(String name)
{
  if (mContentHandler != null) {
    try {
      mContentHandler.skippedEntity(name);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

@Override
public void attributeDecl(String eName, String aName, String type, String mode, String value)
{
  if (mDeclHandler != null) {
    try {
      mDeclHandler.attributeDecl(eName, aName, type, mode, value);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdComment(char[] data, int offset, int len)
{
  if (mLexicalHandler != null) {
    try {
      mLexicalHandler.comment(data, offset, len);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdExternalEntityDecl(String name, String publicId, String systemId)
{
  if (mDeclHandler != null) {
    try {
      mDeclHandler.externalEntityDecl(name, publicId, systemId);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

@Override
public void dtdComment(char[] data, int offset, int len)
{
  if (mLexicalHandler != null) {
    try {
      mLexicalHandler.comment(data, offset, len);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdExternalEntityDecl(String name, String publicId, String systemId)
{
  if (mDeclHandler != null) {
    try {
      mDeclHandler.externalEntityDecl(name, publicId, systemId);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

@Override
public void dtdElementDecl(String name, String model)
{
  if (mDeclHandler != null) {
    try {
      mDeclHandler.elementDecl(name, model);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

@Override
public void dtdExternalEntityDecl(String name, String publicId, String systemId)
{
  if (mDeclHandler != null) {
    try {
      mDeclHandler.externalEntityDecl(name, publicId, systemId);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

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

public void dtdElementDecl(String name, String model)
{
  if (mDeclHandler != null) {
    try {
      mDeclHandler.elementDecl(name, model);
    } catch (SAXException sex) {
      throw new WrappedSaxException(sex);
    }
  }
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com