|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.ContentHandler
net.dpml.transit.ContentHandler
net.dpml.station.ApplianceContentHandler
net.dpml.station.PlanContentHandler
public class PlanContentHandler
Content handler for the plan artifact type.
| Constructor Summary | |
|---|---|
PlanContentHandler()
|
|
| Method Summary | |
|---|---|
Object |
getContent(URLConnection connection)
Returns the content in the form of a Appliance. |
Object |
getContent(URLConnection connection,
Class[] classes)
Returns the content assignable to the first recognized class in the list of suppied classes. |
String |
getType()
Returns the type thar the content handler supports. |
static Appliance |
newAppliance(String key,
URI uri)
|
Appliance |
newAppliance(URLConnection connection,
String partition)
Create a new appliance using the supplied connection object. |
| Methods inherited from class net.dpml.station.ApplianceContentHandler |
|---|
getApplianceManagers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlanContentHandler()
| Method Detail |
|---|
public String getType()
getType in interface ContentManagergetType in class ApplianceContentHandler
public Object getContent(URLConnection connection)
throws IOException
Appliance.
getContent in class ApplianceContentHandlerconnection - the url connection
IOException - if an IO error occurs
public Object getContent(URLConnection connection,
Class[] classes)
throws IOException
getContent in class ApplianceContentHandlerconnection - the url connectionclasses - the selection class array
IOException - if an IO error occurs
public Appliance newAppliance(URLConnection connection,
String partition)
throws IOException
newAppliance in interface ApplianceFactorynewAppliance in class ApplianceContentHandlerconnection - the URL connectionpartition - an optional partition name
IOException - if an IO error occurs
public static Appliance newAppliance(String key,
URI uri)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||