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

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

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

origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Report the start of DTD declarations, if any.
 *
 * Any declarations are assumed to be in the internal subset unless
 * otherwise indicated.
 * 
 * @param name The document type name.
 * @param publicId The declared public identifier for the
 *        external DTD subset, or null if none was declared.
 * @param systemId The declared system identifier for the
 *        external DTD subset, or null if none was declared.
 * @throws org.xml.sax.SAXException The application may raise an
 *            exception.
 * @see #endDTD
 * @see #startEntity
 */
public void startDTD(String name, String publicId, String systemId)
  throws org.xml.sax.SAXException
{
  setDoctypeSystem(systemId);
  setDoctypePublic(publicId);
  m_elemContext.m_elementName = name;
  m_inDoctype = true;
}
origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 * Report the start of DTD declarations, if any.
 *
 * Any declarations are assumed to be in the internal subset unless
 * otherwise indicated.
 * 
 * @param name The document type name.
 * @param publicId The declared public identifier for the
 *        external DTD subset, or null if none was declared.
 * @param systemId The declared system identifier for the
 *        external DTD subset, or null if none was declared.
 * @throws org.xml.sax.SAXException The application may raise an
 *            exception.
 * @see #endDTD
 * @see #startEntity
 */
public void startDTD(String name, String publicId, String systemId)
  throws org.xml.sax.SAXException
{
  setDoctypeSystem(systemId);
  setDoctypePublic(publicId);
  m_elemContext.m_elementName = name;
  m_inDoctype = true;
}
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.serializerSerializerBasesetDoctypeSystem

Javadoc

Set the value coming from the xsl:output doctype-system stylesheet attribute.

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

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • getSharedPreferences (Context)
  • requestLocationUpdates (LocationManager)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • JButton (javax.swing)
  • JLabel (javax.swing)
  • Top 12 Jupyter Notebook extensions
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