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

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

Best Java code snippets using org.apache.xml.serializer.SerializerBase.characters (Showing top 14 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: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 * Receive notification of character data.
 *
 * @param characters The string of characters to process.
 *
 * @throws org.xml.sax.SAXException
 *
 * @see ExtendedContentHandler#characters(String)
 */
public void characters(String characters) throws SAXException
{
  final int len = characters.length();
  if (len > m_charsBuff.length)
  {
    m_charsBuff = new char[len*2 + 1];             
  }
  characters.getChars(0,len, m_charsBuff, 0);   
  characters(m_charsBuff, 0, len);
}
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Receive notification of character data.
 *
 * @param characters The string of characters to process.
 *
 * @throws org.xml.sax.SAXException
 *
 * @see ExtendedContentHandler#characters(String)
 */
public void characters(String characters) throws SAXException
{
  final int len = characters.length();
  if (len > m_charsBuff.length)
  {
    m_charsBuff = new char[len*2 + 1];             
  }
  characters.getChars(0,len, m_charsBuff, 0);   
  characters(m_charsBuff, 0, len);
}
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: 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: 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: 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: org.apache.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: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * 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.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * 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: FlexoVM/flexovm

/**
 * 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);
  }
}

org.apache.xml.serializerSerializerBasecharacters

Javadoc

This method gets the nodes value as a String and uses that String as if it were an input character notification.

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
  • 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
  • fireEndElem
    To fire off the end element trace event
  • fireCommentEvent,
  • fireEndElem,
  • fireEndEntity,
  • fireEntityReference,
  • fireStartDoc,
  • fireStartElem,
  • flushMyWriter,
  • flushPending,
  • getElementURI

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Github Copilot alternatives
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