|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.wli.config.customization.Customization com.bea.wli.config.customization.ReferenceCustomization
public class ReferenceCustomization
Customization for mapping references found in resources to other references.
Field Summary | |
---|---|
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
ReferenceCustomization(Set<Ref> targets,
String description,
Map<Ref,Ref> mapping)
Creates a customization for changing/mapping references embedded in a set of resources |
Method Summary | |
---|---|
Customization |
clone(Set<Ref> filter)
Returns a copy of this customization and optionally modifies its target references so that the customization only applies to a reference if it is subsumed by a reference in the filter. |
Map<Ref,Ref> |
getMapping()
Returns the reference mapping to be applied. |
Set<Ref> |
getTargets()
Returns the references to resources, folders or projects which the customizations will be applied to. |
org.apache.xmlbeans.XmlObject |
toXML()
Returns an xml representation for this customization |
Methods inherited from class com.bea.wli.config.customization.Customization |
---|
fromXML, fromXML, getDescription, toXML |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public ReferenceCustomization(Set<Ref> targets, String description, Map<Ref,Ref> mapping)
targets
- resources to consider. A null value indicates all resources. A project or
folder resource indicates all resources in that project / folder.description
- the user given description for this customizationmapping
- mapping from old references to be modified to their new valuesMethod Detail |
---|
public Set<Ref> getTargets()
Customization
getTargets
in class Customization
public Map<Ref,Ref> getMapping()
public Customization clone(Set<Ref> filter)
Customization
clone
in class Customization
filter
- if filter is null no narrowing is performed, and the customization is cloned as-is.
public org.apache.xmlbeans.XmlObject toXML() throws org.apache.xmlbeans.XmlException
Customization
toXML
in class Customization
org.apache.xmlbeans.XmlException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |