/** * Creates a new <code>exclude</code> element * @return the new created instance of <code>PathSpecType<FilterType<T>></code> */ public PathSpecType<FilterType<T>> createExclude() { return new PathSpecTypeImpl<FilterType<T>>(this, "exclude", childNode); }
/** * Creates a new <code>path</code> element * @return the new created instance of <code>PathType<PathSetType<T>></code> */ public PathType<PathSetType<T>> createPath() { return new PathTypeImpl<PathSetType<T>>(this, "path", childNode); }
public ModuleAliasDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }
public String getName() { if (this.module == null) { return "UNKNOWN"; } return this.module.getName(); }
/** * Creates a new <code>artifact</code> element * @return the new created instance of <code>ArtifactType<ResourcesType<T>></code> */ public ArtifactType<ResourcesType<T>> createArtifact() { return new ArtifactTypeImpl<ResourcesType<T>>(this, "artifact", childNode); }
/** * Creates a new <code>include-set</code> element * @return the new created instance of <code>PathSetType<FilterType<T>></code> */ public PathSetType<FilterType<T>> createIncludeSet() { return new PathSetTypeImpl<FilterType<T>>(this, "include-set", childNode); }
/** * Adds the default namespaces as defined in the specification * @return the current instance of <code>ModuleAbsentDescriptor</code> */ public ModuleAbsentDescriptor addDefaultNamespaces() { addNamespace("xmlns", "urn:jboss:module:1.3"); return this; }
/** * Creates a new <code>property</code> element * @return the new created instance of <code>PropertyType<PropertyListType<T>></code> */ public PropertyType<PropertyListType<T>> createProperty() { return new PropertyTypeImpl<PropertyListType<T>>(this, "property", childNode); }
/** * Adds the default namespaces as defined in the specification * @return the current instance of <code>ModuleAliasDescriptor</code> */ public ModuleAliasDescriptor addDefaultNamespaces() { addNamespace("xmlns", "urn:jboss:module:1.3"); return this; }
/** * Adds the default namespaces as defined in the specification * @return the current instance of <code>ModuleDescriptor</code> */ public ModuleDescriptor addDefaultNamespaces() { addNamespace("xmlns", "urn:jboss:module:1.3"); return this; }
public ModuleAbsentDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }
/** * Creates a new <code>system</code> element * @return the new created instance of <code>SystemDependencyType<DependenciesType<T>></code> */ public SystemDependencyType<DependenciesType<T>> createSystem() { return new SystemDependencyTypeImpl<DependenciesType<T>>(this, "system", childNode); }
/** * Creates a new <code>module</code> element * @return the new created instance of <code>ModuleDependencyType<DependenciesType<T>></code> */ public ModuleDependencyType<DependenciesType<T>> createModule() { return new ModuleDependencyTypeImpl<DependenciesType<T>>(this, "module", childNode); }
public ModuleDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }
public String getName() { if (this.module == null) { return "UNKNOWN"; } return this.module.getName(); }
/** * Creates a new <code>include</code> element * @return the new created instance of <code>PathSpecType<FilterType<T>></code> */ public PathSpecType<FilterType<T>> createInclude() { return new PathSpecTypeImpl<FilterType<T>>(this, "include", childNode); }
/** * Creates a new <code>native-artifact</code> element * @return the new created instance of <code>ArtifactType<ResourcesType<T>></code> */ public ArtifactType<ResourcesType<T>> createNativeArtifact() { return new ArtifactTypeImpl<ResourcesType<T>>(this, "native-artifact", childNode); }
/** * Creates a new <code>exclude-set</code> element * @return the new created instance of <code>PathSetType<FilterType<T>></code> */ public PathSetType<FilterType<T>> createExcludeSet() { return new PathSetTypeImpl<FilterType<T>>(this, "exclude-set", childNode); }