gpt4 book ai didi

com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-19 16:40:40 26 4
gpt4 key购买 nike

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

XSLMessages.createXPATHMessage介绍

暂无

代码示例

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 *  Returns the previous node in the set and moves the position of the
 * iterator backwards in the set.
 * @return  The previous <code>Node</code> in the set being iterated over,
 *   or<code>null</code> if there are no more members in that set.
 */
public int previousNode()
{
 throw new RuntimeException(
  XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESETDTM_CANNOT_ITERATE, null)); //"This NodeSetDTM can not iterate to a previous node!");
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 * Set the ErrorListener where errors and warnings are to be reported.
 *
 * @param listener A non-null ErrorListener reference.
 */
public void setErrorListener(ErrorListener listener) throws IllegalArgumentException
{
 if (listener == null) 
  throw new IllegalArgumentException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NULL_ERROR_HANDLER, null)); //"Null error handler");
 m_errorListener = listener;
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 * Cast result object to a DTMIterator.
 *
 * @return The document fragment as a DTMIterator
 */
public DTMIterator asNodeIterator()
{
 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"asNodeIterator() not supported by XRTreeFragSelectWrapper!");
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 * Cast result object to a number.
 *
 * @return The result tree fragment as a number or NaN
 */
public double num()
 throws javax.xml.transform.TransformerException
{
 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"num() not supported by XRTreeFragSelectWrapper!");
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 * Cast result object to an XMLString.
 *
 * @return The document fragment node data or the empty string. 
 */
public XMLString xstr()
{
 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"xstr() not supported by XRTreeFragSelectWrapper!");
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 * Cast result object to a string.
 *
 * @return The document fragment node data or the empty string. 
 */
public String str()
{
 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"str() not supported by XRTreeFragSelectWrapper!");
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 * Cast result object to a result tree fragment.
 *
 * @return The document fragment this wraps
 */
public int rtf()
{
 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"rtf() not supported by XRTreeFragSelectWrapper!");
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

/**
 * Cast result object to a result tree fragment.
 *
 * @return The document fragment this wraps
 */
public int rtf()
{
 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"rtf() not supported by XRTreeFragSelectWrapper!");
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 * Construct a XNodeSet object.
 *
 * @param val String object this will wrap.
 */
private XStringForChars(String val)
{
 super(val);
 throw new IllegalArgumentException(
          XSLMessages.createXPATHMessage(XPATHErrorResources.ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING, null)); //"XStringForChars can not take a string for an argument!");
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

/**
 * Cast result object to a string.
 *
 * @return The document fragment node data or the empty string. 
 */
public String str()
{
 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"str() not supported by XRTreeFragSelectWrapper!");
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

/**
 * Cast result object to a DTMIterator.
 *
 * @return The document fragment as a DTMIterator
 */
public DTMIterator asNodeIterator()
{
 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, null)); //"asNodeIterator() not supported by XRTreeFragSelectWrapper!");
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

/**
 * Cast result object to a string.
 *
 * @return The string this wraps or the empty string if null
 */
public FastStringBuffer fsb()
{
 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS, null)); //"fsb() not supported for XStringForChars!");
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

/**
  * Constructs and throws a WrongNumberArgException with the appropriate
  * message for this function object.
  *
  * @throws WrongNumberArgsException
  */
 protected void reportWrongNumberArgs() throws WrongNumberArgsException {
   throw new WrongNumberArgsException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_TWO_OR_THREE, null)); //"2 or 3");
 }
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
  * Constructs and throws a WrongNumberArgException with the appropriate
  * message for this function object.
  *
  * @throws WrongNumberArgsException
  */
 protected void reportWrongNumberArgs() throws WrongNumberArgsException {
   throw new WrongNumberArgsException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_TWO_OR_THREE, null)); //"2 or 3");
 }
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 * Constructs and throws a WrongNumberArgException with the appropriate
 * message for this function object.
 *
 * @throws WrongNumberArgsException
 */
protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("three", null));
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 * Constructs and throws a WrongNumberArgException with the appropriate
 * message for this function object.  This method is meant to be overloaded
 * by derived classes so that the message will be as specific as possible.
 *
 * @throws WrongNumberArgsException
 */
protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("zero", null));
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

/**
 * Constructs and throws a WrongNumberArgException with the appropriate
 * message for this function object.
 *
 * @throws WrongNumberArgsException
 */
protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("one", null));
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

/**
 * Constructs and throws a WrongNumberArgException with the appropriate
 * message for this function object.
 *
 * @throws WrongNumberArgsException
 */
protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("three", null));
}

代码示例来源:origin: com.sun.xml.parsers/jaxp-ri

/**
 * Constructs and throws a WrongNumberArgException with the appropriate
 * message for this function object.
 *
 * @throws WrongNumberArgsException
 */
protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  throw new WrongNumberArgsException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_ZERO_OR_ONE, null)); //"0 or 1");
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri

/**
 * Constructs and throws a WrongNumberArgException with the appropriate
 * message for this function object.  This method is meant to be overloaded
 * by derived classes so that the message will be as specific as possible.
 *
 * @throws WrongNumberArgsException
 */
protected void reportWrongNumberArgs() throws WrongNumberArgsException {
  throw new WrongNumberArgsException(XSLMessages.createXPATHMessage("zero", null));
}

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