public void error(String msg) { error(msg, null); }
public void error(String msg) { error(msg, null); }
/** * Fullfill the PrefixResolver interface. Calling this for this class * will throw an error. * * @param prefix The prefix to look up, which may be an empty string ("") * for the default Namespace. * @param context The node context from which to look up the URI. * * @return null if the error listener does not choose to throw an exception. */ public String getNamespaceForPrefix(String prefix, org.w3c.dom.Node context) { this.error(XSLTErrorResources.ER_CANT_RESOLVE_NSPREFIX, null); return null; }
/** * Fullfill the PrefixResolver interface. Calling this for this class * will throw an error. * * @param prefix The prefix to look up, which may be an empty string ("") * for the default Namespace. * @param context The node context from which to look up the URI. * * @return null if the error listener does not choose to throw an exception. */ public String getNamespaceForPrefix(String prefix, org.w3c.dom.Node context) { this.error(XSLTErrorResources.ER_CANT_RESOLVE_NSPREFIX, null); return null; }
error(XSLTErrorResources.ER_NULL_CHILD, null); //"Trying to add a null child!");
error(XSLTErrorResources.ER_NULL_CHILD, null); //"Trying to add a null child!");
/** * Add a child to the child list. * NOTE: This presumes the child did not previously have a parent. * Making that assumption makes this a less expensive operation -- but * requires that if you *do* want to reparent a node, you use removeChild() * first to remove it from its previous context. Failing to do so will * damage the tree. * * @param elem Child to be added to child list * * @return Child just added to the child list */ public ElemTemplateElement appendChild(ElemTemplateElement elem) { if (null == elem) { error(XSLTErrorResources.ER_NULL_CHILD, null); //"Trying to add a null child!"); } if (null == m_firstChild) { m_firstChild = elem; } else { ElemTemplateElement last = getLastChildElem(); last.m_nextSibling = elem; } elem.setParentElem(this); return elem; }
/** * Add a child to the child list. * NOTE: This presumes the child did not previously have a parent. * Making that assumption makes this a less expensive operation -- but * requires that if you *do* want to reparent a node, you use removeChild() * first to remove it from its previous context. Failing to do so will * damage the tree. * * @param elem Child to be added to child list * * @return Child just added to the child list */ public ElemTemplateElement appendChild(ElemTemplateElement elem) { if (null == elem) { error(XSLTErrorResources.ER_NULL_CHILD, null); //"Trying to add a null child!"); } if (null == m_firstChild) { m_firstChild = elem; } else { ElemTemplateElement last = getLastChildElem(); last.m_nextSibling = elem; } elem.setParentElem(this); return elem; }
templElem.error(XSLTErrorResources.ER_MALFORMED_FORMAT_STRING, new Object[]{ patternStr });
templElem.error(XSLTErrorResources.ER_MALFORMED_FORMAT_STRING, new Object[]{ patternStr });
public void error(String msg) { error(msg, null); }
public void error(String msg) { error(msg, null); }
public void error(String msg) { error(msg, null); }
public void error(String msg) { error(msg, null); }
public void error(String msg) { error(msg, null); }
public void error(String msg) { error(msg, null); }
public void error(String msg) { error(msg, null); }
public void error(String msg) { error(msg, null); }
public void error(String msg) { error(msg, null); }
/** * Fullfill the PrefixResolver interface. Calling this for this class * will throw an error. * * @param prefix The prefix to look up, which may be an empty string ("") * for the default Namespace. * @param context The node context from which to look up the URI. * * @return null if the error listener does not choose to throw an exception. */ public String getNamespaceForPrefix(String prefix, org.w3c.dom.Node context) { this.error(XSLTErrorResources.ER_CANT_RESOLVE_NSPREFIX, null); return null; }