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

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

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

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

/**
 * Copy properties from another SerializerToXML.
 *
 * @param xmlListener non-null reference to a SerializerToXML object.
 */
public void CopyFrom(ToXMLStream xmlListener)
{
  setWriter(xmlListener.m_writer);
  // m_outputStream = xmlListener.m_outputStream;
  String encoding = xmlListener.getEncoding();
  setEncoding(encoding);
  setOmitXMLDeclaration(xmlListener.getOmitXMLDeclaration());
  m_ispreserve = xmlListener.m_ispreserve;
  m_preserves = xmlListener.m_preserves;
  m_isprevtext = xmlListener.m_isprevtext;
  m_doIndent = xmlListener.m_doIndent;
  setIndentAmount(xmlListener.getIndentAmount());
  m_startNewLine = xmlListener.m_startNewLine;
  m_needToOutputDocTypeDecl = xmlListener.m_needToOutputDocTypeDecl;
  setDoctypeSystem(xmlListener.getDoctypeSystem());
  setDoctypePublic(xmlListener.getDoctypePublic());        
  setStandalone(xmlListener.getStandalone());
  setMediaType(xmlListener.getMediaType());
  m_encodingInfo = xmlListener.m_encodingInfo;
  m_spaceBeforeClose = xmlListener.m_spaceBeforeClose;
  m_cdataStartCalled = xmlListener.m_cdataStartCalled;
}
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Copy properties from another SerializerToXML.
 *
 * @param xmlListener non-null reference to a SerializerToXML object.
 */
public void CopyFrom(ToXMLStream xmlListener)
{
  setWriter(xmlListener.m_writer);
  // m_outputStream = xmlListener.m_outputStream;
  String encoding = xmlListener.getEncoding();
  setEncoding(encoding);
  setOmitXMLDeclaration(xmlListener.getOmitXMLDeclaration());
  m_ispreserve = xmlListener.m_ispreserve;
  m_preserves = xmlListener.m_preserves;
  m_isprevtext = xmlListener.m_isprevtext;
  m_doIndent = xmlListener.m_doIndent;
  setIndentAmount(xmlListener.getIndentAmount());
  m_startNewLine = xmlListener.m_startNewLine;
  m_needToOutputDocTypeDecl = xmlListener.m_needToOutputDocTypeDecl;
  setDoctypeSystem(xmlListener.getDoctypeSystem());
  setDoctypePublic(xmlListener.getDoctypePublic());        
  setStandalone(xmlListener.getStandalone());
  setMediaType(xmlListener.getMediaType());
  m_encodingInfo = xmlListener.m_encodingInfo;
  m_spaceBeforeClose = xmlListener.m_spaceBeforeClose;
  m_cdataStartCalled = xmlListener.m_cdataStartCalled;
}
org.apache.xml.serializerSerializerBasegetMediaType

Javadoc

Gets the mediatype the media-type or MIME type associated with the output document.

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)
  • Top Sublime Text 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