public class XMLPreferences extends Object
Modifier and Type | Field and Description |
---|---|
static QuoteStyle |
DEFAULT_QUOTE_STYLE |
static SchemaDocumentationType |
DEFAULT_SCHEMA_DOCUMENTATION_TYPE |
Constructor and Description |
---|
XMLPreferences() |
Modifier and Type | Method and Description |
---|---|
char |
getQuotationAsChar()
Returns the actual quotation value as a char.
|
String |
getQuotationAsString()
Returns the actual quotation value as a String.
|
QuoteStyle |
getQuoteStyle()
Returns the quote style
|
SchemaDocumentationType |
getShowSchemaDocumentationType()
Returns the showSchemaDocumentationType
|
void |
merge(XMLPreferences newPreferences)
Merges the contents of
newPreferences to the current
XMLPreferences instance |
void |
setQuoteStyle(QuoteStyle quoteStyle)
Sets the quote style
|
void |
setShowSchemaDocumentationType(SchemaDocumentationType showSchemaDocumentationType)
Sets the showSchemaDocumentationType
|
public static final QuoteStyle DEFAULT_QUOTE_STYLE
public static final SchemaDocumentationType DEFAULT_SCHEMA_DOCUMENTATION_TYPE
public char getQuotationAsChar()
'
or "
.
Defaults to "
.public String getQuotationAsString()
'
or "
.
Defaults to "
.public void setQuoteStyle(QuoteStyle quoteStyle)
quoteStyle
- public QuoteStyle getQuoteStyle()
public SchemaDocumentationType getShowSchemaDocumentationType()
public void setShowSchemaDocumentationType(SchemaDocumentationType showSchemaDocumentationType)
showSchemaDocumentationType
- public void merge(XMLPreferences newPreferences)
newPreferences
to the current
XMLPreferences
instancenewPreferences
- Copyright © 2022. All rights reserved.