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

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

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

origin: robovm/robovm

/**
 * Sets the value coming from the xsl:output standalone stylesheet attribute.
 * @param standalone a value of "yes" indicates that the
 * <code>standalone</code> delaration is to be included in the output
 * document. This method remembers if the value was explicitly set using
 * this method, verses if the value is the default value.
 */
public void setStandalone(String standalone)
{
  setOutputProperty(OutputKeys.STANDALONE, standalone);
}
/**
origin: robovm/robovm

/** Set the value coming from the xsl:output doctype-system stylesheet attribute.
 * @param doctypeSystem the system identifier to be used in the DOCTYPE
 * declaration in the output document.
 */
public void setDoctypeSystem(String doctypeSystem)
{
  setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, doctypeSystem);
}
origin: robovm/robovm

/**
 * Sets the value coming from the xsl:output version attribute.
 * @param version the version of the output format.
 * @see SerializationHandler#setVersion(String)
 */
public void setVersion(String version)
{
  setOutputProperty(OutputKeys.VERSION, version);
}
origin: robovm/robovm

/**
 * Sets the value coming from the xsl:output indent stylesheet
 * attribute.
 * @param doIndent true if the output document should be indented to
 * visually indicate its structure.
 * @see XSLOutputAttributes#setIndent(boolean)
 */
public void setIndent(boolean doIndent)
{
  String val = doIndent ? "yes":"no";
  setOutputProperty(OutputKeys.INDENT,val);
}
origin: robovm/robovm

/** Set the value coming from the xsl:output doctype-public stylesheet attribute.
 * @param doctypePublic the public identifier to be used in the DOCTYPE
 * declaration in the output document.
 */
public void setDoctypePublic(String doctypePublic)
{
  setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, doctypePublic);
}
origin: robovm/robovm

/**
 * Sets the character encoding coming from the xsl:output encoding stylesheet attribute.
 * @param m_encoding the character encoding
 */
public void setEncoding(String encoding)
{
  setOutputProperty(OutputKeys.ENCODING,encoding);
}
origin: robovm/robovm

/**
 * Sets the value coming from the xsl:output omit-xml-declaration stylesheet attribute
 * @param b true if the XML declaration is to be omitted from the output
 * document.
 */
public void setOmitXMLDeclaration(boolean b)
{
  String val = b ? "yes":"no";
  setOutputProperty(OutputKeys.OMIT_XML_DECLARATION,val);
}
origin: robovm/robovm

/**
 * Sets the value coming from the xsl:output media-type stylesheet attribute.
 * @param mediaType the non-null media-type or MIME type associated with the
 * output document.
 * @see javax.xml.transform.OutputKeys#MEDIA_TYPE
 * @see SerializationHandler#setMediaType(String)
 */
public void setMediaType(String mediaType)
{
  setOutputProperty(OutputKeys.MEDIA_TYPE,mediaType);
}
origin: robovm/robovm

/** Set the value coming from the xsl:output doctype-public and doctype-system stylesheet properties
 * @param doctypeSystem the system identifier to be used in the DOCTYPE
 * declaration in the output document.
 * @param doctypePublic the public identifier to be used in the DOCTYPE
 * declaration in the output document.
 */
public void setDoctype(String doctypeSystem, String doctypePublic)
{
  setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, doctypeSystem);
  setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, doctypePublic);
}
origin: MobiVM/robovm

/**
 * Sets the value coming from the xsl:output version attribute.
 * @param version the version of the output format.
 * @see SerializationHandler#setVersion(String)
 */
public void setVersion(String version)
{
  setOutputProperty(OutputKeys.VERSION, version);
}
origin: ibinti/bugvm

/** Set the value coming from the xsl:output doctype-system stylesheet attribute.
 * @param doctypeSystem the system identifier to be used in the DOCTYPE
 * declaration in the output document.
 */
public void setDoctypeSystem(String doctypeSystem)
{
  setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, doctypeSystem);
}
origin: xalan/serializer

/**
 * Sets the value coming from the xsl:output standalone stylesheet attribute.
 * @param standalone a value of "yes" indicates that the
 * <code>standalone</code> delaration is to be included in the output
 * document. This method remembers if the value was explicitly set using
 * this method, verses if the value is the default value.
 */
public void setStandalone(String standalone)
{
  setOutputProperty(OutputKeys.STANDALONE, standalone);
}
/**
origin: MobiVM/robovm

/** Set the value coming from the xsl:output doctype-system stylesheet attribute.
 * @param doctypeSystem the system identifier to be used in the DOCTYPE
 * declaration in the output document.
 */
public void setDoctypeSystem(String doctypeSystem)
{
  setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, doctypeSystem);
}
origin: MobiVM/robovm

/**
 * Sets the value coming from the xsl:output media-type stylesheet attribute.
 * @param mediaType the non-null media-type or MIME type associated with the
 * output document.
 * @see javax.xml.transform.OutputKeys#MEDIA_TYPE
 * @see SerializationHandler#setMediaType(String)
 */
public void setMediaType(String mediaType)
{
  setOutputProperty(OutputKeys.MEDIA_TYPE,mediaType);
}
origin: MobiVM/robovm

/**
 * Sets the value coming from the xsl:output indent stylesheet
 * attribute.
 * @param doIndent true if the output document should be indented to
 * visually indicate its structure.
 * @see XSLOutputAttributes#setIndent(boolean)
 */
public void setIndent(boolean doIndent)
{
  String val = doIndent ? "yes":"no";
  setOutputProperty(OutputKeys.INDENT,val);
}
origin: ibinti/bugvm

/**
 * Sets the character encoding coming from the xsl:output encoding stylesheet attribute.
 * @param m_encoding the character encoding
 */
public void setEncoding(String encoding)
{
  setOutputProperty(OutputKeys.ENCODING,encoding);
}
origin: ibinti/bugvm

/**
 * Sets the value coming from the xsl:output omit-xml-declaration stylesheet attribute
 * @param b true if the XML declaration is to be omitted from the output
 * document.
 */
public void setOmitXMLDeclaration(boolean b)
{
  String val = b ? "yes":"no";
  setOutputProperty(OutputKeys.OMIT_XML_DECLARATION,val);
}
origin: ibinti/bugvm

/** Set the value coming from the xsl:output doctype-public and doctype-system stylesheet properties
 * @param doctypeSystem the system identifier to be used in the DOCTYPE
 * declaration in the output document.
 * @param doctypePublic the public identifier to be used in the DOCTYPE
 * declaration in the output document.
 */
public void setDoctype(String doctypeSystem, String doctypePublic)
{
  setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, doctypeSystem);
  setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, doctypePublic);
}
origin: ibinti/bugvm

/**
 * Sets the value coming from the xsl:output standalone stylesheet attribute.
 * @param standalone a value of "yes" indicates that the
 * <code>standalone</code> delaration is to be included in the output
 * document. This method remembers if the value was explicitly set using
 * this method, verses if the value is the default value.
 */
public void setStandalone(String standalone)
{
  setOutputProperty(OutputKeys.STANDALONE, standalone);
}
/**
origin: ibinti/bugvm

/**
 * Sets the value coming from the xsl:output version attribute.
 * @param version the version of the output format.
 * @see SerializationHandler#setVersion(String)
 */
public void setVersion(String version)
{
  setOutputProperty(OutputKeys.VERSION, version);
}
org.apache.xml.serializerSerializerBasesetOutputProperty

Javadoc

Set the value for the output property, typically from an xsl:output element, but this does not change what the default value is.

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

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • JFrame (javax.swing)
  • JTextField (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 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