Package org.semanticweb.owlapi.model
Class OWLOntologyWriterConfiguration
java.lang.Object
org.semanticweb.owlapi.model.OWLOntologyWriterConfiguration
- All Implemented Interfaces:
Serializable
A configuration object that specifies options for output.
- Since:
- 5.0.0
- Author:
- Ignazio
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
boolean
boolean
boolean
boolean
boolean
withBannersEnabled
(boolean banners) withIndenting
(boolean indent) withIndentSize
(int indent) withLabelsAsBanner
(boolean label) withNamedGraphIRIEnabled
(boolean label) withRemapAllAnonymousIndividualsIds
(boolean b) withSaveIdsForAllAnonymousIndividuals
(boolean b) withUseNamespaceEntities
(boolean useEntities)
-
Constructor Details
-
OWLOntologyWriterConfiguration
public OWLOntologyWriterConfiguration()
-
-
Method Details
-
shouldUseBanners
public boolean shouldUseBanners()- Returns:
- should output banners
-
shouldSaveIdsForAllAnonymousIndividuals
public boolean shouldSaveIdsForAllAnonymousIndividuals()- Returns:
- true if all anonymous individuals should have their ids persisted
-
shouldRemapAllAnonymousIndividualsIds
public boolean shouldRemapAllAnonymousIndividualsIds()- Returns:
- true if all anonymous individuals should have their ids remapped upon reading
-
isUseNamespaceEntities
public boolean isUseNamespaceEntities()- Returns:
- use namespace entities
-
isIndenting
public boolean isIndenting()- Returns:
- indenting
-
getIndentSize
public int getIndentSize()- Returns:
- indent size
-
isLabelsAsBanner
public boolean isLabelsAsBanner()- Returns:
- true if labels should be used for banner comments
-
withBannersEnabled
- Parameters:
banners
- True if banner comments should be enabled.- Returns:
- new config object
-
withSaveIdsForAllAnonymousIndividuals
- Parameters:
b
- true if all anonymous individuals should have their ids persisted- Returns:
- new config object
-
withRemapAllAnonymousIndividualsIds
- Parameters:
b
- true if all anonymous individuals should have their ids remapped after parsing- Returns:
- new config object
-
withUseNamespaceEntities
- Parameters:
useEntities
- true if namespace entities should be used- Returns:
- new config object
-
withIndenting
- Parameters:
indent
- indent- Returns:
- new config object
-
withIndentSize
- Parameters:
indent
- indent size- Returns:
- new config object
-
withLabelsAsBanner
- Parameters:
label
- true if labels should be used for banner comments- Returns:
- new config object
-
withNamedGraphIRIEnabled
- Parameters:
label
- True if named graph IRIs comments should be enabled.- Returns:
- new config object
-
shouldOutputNamedGraphIRI
public boolean shouldOutputNamedGraphIRI()- Returns:
- should output named graph IRIs
-