|
||||||||||
| 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
public class ApplianceContentHandler
Content handler for the appliance artifact type.
| Constructor Summary | |
|---|---|
|
ApplianceContentHandler()
|
protected |
ApplianceContentHandler(Logger logger)
|
| Method Summary | |
|---|---|
ApplianceManager[] |
getApplianceManagers()
|
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. |
Appliance |
newAppliance(URLConnection connection,
String partition)
Create a new appliance using the supplied connection object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplianceContentHandler()
protected ApplianceContentHandler(Logger logger)
| Method Detail |
|---|
public ApplianceManager[] getApplianceManagers()
getApplianceManagers in interface ApplianceContentManagerpublic String getType()
getType in interface ContentManagergetType in class ContentHandler
public Object getContent(URLConnection connection)
throws IOException
Appliance.
getContent in class ContentHandlerconnection - the url connection
IOException - if an IO error occurs
public Object getContent(URLConnection connection,
Class[] classes)
throws IOException
getContent in class ContentHandlerconnection - 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 ApplianceFactoryconnection - the URL connectionpartition - an optional partition name
IOException - if an IO error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||