|
||||||||||
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 ApplianceContentManager
public String getType()
getType
in interface ContentManager
getType
in class ContentHandler
public Object getContent(URLConnection connection) throws IOException
Appliance
.
getContent
in class ContentHandler
connection
- the url connection
IOException
- if an IO error occurspublic Object getContent(URLConnection connection, Class[] classes) throws IOException
getContent
in class ContentHandler
connection
- the url connectionclasses
- the selection class array
IOException
- if an IO error occurspublic Appliance newAppliance(URLConnection connection, String partition) throws IOException
newAppliance
in interface ApplianceFactory
connection
- 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 |