| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.wli.config.customization.Customization
public abstract class Customization
All Customizations must extend this class. This is a top level class for a customization, for e.g. env value find and replace/reference mapping
| Field Summary | |
|---|---|
| static long | serialVersionUID | 
| Method Summary | |
|---|---|
| abstract  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. | 
| static List<Customization> | fromXML(InputStream is)parses given input stream that contains the serialized xml represention and returns list of customizations. | 
| static Customization | fromXML(org.apache.xmlbeans.XmlObject xml)Converts the given xml representation of a customization into the Customization object. | 
|  String | getDescription()Returns the user given description for this customization | 
| abstract  Set<Ref> | getTargets()Returns the references to resources, folders or projects which the customizations will be applied to. | 
| abstract  org.apache.xmlbeans.XmlObject | toXML()Returns an xml representation for this customization | 
| static void | toXML(List<Customization> customizations,
      OutputStream os)converts the give list of customization into an xml form and serializes to the given stream. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final long serialVersionUID
| Method Detail | 
|---|
public String getDescription()
public abstract Set<Ref> getTargets()
public abstract Customization clone(Set<Ref> filter)
filter - if filter is null no narrowing is performed, and the customization is cloned as-is.
public abstract org.apache.xmlbeans.XmlObject toXML()
                                             throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static Customization fromXML(org.apache.xmlbeans.XmlObject xml)
xml - 
public static List<Customization> fromXML(InputStream is)
                                   throws IOException,
                                          org.apache.xmlbeans.XmlException
is - input stream that provides the xml document containing a list
          of customizations
IOException
org.apache.xmlbeans.XmlException
public static void toXML(List<Customization> customizations,
                         OutputStream os)
                  throws IOException,
                         org.apache.xmlbeans.XmlException
customizations - os - 
IOException
org.apache.xmlbeans.XmlException| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||