public static class PrettyPrintOptions.Local extends PrettyPrintOptions
PrettyPrintOptions.Global, PrettyPrintOptions.Local
Constructor and Description |
---|
Local(PrettyPrintOptions options,
Namespace scope) |
Modifier and Type | Method and Description |
---|---|
void |
addReservedNames(Iterable<String> names) |
void |
addRestrictedNames(Iterable<String> names) |
PrettyPrintOptions.Global |
getGlobalOptions() |
Set<String> |
getReservedNames() |
Set<String> |
getRestrictedNames() |
boolean |
isShowDefaultMultiplicities() |
void |
setShowDefaultMultiplicities(boolean showDefaultMultiplicities) |
getAlias, getBaseURI, getEnvironmentFactory, getIndentStep, getLinelength, getScope, setIndentStep, setLinelength
public Local(PrettyPrintOptions options, Namespace scope)
public void addReservedNames(Iterable<String> names)
addReservedNames
in class PrettyPrintOptions
public void addRestrictedNames(Iterable<String> names)
addRestrictedNames
in class PrettyPrintOptions
public PrettyPrintOptions.Global getGlobalOptions()
getGlobalOptions
in class PrettyPrintOptions
public Set<String> getReservedNames()
getReservedNames
in class PrettyPrintOptions
public Set<String> getRestrictedNames()
getRestrictedNames
in class PrettyPrintOptions
public boolean isShowDefaultMultiplicities()
isShowDefaultMultiplicities
in class PrettyPrintOptions
public void setShowDefaultMultiplicities(boolean showDefaultMultiplicities)
setShowDefaultMultiplicities
in class PrettyPrintOptions
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.