Tabnine Logo
SerializerBase.flushMyWriter
Code IndexAdd Tabnine to your IDE (free)

How to use
flushMyWriter
method
in
org.apache.xml.serializer.SerializerBase

Best Java code snippets using org.apache.xml.serializer.SerializerBase.flushMyWriter (Showing top 20 results out of 315)

origin: robovm/robovm

/**
 * To fire off end entity trace event
 * @param name Name of entity
 */
public void fireEndEntity(String name)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
    flushMyWriter();
  // we do not need to handle this.
}    
origin: robovm/robovm

/**
 * To fire off end document trace event
 */
protected void fireEndDoc()
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_ENDDOCUMENT);
  }                     
}    

origin: robovm/robovm

/**
 * To fire off start document trace  event
 */
 protected void fireStartDoc()
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_STARTDOCUMENT);
  }             
}    
origin: robovm/robovm

/**
 * To fire off the entity reference trace event
 * @param name Name of entity reference
 */
protected void fireEntityReference(String name)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_ENTITYREF,name, (Attributes)null);
  }                             
}    
origin: robovm/robovm

/**
 * To fire off the end element trace event
 * @param name Name of element
 */
protected void fireEndElem(String name)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_ENDELEMENT,name, (Attributes)null);
  }                             
}
origin: robovm/robovm

/**
 * To fire off start entity trace event
 * @param name Name of entity
 */
protected void fireStartEntity(String name)
  throws org.xml.sax.SAXException
{        
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_ENTITYREF, name);
  }                             
}
origin: robovm/robovm

/**
 * To fire off the PI trace event
 * @param name Name of PI
 */
protected void fireEscapingEvent(String name, String data)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_PI,name, data);
  }                             
}    
origin: robovm/robovm

/**
 * Report the CDATA trace event
 * @param chars  content of CDATA
 * @param start  starting index of characters to output
 * @param length  number of characters to output
 */
protected void fireCDATAEvent(char[] chars, int start, int length)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_CDATA, chars, start,length);
  }                             
}
origin: robovm/robovm

/**
 * Report the characters trace event
 * @param chars  content of characters
 * @param start  starting index of characters to output
 * @param length  number of characters to output
 */
protected void fireCharEvent(char[] chars, int start, int length)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_CHARACTERS, chars, start,length);
  }                             
}
origin: robovm/robovm

/**
 * Report the comment trace event
 * @param chars  content of comment
 * @param start  starting index of comment to output
 * @param length  number of characters to output
 */
protected void fireCommentEvent(char[] chars, int start, int length)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_COMMENT, new String(chars, start, length));
  }                             
}
origin: robovm/robovm

/**
 * Report the start element trace event. This trace method needs to be
 * called just before the attributes are cleared.
 * 
 * @param elemName the qualified name of the element
 * 
 */
protected void fireStartElem(String elemName)
  throws org.xml.sax.SAXException
{        
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_STARTELEMENT,
      elemName, m_attributes);          
  }           
}    
origin: ibinti/bugvm

/**
 * To fire off end entity trace event
 * @param name Name of entity
 */
public void fireEndEntity(String name)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
    flushMyWriter();
  // we do not need to handle this.
}    
origin: xalan/serializer

/**
 * To fire off end entity trace event
 * @param name Name of entity
 */
public void fireEndEntity(String name)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
    flushMyWriter();
  // we do not need to handle this.
}    
origin: MobiVM/robovm

/**
 * To fire off end entity trace event
 * @param name Name of entity
 */
public void fireEndEntity(String name)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
    flushMyWriter();
  // we do not need to handle this.
}    
origin: com.mobidevelop.robovm/robovm-rt

/**
 * To fire off end entity trace event
 * @param name Name of entity
 */
public void fireEndEntity(String name)
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
    flushMyWriter();
  // we do not need to handle this.
}    
origin: MobiVM/robovm

/**
 * To fire off start document trace  event
 */
 protected void fireStartDoc()
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_STARTDOCUMENT);
  }             
}    
origin: xalan/serializer

/**
 * To fire off start document trace  event
 */
 protected void fireStartDoc()
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_STARTDOCUMENT);
  }             
}    
origin: xalan/serializer

/**
 * To fire off end document trace event
 */
protected void fireEndDoc()
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_ENDDOCUMENT);
  }                     
}    
 
origin: ibinti/bugvm

/**
 * To fire off end document trace event
 */
protected void fireEndDoc()
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_ENDDOCUMENT);
  }                     
}    

origin: MobiVM/robovm

/**
 * To fire off end document trace event
 */
protected void fireEndDoc()
  throws org.xml.sax.SAXException
{
  if (m_tracer != null)
  {
    flushMyWriter();
    m_tracer.fireGenerateEvent(SerializerTrace.EVENTTYPE_ENDDOCUMENT);
  }                     
}    

org.apache.xml.serializerSerializerBaseflushMyWriter

Javadoc

This method is only used internally when flushing the writer from the various fire...() trace events. Due to the writer being wrapped with SerializerTraceWriter it may cause the flush of these trace events: EVENTTYPE_OUTPUT_PSEUDO_CHARACTERS EVENTTYPE_OUTPUT_CHARACTERS which trace the output written to the output stream.

Popular methods of SerializerBase

  • setTransformer
    Sets the transformer associated with this serializer
  • addAttributeAlways
    Adds the given attribute to the set of attributes, even if there is no currently open element. This
  • addAttributes
    Add the given attributes to the currently collected ones. These attributes are always added, regardl
  • addCDATAElement
  • characters
  • comment
  • endEntity
    Report the end of an entity.
  • error
  • fatalError
  • fireCDATAEvent
    Report the CDATA trace event
  • fireCharEvent
    Report the characters trace event
  • fireCommentEvent
    Report the comment trace event
  • fireCharEvent,
  • fireCommentEvent,
  • fireEndElem,
  • fireEndEntity,
  • fireEntityReference,
  • fireStartDoc,
  • fireStartElem,
  • flushPending,
  • getElementURI

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Collectors (java.util.stream)
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • BoxLayout (javax.swing)
  • Top plugins for WebStorm
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