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

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

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

origin: robovm/robovm

/**
 * Receive notification of the beginning of a document.
 * This method is never a self generated call, 
 * but only called externally.
 *
 * <p>The SAX parser will invoke this method only once, before any
 * other methods in this interface or in DTDHandler (except for
 * setDocumentLocator).</p>
 *
 * @throws org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 *
 * @throws org.xml.sax.SAXException
 */
public void startDocument() throws org.xml.sax.SAXException
{
  // if we do get called with startDocument(), handle it right away       
  startDocumentInternal();
  m_needToCallStartDocument = false;
  return;
}   

origin: robovm/robovm

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 * Receive notification of the beginning of a document.
 *
 * <p>The SAX parser will invoke this method only once, before any
 * other methods in this interface or in DTDHandler (except for
 * setDocumentLocator).</p>
 *
 * @throws org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 *
 * @throws org.xml.sax.SAXException
 */
protected void startDocumentInternal() throws org.xml.sax.SAXException
{
 super.startDocumentInternal();
 m_needToCallStartDocument = false;
 // No action for the moment.
}
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Receive notification of the beginning of a document.
 *
 * <p>The SAX parser will invoke this method only once, before any
 * other methods in this interface or in DTDHandler (except for
 * setDocumentLocator).</p>
 *
 * @throws org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 *
 * @throws org.xml.sax.SAXException
 */
protected void startDocumentInternal() throws org.xml.sax.SAXException
{
 super.startDocumentInternal();
 m_needToCallStartDocument = false;
 // No action for the moment.
}
origin: MobiVM/robovm

/**
 * Receive notification of the beginning of a document.
 * This method is never a self generated call, 
 * but only called externally.
 *
 * <p>The SAX parser will invoke this method only once, before any
 * other methods in this interface or in DTDHandler (except for
 * setDocumentLocator).</p>
 *
 * @throws org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 *
 * @throws org.xml.sax.SAXException
 */
public void startDocument() throws org.xml.sax.SAXException
{
  // if we do get called with startDocument(), handle it right away       
  startDocumentInternal();
  m_needToCallStartDocument = false;
  return;
}   

origin: ibinti/bugvm

/**
 * Receive notification of the beginning of a document.
 * This method is never a self generated call, 
 * but only called externally.
 *
 * <p>The SAX parser will invoke this method only once, before any
 * other methods in this interface or in DTDHandler (except for
 * setDocumentLocator).</p>
 *
 * @throws org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 *
 * @throws org.xml.sax.SAXException
 */
public void startDocument() throws org.xml.sax.SAXException
{
  // if we do get called with startDocument(), handle it right away       
  startDocumentInternal();
  m_needToCallStartDocument = false;
  return;
}   

origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Receive notification of the beginning of a document.
 * This method is never a self generated call, 
 * but only called externally.
 *
 * <p>The SAX parser will invoke this method only once, before any
 * other methods in this interface or in DTDHandler (except for
 * setDocumentLocator).</p>
 *
 * @throws org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 *
 * @throws org.xml.sax.SAXException
 */
public void startDocument() throws org.xml.sax.SAXException
{
  // if we do get called with startDocument(), handle it right away       
  startDocumentInternal();
  m_needToCallStartDocument = false;
  return;
}   
 
origin: MobiVM/robovm

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: ibinti/bugvm

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: xalan/serializer

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: org.apache.xalan/serializer

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: com.bugvm/bugvm-rt

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: com.gluonhq/robovm-rt

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: FlexoVM/flexovm

/**
 * Pass callback to the SAX Handler
 */
protected void startDocumentInternal() throws SAXException
{
  if (m_needToCallStartDocument)  
  {
    super.startDocumentInternal();
    m_saxHandler.startDocument();
    m_needToCallStartDocument = false;
  }
}
/**
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Receive notification of the beginning of a document.
 *
 * @throws org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 *
 * @throws org.xml.sax.SAXException
 */
protected void startDocumentInternal() throws org.xml.sax.SAXException
{
  super.startDocumentInternal();
  m_needToCallStartDocument = false; 
  m_needToOutputDocTypeDecl = true;
  m_startNewLine = false;
  setOmitXMLDeclaration(true);
}
origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 * Receive notification of the beginning of a document.
 *
 * @throws org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 *
 * @throws org.xml.sax.SAXException
 */
protected void startDocumentInternal() throws org.xml.sax.SAXException
{
  super.startDocumentInternal();
  m_needToCallStartDocument = false; 
  m_needToOutputDocTypeDecl = true;
  m_startNewLine = false;
  setOmitXMLDeclaration(true);
}
org.apache.xml.serializerSerializerBasestartDocumentInternal

Javadoc

This method handles what needs to be done at a startDocument() call, whether from an external caller, or internally called in the serializer. For historical reasons the serializer is flexible to startDocument() not always being called. Even if no external call is made into startDocument() this method will always be called as a self generated internal startDocument, it handles what needs to be done at a startDocument() call. This method exists just to make sure that startDocument() is only ever called from an external caller, which in principle is just a matter of style.

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

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • 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
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JButton (javax.swing)
  • JTable (javax.swing)
  • CodeWhisperer 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