|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a publisher creator. Creators are registered with the publisher factory and asked to create a publisher for the specified target. A creator should only return a publisher if it supports the requested target, otherwise it must return null.
isSupported(org.openxml.x3p.PublisherTarget)
asks the creator if it can create a new publisher
for a specific target, and listTargets()
lists the target
classes supported by this creator.
Publisher
,
PublisherFactory
Method Summary | |
Publisher |
createPublisher(PublisherTarget target)
Called to create a new publisher for the specified target. |
boolean |
isSupported(PublisherTarget target)
Returns true if a publisher can be created for the specified target. |
java.lang.Class[] |
listTargets()
Returns a list of supported publisher targets. |
Method Detail |
public Publisher createPublisher(PublisherTarget target) throws java.io.IOException
target
- The publisher targetpublic boolean isSupported(PublisherTarget target)
createPublisher(org.openxml.x3p.PublisherTarget)
should return
such a publisher.target
- The publisher targetpublic java.lang.Class[] listTargets()
PublisherTarget
. Any of these classes can be constructed and
used to invoke this publisher. If the list is empty, null may be
returned.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |