public abstract class PrettyPrintOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PrettyPrintOptions.Global
Global PrettyPrintOptions apply regardless of pretty printer nesting.
|
static class |
PrettyPrintOptions.Local
Local PrettyPrintOptions may be overridden in nested pretty printer contexts.
|
Constructor and Description |
---|
PrettyPrintOptions(Namespace scope) |
Modifier and Type | Method and Description |
---|---|
abstract void |
addReservedNames(Iterable<String> names) |
abstract void |
addRestrictedNames(Iterable<String> names) |
String |
getAlias(Namespace namespace)
Return a name to be used when referencing element as the first element in a qualified name.
|
URI |
getBaseURI()
Return a URI against which to deresolve the first element of qualified names that
reference external resources.
|
EnvironmentFactory |
getEnvironmentFactory() |
abstract PrettyPrintOptions.Global |
getGlobalOptions() |
String |
getIndentStep() |
int |
getLinelength() |
abstract Set<String> |
getReservedNames() |
abstract Set<String> |
getRestrictedNames() |
Namespace |
getScope() |
boolean |
isShowDefaultMultiplicities() |
void |
setIndentStep(String indentStep) |
void |
setLinelength(int linelength) |
void |
setShowDefaultMultiplicities(boolean showDefaultMultiplicities) |
public PrettyPrintOptions(Namespace scope)
public String getAlias(Namespace namespace)
public URI getBaseURI()
public EnvironmentFactory getEnvironmentFactory()
public abstract PrettyPrintOptions.Global getGlobalOptions()
public String getIndentStep()
public int getLinelength()
public boolean isShowDefaultMultiplicities()
public Namespace getScope()
public void setIndentStep(String indentStep)
public void setLinelength(int linelength)
public void setShowDefaultMultiplicities(boolean showDefaultMultiplicities)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.