API Overview API Index Package Overview Direct link to this page
Apache Ant 1.7.1
  org.apache.tools.ant. RuntimeConfigurable View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      RuntimeConfigurable
Implements
 Serializable
Subclasses
Description
public class RuntimeConfigurable
  Wrapper class that holds the attributes of an element, its children, and any text within it.
See also:   
Constructors
public RuntimeConfigurable (java.lang.Object proxy, java.lang.String elementTag)
  Sole constructor creating a wrapper for the specified object.
Methods
Hide/Show inherited methods
publicsynchronized void addChild (RuntimeConfigurable child)
  Adds a child element to the wrapped element.
publicsynchronized void addText (char[] buf, int start, int count)
  Adds characters from #PCDATA areas to the wrapped element.
publicsynchronized void addText (java.lang.String data)
  Adds characters from #PCDATA areas to the wrapped element.
public void applyPreSet (RuntimeConfigurable r)
  Apply presets, attributes and text are set if not currently set.
publicsynchronized java.util.Hashtable getAttributeMap ()
  Return the attribute map.
publicsynchronized org.xml.sax.AttributeList getAttributes ()
  Returns the list of attributes for the wrapped element.
pack-privatesynchronized RuntimeConfigurable getChild (int index)
  Returns the child wrapper at the specified position within the list.
publicsynchronized java.util.Enumeration getChildren ()
  Returns an enumeration of all child wrappers.
publicsynchronized java.lang.String getElementTag ()
  Returns the tag name of the wrapped element.
publicsynchronized java.lang.String getId ()
  Returns the id for this element.
publicsynchronized java.lang.String getPolyType ()
  Get the polymorphic type for this element.
publicsynchronized java.lang.Object getProxy ()
  Get the object for which this RuntimeConfigurable holds the configuration information.
publicsynchronized java.lang.StringBuffer getText ()
  Get the text content of this element.
public void maybeConfigure (Project p) throws BuildException
  Configures the wrapped element and all its children.
publicsynchronized void maybeConfigure (Project p, boolean configureChildren) throws BuildException
  Configures the wrapped element.
public void reconfigure (Project p)
  Reconfigure the element, even if it has already been configured.
publicsynchronized void removeAttribute (java.lang.String name)
  Delete an attribute.
publicsynchronized void setAttribute (java.lang.String name, java.lang.String value)
  Set an attribute to a given value.
publicsynchronized void setAttributes (org.xml.sax.AttributeList attributes)
  Sets the attributes for the wrapped element.
pack-privatesynchronized void setCreator (Creator creator)
  Sets the creator of the element to be configured used to store the element in the parent.
publicsynchronized void setElementTag (java.lang.String elementTag)
  Set the element tag.
publicsynchronized void setPolyType (java.lang.String polyType)
  Set the polymorphic type for this element.
publicsynchronized void setProxy (java.lang.Object proxy)
  Sets the element to configure.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar