Class ConverterTextType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.ConverterTextType
-
public class ConverterTextType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p383362_="https://jakarta.ee/xml/ns/jaxb" xmlns:p837822_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The settings are used in purely text-based files that can contain source code that would make syntax highlighting advisable. If you configure this element, the system will attempt, during conversion, to detect whether and in which programming/script language content is stored. Based on the result, it will then determine the type of highlighting (in the generated PDF document) is required. SyntaxHighlighter and TextHighlighter are specified alternately. If the syntax highlighter is unable to determine whether the contents belong to any language it knows, the text highlighter will be used instead for formatting. </p>Java class for ConverterTextType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConverterTextType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="syntaxHighlight" type="{http://schema.webpdf.de/1.0/operation}SyntaxHighlightType" minOccurs="0"/> <element name="textHighlight" type="{http://schema.webpdf.de/1.0/operation}TextHighlightType" minOccurs="0"/> </all> <attribute name="useSyntaxDetection" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected SyntaxHighlightTypesyntaxHighlightprotected TextHighlightTypetextHighlightprotected BooleanuseSyntaxDetection
-
Constructor Summary
Constructors Constructor Description ConverterTextType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyntaxHighlightTypegetSyntaxHighlight()Gets the value of the syntaxHighlight property.TextHighlightTypegetTextHighlight()Gets the value of the textHighlight property.booleanisSetSyntaxHighlight()booleanisSetTextHighlight()booleanisSetUseSyntaxDetection()booleanisUseSyntaxDetection()Gets the value of the useSyntaxDetection property.voidsetSyntaxHighlight(SyntaxHighlightType value)Sets the value of the syntaxHighlight property.voidsetTextHighlight(TextHighlightType value)Sets the value of the textHighlight property.voidsetUseSyntaxDetection(boolean value)Sets the value of the useSyntaxDetection property.voidunsetUseSyntaxDetection()
-
-
-
Field Detail
-
syntaxHighlight
protected SyntaxHighlightType syntaxHighlight
-
textHighlight
protected TextHighlightType textHighlight
-
useSyntaxDetection
protected Boolean useSyntaxDetection
-
-
Method Detail
-
getSyntaxHighlight
public SyntaxHighlightType getSyntaxHighlight()
Gets the value of the syntaxHighlight property.- Returns:
- possible object is
SyntaxHighlightType
-
setSyntaxHighlight
public void setSyntaxHighlight(SyntaxHighlightType value)
Sets the value of the syntaxHighlight property.- Parameters:
value- allowed object isSyntaxHighlightType
-
isSetSyntaxHighlight
public boolean isSetSyntaxHighlight()
-
getTextHighlight
public TextHighlightType getTextHighlight()
Gets the value of the textHighlight property.- Returns:
- possible object is
TextHighlightType
-
setTextHighlight
public void setTextHighlight(TextHighlightType value)
Sets the value of the textHighlight property.- Parameters:
value- allowed object isTextHighlightType
-
isSetTextHighlight
public boolean isSetTextHighlight()
-
isUseSyntaxDetection
public boolean isUseSyntaxDetection()
Gets the value of the useSyntaxDetection property.- Returns:
- possible object is
Boolean
-
setUseSyntaxDetection
public void setUseSyntaxDetection(boolean value)
Sets the value of the useSyntaxDetection property.- Parameters:
value- allowed object isBoolean
-
isSetUseSyntaxDetection
public boolean isSetUseSyntaxDetection()
-
unsetUseSyntaxDetection
public void unsetUseSyntaxDetection()
-
-