use of org.whole.lang.operations.IPrettyPrintWriter in project whole by wholeplatform.
the class XsdPrettyPrinterVisitor method visit.
@Override
public void visit(IEntity entity) {
if (Matcher.match(XsdEntityDescriptorEnum.NamespaceDecl, entity)) {
NamespaceDecl nsDecl = (NamespaceDecl) entity;
IPrettyPrintWriter prettyPrintWriter = getOperation().getPrettyPrintWriter();
prettyPrintWriter.printRaw(nsDecl.getPrefix().getValue());
prettyPrintWriter.printRaw("=");
prettyPrintWriter.printRaw(nsDecl.getUri().getValue());
} else
super.visit(entity);
}
Aggregations