|
||||||||||
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()
Creation of a new applicance content handler. |
protected |
ApplianceContentHandler(Logger logger)
Creation of a new applicance content handler. |
Method Summary | |
---|---|
ApplianceManager[] |
getApplianceManagers()
Return the set of applicance managers established by the handler. |
java.lang.Object |
getContent(java.net.URLConnection connection)
Returns the content in the form of a Appliance . |
java.lang.Object |
getContent(java.net.URLConnection connection,
java.lang.Class[] classes)
Returns the content assignable to the first recognized class in the list of suppied classes. |
java.lang.String |
getType()
Returns the type thar the content handler supports. |
Appliance |
newAppliance(java.net.URLConnection connection,
java.lang.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)
logger
- the assigned logging channelMethod Detail |
---|
public ApplianceManager[] getApplianceManagers()
getApplianceManagers
in interface ApplianceContentManager
public java.lang.String getType()
getType
in interface ContentManager
getType
in class ContentHandler
public java.lang.Object getContent(java.net.URLConnection connection) throws java.io.IOException
Appliance
.
getContent
in class java.net.ContentHandler
connection
- the url connection
java.io.IOException
- if an IO error occurspublic java.lang.Object getContent(java.net.URLConnection connection, java.lang.Class[] classes) throws java.io.IOException
getContent
in class java.net.ContentHandler
connection
- the url connectionclasses
- the selection class array
java.io.IOException
- if an IO error occurspublic Appliance newAppliance(java.net.URLConnection connection, java.lang.String partition) throws java.io.IOException
newAppliance
in interface ApplianceFactory
connection
- the URL connectionpartition
- an optional partition name
java.io.IOException
- if an IO error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |