|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.dpml.lang.Part
net.dpml.component.Composition
net.dpml.metro.data.DefaultComposition
Component composition.
| Field Summary |
| Fields inherited from class net.dpml.lang.Part |
PART_FOOTER, PART_HEADER, PART_SCHEMA_URN, VALUE_ENCODER, XML_HEADER |
| Constructor Summary | |
DefaultComposition(Logger logger,
Info info,
Classpath classpath,
Controller controller,
ComponentDirective directive)
Creation of a new composition diefinition. |
|
| Method Summary | |
protected void |
encodeStrategy(Writer writer,
String pad)
Encode the deployment directive to XML. |
boolean |
equals(Object other)
Return true if this object is equal to the supplied object. |
Classpath |
getClasspath()
Get the part classpath definition. |
ComponentDirective |
getComponentDirective()
Get the deployment directive. |
int |
hashCode()
Return the hashcode for the instance. |
| Methods inherited from class net.dpml.component.Composition |
getContent, getController, getDirective, getModel, instantiate, newComponent |
| Methods inherited from class net.dpml.lang.Part |
encode, getClassLoader, getContent, getContent, getInfo, getLogger, load, load |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultComposition(Logger logger,
Info info,
Classpath classpath,
Controller controller,
ComponentDirective directive)
throws IOException
logger - the assigned logging channelinfo - the part info definitionclasspath - the part classpath definitioncontroller - the deployment controllerdirective - the deployment directive
IOException - if an I/O exception occurs| Method Detail |
public ComponentDirective getComponentDirective()
public Classpath getClasspath()
getClasspath in class Part
protected void encodeStrategy(Writer writer,
String pad)
throws IOException
encodeStrategy in class Partwriter - the output stream writerpad - the outoput offset
IOException - if an I/O exception occurspublic boolean equals(Object other)
equals in class Compositionother - the object to evaluate
public int hashCode()
hashCode in class Composition
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||