congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ToUnknownStream.flush
Code IndexAdd Tabnine to your IDE (free)

How to use
flush
method
in
org.apache.xml.serializer.ToUnknownStream

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

origin: robovm/robovm

/**
 * Pass the call on to the underlying handler
 * @see ExtendedContentHandler#endElement(String)
 */
public void endElement(String elementName) throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.endElement(elementName);
}
origin: robovm/robovm

/**
 * Pass the call on to the underlying handler
 * @see org.xml.sax.ContentHandler#endDocument()
 */
public void endDocument() throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.endDocument();
  

}
origin: robovm/robovm

/**
 * Pass the call on to the underlying handler
 * @see org.xml.sax.ext.LexicalHandler#comment(char[], int, int)
 */
public void comment(char[] ch, int start, int length) throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.comment(ch, start, length);
}
origin: robovm/robovm

/**
 * Adds a unique attribute to the currenly open tag
 */
public void addUniqueAttribute(String rawName, String value, int flags)
  throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.addUniqueAttribute(rawName, value, flags);
}
origin: robovm/robovm

/**
 * @see SerializationHandler#flushPending()
 */
public void flushPending() throws SAXException
{
  flush();
 
  m_handler.flushPending();
}

origin: robovm/robovm

/**
 * Pass the call on to the underlying handler
 * @see org.xml.sax.ext.DeclHandler#internalEntityDecl(String, String)
 */
public void internalEntityDecl(String arg0, String arg1)
  throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.internalEntityDecl(arg0, arg1);
}
origin: robovm/robovm

/**
 * Pass the call on to the underlying handler
 * @see org.xml.sax.ContentHandler#processingInstruction(String, String)
 */
public void processingInstruction(String target, String data)
  throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.processingInstruction(target, data);
}
origin: robovm/robovm

/**
 * Pass the call on to the underlying handler
 * @see org.xml.sax.ContentHandler#characters(char[], int, int)
 */
public void characters(char[] characters, int offset, int length)
  throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.characters(characters, offset, length);
}
origin: robovm/robovm

/**
 * Pass the call on to the underlying handler
 * @see org.xml.sax.ContentHandler#ignorableWhitespace(char[], int, int)
 */
public void ignorableWhitespace(char[] ch, int start, int length)
  throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.ignorableWhitespace(ch, start, length);
}
origin: robovm/robovm

/**
 * Converts the DOM node to output
 * @param node the DOM node to transform to output
 * @see DOMSerializer#serialize(Node)
 *
 */
public void serialize(Node node) throws IOException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.serialize(node);
}
origin: robovm/robovm

/**
 * Adds an attribute to the currenly open tag
 * @param rawName the attribute name, with prefix (if any)
 * @param value the value of the parameter
 * @see ExtendedContentHandler#addAttribute(String, String)
 */
public void addAttribute(String rawName, String value)
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.addAttribute(rawName, value);
}
origin: robovm/robovm

/**
 * Pass the call on to the underlying handler
 * @see org.xml.sax.ext.DeclHandler#externalEntityDecl(String, String, String)
 */
public void externalEntityDecl(
  String name,
  String publicId,
  String systemId)
  throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.externalEntityDecl(name, publicId, systemId);
}
origin: robovm/robovm

/**
 * Pass the call on to the underlying handler
 * @see org.xml.sax.ContentHandler#endElement(String, String, String)
 */
public void endElement(String namespaceURI, String localName, String qName)
  throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
    if (namespaceURI == null && m_firstElementURI != null)
      namespaceURI = m_firstElementURI;
    if (localName == null && m_firstElementLocalName != null)
      localName = m_firstElementLocalName;
  }
  
  m_handler.endElement(namespaceURI, localName, qName);
}
origin: robovm/robovm

flush();
pushed = m_handler.startPrefixMapping(prefix, uri, shouldFlush);
origin: robovm/robovm

flush();
origin: robovm/robovm

flush();
m_handler.startElement(namespaceURI, localName, elementName,  atts);                
  flush();
origin: MobiVM/robovm

/**
 * Pass the call on to the underlying handler
 * @see ExtendedContentHandler#endElement(String)
 */
public void endElement(String elementName) throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.endElement(elementName);
}
origin: MobiVM/robovm

/**
 * Pass the call on to the underlying handler
 * @see org.xml.sax.ext.LexicalHandler#comment(char[], int, int)
 */
public void comment(char[] ch, int start, int length) throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.comment(ch, start, length);
}
origin: xalan/serializer

/**
 * Adds a unique attribute to the currenly open tag
 */
public void addUniqueAttribute(String rawName, String value, int flags)
  throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.addUniqueAttribute(rawName, value, flags);
}
origin: ibinti/bugvm

/**
 * Pass the call on to the underlying handler
 * @see ExtendedContentHandler#endElement(String)
 */
public void endElement(String elementName) throws SAXException
{
  if (m_firstTagNotEmitted)
  {
    flush();
  }
  m_handler.endElement(elementName);
}
org.apache.xml.serializerToUnknownStreamflush

Popular methods of ToUnknownStream

  • characters
    Pass the call on to the underlying handler
  • emitFirstTag
  • firePseudoElement
  • getLocalNameUnknown
    Utility function for calls to local-name(). Don't want to override static function on SerializerBase
  • getPrefixPartUnknown
    Utility function to return prefix Don't want to override static function on SerializerBase So added
  • initStreamOutput
    Initialize the wrapped output stream (XML or HTML). If the stream handler should be HTML, then repla
  • isFirstElemHTML
    Determine if the firts element in the document is or This uses the cached first element name, first
  • startElement
  • startPrefixMapping
  • getPrefixPart
  • <init>
    Default constructor. Initially this object wraps an XML Stream object, so _handler is never null. Th
  • <init>

Popular in Java

  • Reading from database using SQL prepared statement
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • Kernel (java.awt.image)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Top Vim plugins
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