public class VdbNodeVisitor extends AbstractNodeVisitor implements StringConstants
Modifier and Type | Field and Description |
---|---|
static String |
DATA_ROLE_PERMISSION_CONDITION_XML
Companion XML tag for permission condition
|
AMPERSAND, AT, BR, CLASS, CLOSE_ANGLE_BRACKET, CLOSE_BRACE, CLOSE_BRACKET, CLOSE_PRE_CMT, CLOSE_PRE_TAG, CLOSE_SQUARE_BRACKET, COLON, COMMA, CONNECTION_SUFFIX, CURRENT_FOLDER_SYMBOL, DDL, DEFAULT_LOCAL_WORKSPACE_NAME, DIVIDE, DOLLAR_SIGN, DOT, DOT_CHAR, DOT_DOT, DOT_KOMODO, DOUBLE_BACK_SLASH, DRIVE_SEPARATOR, EMPTY_ARRAY, EMPTY_STRING, ENUM, EQUALS, FILE_EXTENSION_SEPARATOR, FILE_NAME_WILDCARD, FINAL, FORWARD_SLASH, HASH, HYPHEN, INTERFACE, JAR, JAVA, JAVA_IO_TMPDIR, JBOSS_SERVER_TMP_DIR, KOMODO, LINE_SEPARATOR, LINE_SEPARATOR_PROPERTY_NAME, LOG, MINUS, MULTIPLY, NBSP, NEW_LINE, OPEN_ANGLE_BRACKET, OPEN_BRACE, OPEN_BRACKET, OPEN_PRE_CMT, OPEN_PRE_TAG, OPEN_SQUARE_BRACKET, PARENT_FOLDER_SYMBOL, PERCENT, PIPE, PLUS, PREFIX_PATTERN, PRIVATE, PUBLIC, QUESTION_MARK, QUOTE_MARK, SEMI_COLON, SERVICE_VDB_SUFFIX, SERVICE_VDB_VIEW_MODEL, SERVICE_VDB_VIEW_SUFFIX, SOURCES, SPACE, SPEECH_MARK, SRC, STAR, STATIC, TAB, TARGET, UNDERSCORE, UNDERSCORE_CHAR, VDB_DEPLOYMENT_SUFFIX, VDB_PREFIX, XML, XML_SUFFIX, ZIP, ZIP_SUFFIX
Constructor and Description |
---|
VdbNodeVisitor(MetadataVersion version,
DataTypeService dataTypeService,
XMLStreamWriter writer)
Create new visitor that writes to the given xml stream writer
|
Modifier and Type | Method and Description |
---|---|
Repository.OperationType |
getRequestType() |
void |
setShowTabs(boolean showTabs)
Set to true to show tabs
|
protected String |
undefined() |
Object |
visit(Repository.UnitOfWork transaction,
KomodoObject kObject) |
protected void |
visitChild(Repository.UnitOfWork transaction,
KomodoObject kObject,
String relNodePath) |
findMixinTypeById, findMixinTypeByNamespace, getChildren, getChildren, getDataTypeService, getVersion, hasMixinType, multiPropertyValues, property, toString, visitChildren, visitFilteredChildren
public static String DATA_ROLE_PERMISSION_CONDITION_XML
public VdbNodeVisitor(MetadataVersion version, DataTypeService dataTypeService, XMLStreamWriter writer)
version
- teiid versiondataTypeService
- the data type servicewriter
- output for the xmlprotected String undefined()
undefined
in class AbstractNodeVisitor
public void setShowTabs(boolean showTabs)
showTabs
- showTabs flagspublic Repository.OperationType getRequestType()
getRequestType
in interface KomodoObjectVisitor
public Object visit(Repository.UnitOfWork transaction, KomodoObject kObject) throws KException
visit
in interface KomodoObjectVisitor
KException
protected void visitChild(Repository.UnitOfWork transaction, KomodoObject kObject, String relNodePath) throws Exception
visitChild
in class AbstractNodeVisitor
Exception
Copyright © 2013–2019. All rights reserved.