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

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

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

origin: robovm/robovm

/**
 * This method gets the nodes value as a String and uses that String as if
 * it were an input character notification.
 * @param node the Node to serialize
 * @throws org.xml.sax.SAXException
 */
public void characters(org.w3c.dom.Node node)
  throws org.xml.sax.SAXException
{
  flushPending();
  String data = node.getNodeValue();
  if (data != null)
  {
    final int length = data.length();
    if (length > m_charsBuff.length)
    {
      m_charsBuff = new char[length * 2 + 1];
    }
    data.getChars(0, length, m_charsBuff, 0);
    characters(m_charsBuff, 0, length);
  }
}

origin: robovm/robovm

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: MobiVM/robovm

/**
 * This method gets the nodes value as a String and uses that String as if
 * it were an input character notification.
 * @param node the Node to serialize
 * @throws org.xml.sax.SAXException
 */
public void characters(org.w3c.dom.Node node)
  throws org.xml.sax.SAXException
{
  flushPending();
  String data = node.getNodeValue();
  if (data != null)
  {
    final int length = data.length();
    if (length > m_charsBuff.length)
    {
      m_charsBuff = new char[length * 2 + 1];
    }
    data.getChars(0, length, m_charsBuff, 0);
    characters(m_charsBuff, 0, length);
  }
}

origin: ibinti/bugvm

/**
 * This method gets the nodes value as a String and uses that String as if
 * it were an input character notification.
 * @param node the Node to serialize
 * @throws org.xml.sax.SAXException
 */
public void characters(org.w3c.dom.Node node)
  throws org.xml.sax.SAXException
{
  flushPending();
  String data = node.getNodeValue();
  if (data != null)
  {
    final int length = data.length();
    if (length > m_charsBuff.length)
    {
      m_charsBuff = new char[length * 2 + 1];
    }
    data.getChars(0, length, m_charsBuff, 0);
    characters(m_charsBuff, 0, length);
  }
}

origin: com.mobidevelop.robovm/robovm-rt

/**
 * This method gets the nodes value as a String and uses that String as if
 * it were an input character notification.
 * @param node the Node to serialize
 * @throws org.xml.sax.SAXException
 */
public void characters(org.w3c.dom.Node node)
  throws org.xml.sax.SAXException
{
  flushPending();
  String data = node.getNodeValue();
  if (data != null)
  {
    final int length = data.length();
    if (length > m_charsBuff.length)
    {
      m_charsBuff = new char[length * 2 + 1];
    }
    data.getChars(0, length, m_charsBuff, 0);
    characters(m_charsBuff, 0, length);
  }
}

origin: com.bugvm/bugvm-rt

/**
 * This method gets the nodes value as a String and uses that String as if
 * it were an input character notification.
 * @param node the Node to serialize
 * @throws org.xml.sax.SAXException
 */
public void characters(org.w3c.dom.Node node)
  throws org.xml.sax.SAXException
{
  flushPending();
  String data = node.getNodeValue();
  if (data != null)
  {
    final int length = data.length();
    if (length > m_charsBuff.length)
    {
      m_charsBuff = new char[length * 2 + 1];
    }
    data.getChars(0, length, m_charsBuff, 0);
    characters(m_charsBuff, 0, length);
  }
}

origin: com.gluonhq/robovm-rt

/**
 * This method gets the nodes value as a String and uses that String as if
 * it were an input character notification.
 * @param node the Node to serialize
 * @throws org.xml.sax.SAXException
 */
public void characters(org.w3c.dom.Node node)
  throws org.xml.sax.SAXException
{
  flushPending();
  String data = node.getNodeValue();
  if (data != null)
  {
    final int length = data.length();
    if (length > m_charsBuff.length)
    {
      m_charsBuff = new char[length * 2 + 1];
    }
    data.getChars(0, length, m_charsBuff, 0);
    characters(m_charsBuff, 0, length);
  }
}

origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 * This method gets the nodes value as a String and uses that String as if
 * it were an input character notification.
 * @param node the Node to serialize
 * @throws org.xml.sax.SAXException
 */
public void characters(org.w3c.dom.Node node)
  throws org.xml.sax.SAXException
{
  flushPending();
  String data = node.getNodeValue();
  if (data != null)
  {
    final int length = data.length();
    if (length > m_charsBuff.length)
    {
      m_charsBuff = new char[length * 2 + 1];
    }
    data.getChars(0, length, m_charsBuff, 0);
    characters(m_charsBuff, 0, length);
  }
}
 
origin: xalan/serializer

/**
 * This method gets the nodes value as a String and uses that String as if
 * it were an input character notification.
 * @param node the Node to serialize
 * @throws org.xml.sax.SAXException
 */
public void characters(org.w3c.dom.Node node)
  throws org.xml.sax.SAXException
{
  flushPending();
  String data = node.getNodeValue();
  if (data != null)
  {
    final int length = data.length();
    if (length > m_charsBuff.length)
    {
      m_charsBuff = new char[length * 2 + 1];
    }
    data.getChars(0, length, m_charsBuff, 0);
    characters(m_charsBuff, 0, length);
  }
}
 
origin: MobiVM/robovm

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: ibinti/bugvm

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: com.bugvm/bugvm-rt

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: com.gluonhq/robovm-rt

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: xalan/serializer

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: org.apache.xalan/serializer

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
origin: FlexoVM/flexovm

/**
 * Entity reference event.
 *
 * @param name Name of entity
 *
 * @throws org.xml.sax.SAXException
 */
public void entityReference(String name) throws org.xml.sax.SAXException
{
  flushPending();
  startEntity(name);
  endEntity(name);
  if (m_tracer != null)
    fireEntityReference(name);
}
org.apache.xml.serializerSerializerBaseflushPending

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,
  • flushMyWriter,
  • getElementURI

Popular in Java

  • Running tasks concurrently on multiple threads
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JTable (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