Tabnine Logo
TransformerImpl.getMsgMgr
Code IndexAdd Tabnine to your IDE (free)

How to use
getMsgMgr
method
in
org.apache.xalan.transformer.TransformerImpl

Best Java code snippets using org.apache.xalan.transformer.TransformerImpl.getMsgMgr (Showing top 20 results out of 315)

origin: robovm/robovm

m_processor.getMsgMgr().warn(null, XSLTErrorResources.WG_CANNOT_FIND_COLLATOR,
               new Object[]{ langValue });  //"Could not find Collator for <sort xml:lang="+langValue);
origin: xalan/xalan

m_processor.getMsgMgr().warn(null, XSLTErrorResources.WG_CANNOT_FIND_COLLATOR,
               new Object[]{ langValue });  //"Could not find Collator for <sort xml:lang="+langValue);
origin: robovm/robovm

transformer.getMsgMgr().warn(this, null, xctxt.getDTM(contextNode).getNode(contextNode),
               XSLTErrorResources.WG_LOCALE_NOT_FOUND,
               new Object[]{ langValue });  //"Warning: Could not find locale for xml:lang="+langValue);
origin: xalan/xalan

transformer.getMsgMgr().warn(this, null, xctxt.getDTM(contextNode).getNode(contextNode),
               XSLTErrorResources.WG_LOCALE_NOT_FOUND,
               new Object[]{ langValue });  //"Warning: Could not find locale for xml:lang="+langValue);
origin: robovm/robovm

/**
 * Execute the xsl:apply-imports transformation.
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 if (transformer.currentTemplateRuleIsNull())
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH);  //"xsl:apply-imports not allowed in a xsl:for-each");
 }
 int sourceNode = transformer.getXPathContext().getCurrentNode();
 if (DTM.NULL != sourceNode)
 {
  // supply the current templated (matched, not named)        
  ElemTemplate matchTemplate = transformer.getMatchedTemplate();
  transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
 }
 else  // if(null == sourceNode)
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NULL_SOURCENODE_APPLYIMPORTS);  //"sourceNode is null in xsl:apply-imports!");
 }
}
origin: robovm/robovm

transformer.getMsgMgr().warn(
 this, XSLTErrorResources.WG_ILLEGAL_ATTRIBUTE_VALUE,
 new Object[]{ Constants.ATTRNAME_NAME, nodeName });
 if (null == nodeNamespace || 
   (prefix != null && prefix.length()>0 && nodeNamespace.length()== 0) )
  transformer.getMsgMgr().error(
    this, XSLTErrorResources.ER_NULL_URI_NAMESPACE);
 else
  else if (null == nodeNamespace)
   transformer.getMsgMgr().warn(
    this, XSLTErrorResources.WG_COULD_NOT_RESOLVE_PREFIX,
    new Object[]{ prefix });
  transformer.getMsgMgr().warn(
   this, XSLTErrorResources.WG_COULD_NOT_RESOLVE_PREFIX,
   new Object[]{ prefix });
origin: robovm/robovm

(digitGroupSepValue.length() != 1))
  transformer.getMsgMgr().warn(
    this, XSLTErrorResources.WG_ILLEGAL_ATTRIBUTE_VALUE,
    new Object[]{ Constants.ATTRNAME_NAME, m_groupingSeparator_avt.getName()});   
origin: robovm/robovm

 /**
  * Send a message to diagnostics.
  * The xsl:message instruction sends a message in a way that
  * is dependent on the XSLT transformer. The content of the xsl:message
  * instruction is a template. The xsl:message is instantiated by
  * instantiating the content to create an XML fragment. This XML
  * fragment is the content of the message.
  *
  * @param transformer non-null reference to the the current transform-time state.
  *
  * @throws TransformerException
  */
 public void execute(
     TransformerImpl transformer)
      throws TransformerException
 {

  String data = transformer.transformToString(this);

  transformer.getMsgMgr().message(this, data, m_terminate);
  
  if(m_terminate)
   transformer.getErrorListener().fatalError(new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_STYLESHEET_DIRECTED_TERMINATION, null))); //"Stylesheet directed termination"));
 }
}
origin: robovm/robovm

 transformer.getMsgMgr().warn(
this, XSLTErrorResources.WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
   new Object[]{ Constants.ATTRNAME_NAME, piName });
 transformer.getMsgMgr().warn(
this, XSLTErrorResources.WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
   new Object[]{ Constants.ATTRNAME_NAME, piName });
origin: xalan/xalan

(digitGroupSepValue.length() != 1))
  transformer.getMsgMgr().warn(
    this, XSLTErrorResources.WG_ILLEGAL_ATTRIBUTE_VALUE,
    new Object[]{ Constants.ATTRNAME_NAME, m_groupingSeparator_avt.getName()});   
origin: xalan/xalan

transformer.getMsgMgr().error(this,
transformer.getMsgMgr().error(this,
origin: xalan/xalan

 transformer.getMsgMgr().warn(
this, XSLTErrorResources.WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
   new Object[]{ Constants.ATTRNAME_NAME, piName });
 transformer.getMsgMgr().warn(
this, XSLTErrorResources.WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
   new Object[]{ Constants.ATTRNAME_NAME, piName });
origin: robovm/robovm

this.m_transformer.getMsgMgr().error      
 (xctxt.getSAXLocator(), XSLTErrorResources.ER_REFERENCING_ITSELF, 
  new Object[]{((ElemVariable)this.object()).getName().getLocalName()}); 
origin: robovm/robovm

transformer.getMsgMgr().error(
 this, XSLTErrorResources.ER_CHOOSE_REQUIRES_WHEN);
origin: xalan/xalan

this.m_transformer.getMsgMgr().error      
 (xctxt.getSAXLocator(), XSLTErrorResources.ER_REFERENCING_ITSELF, 
  new Object[]{((ElemVariable)this.object()).getName().getLocalName()}); 
origin: xalan/xalan

transformer.getMsgMgr().message(this, data, m_terminate);
origin: xalan/xalan

context.getTransformer().getMsgMgr().error(elem, elem, 
                context.getContextNode(), 
                XSLTErrorResources.ER_REDIRECT_COULDNT_GET_FILENAME);
origin: robovm/robovm

transformer.getMsgMgr().error(this, XSLTErrorResources.ER_TEMPLATE_NOT_FOUND,
               new Object[]{ m_templateName });  //"Could not find template named: '"+templateName+"'");
origin: xalan/xalan

transformer.getMsgMgr().error(this, XSLTErrorResources.ER_TEMPLATE_NOT_FOUND,
               new Object[]{ m_templateName });  //"Could not find template named: '"+templateName+"'");
origin: xalan/xalan

transformer.getMsgMgr().error(
 this, XSLTErrorResources.ER_CHOOSE_REQUIRES_WHEN);
org.apache.xalan.transformerTransformerImplgetMsgMgr

Javadoc

Return the message manager.

Popular methods of TransformerImpl

  • executeChildTemplates
    Execute each of the children of a template element.
  • getOutputFormat
    Get the output properties used for the transformation.
  • getOutputPropertyNoDefault
    Get the value of a property, without using the default properties. This can be used to test if a pro
  • getXPathContext
    Get the XPath context associated with this transformer.
  • setContentHandler
    Set the content event handler. NEEDSDOC @param handler
  • <init>
    Construct a TransformerImpl.
  • applyTemplateToNode
    Given an element and mode, find the corresponding template and process the contents.
  • clearParameters
    Reset the parameters to a null list.
  • createSerializationHandler
  • currentFuncResultSeen
    Determines whether an EXSLT func:result instruction has been executed for the currently active EXSLT
  • currentTemplateRuleIsNull
    Tell if the current template rule is null, i.e. if we are directly within an apply-templates. Used f
  • fatalError
  • currentTemplateRuleIsNull,
  • fatalError,
  • getContentHandler,
  • getContextNodeList,
  • getCountersTable,
  • getCurrentElement,
  • getCurrentNode,
  • getCurrentTemplate,
  • getErrorListener

Popular in Java

  • Making http requests using okhttp
  • setRequestProperty (URLConnection)
  • getApplicationContext (Context)
  • setContentView (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Kernel (java.awt.image)
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JFrame (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now