# WtpComponent

open class WtpComponent : XmlPersistableConfigurationObject(source)

Creates the .settings/org.eclipse.wst.common.component file for WTP projects.

## Constructors

WtpComponent
Link copied to clipboard
constructor(xmlTransformer: XmlTransformer)

## Properties

contextPath
Link copied to clipboard
open var contextPath: String
deployName
Link copied to clipboard
open var deployName: String
wbModuleEntries
Link copied to clipboard
open var wbModuleEntries: List<WbModuleEntry>
xml
Link copied to clipboard
open val xml: Node

## Functions

configure
Link copied to clipboard
open fun configure(deployName: String, contextPath: String, newEntries: List<WbModuleEntry>)
equals
Link copied to clipboard
open fun equals(o: Any): Boolean
findFirstChildNamed
Link copied to clipboard
open fun findFirstChildNamed(root: Node, name: String): Node
findFirstChildWithAttributeValue
Link copied to clipboard
open fun findFirstChildWithAttributeValue(root: Node, childName: String, attribute: String, value: String): Node
findOrCreateFirstChildNamed
Link copied to clipboard
open fun findOrCreateFirstChildNamed(root: Node, name: String): Node
findOrCreateFirstChildWithAttributeValue
Link copied to clipboard
open fun findOrCreateFirstChildWithAttributeValue(root: Node, childName: String, attribute: String, value: String): Node
hashCode
Link copied to clipboard
open fun hashCode(): Int
load
Link copied to clipboard
open fun load(inputStream: InputStream)
loadDefaults
Link copied to clipboard
open fun loadDefaults()
store
Link copied to clipboard
open fun store(outputStream: OutputStream)
toString
Link copied to clipboard
open fun toString(): String
transformAction
Link copied to clipboard
open fun transformAction(action: Closure)