Package com.microstrategy.utils.xml
Class TransformerParameters
- java.lang.Object
-
- com.microstrategy.utils.xml.TransformerParameters
-
public class TransformerParameters extends java.lang.Object
This class is used to pass all parameters expected by the transform method.- Since:
- 11.3.1
-
-
Constructor Summary
Constructors Constructor Description TransformerParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEncoding()
Returns the preferred character encoding that the Transformer should useint
getIndentAmount()
Returns the indent amountjava.lang.String
getSystemId()
Returns the system id of the XMLboolean
isOmitDeclaration()
Indicates whether to omit the XML declarationvoid
setEncoding(java.lang.String encoding)
Specifies the preferred character encoding that the Transformer should use to encode sequences of characters as sequences of bytes.void
setIndentAmount(int indentAmount)
Specifies the indent amountvoid
setOmitDeclaration(boolean omitDeclaration)
Specifies whether the XSLT processor should output an XML declaration; the value must beyes
orno
.void
setSystemId(java.lang.String systemId)
Specifies the system id of the XML.
-
-
-
Method Detail
-
isOmitDeclaration
public boolean isOmitDeclaration()
Indicates whether to omit the XML declaration- Returns:
- The value of whether to omit the XML declaration.
-
setOmitDeclaration
public void setOmitDeclaration(boolean omitDeclaration)
Specifies whether the XSLT processor should output an XML declaration; the value must beyes
orno
.- Parameters:
omitDeclaration
-yes
orno
-
getIndentAmount
public int getIndentAmount()
Returns the indent amount- Returns:
- indent amount
-
setIndentAmount
public void setIndentAmount(int indentAmount)
Specifies the indent amount- Parameters:
indentAmount
- The indent amount
-
getEncoding
public java.lang.String getEncoding()
Returns the preferred character encoding that the Transformer should use- Returns:
- The encoding
-
setEncoding
public void setEncoding(java.lang.String encoding)
Specifies the preferred character encoding that the Transformer should use to encode sequences of characters as sequences of bytes.- See Also:
for details.
-
getSystemId
public java.lang.String getSystemId()
Returns the system id of the XML- Returns:
- The system id
-
setSystemId
public void setSystemId(java.lang.String systemId)
Specifies the system id of the XML.- Parameters:
systemId
-
-
-