org.obe.client.api.repository
Class DocumentHandlerMetaData

java.lang.Object
  extended byorg.obe.client.api.repository.AbstractMetaData
      extended byorg.obe.client.api.repository.ToolAgentMetaData
          extended byorg.obe.client.api.repository.DocumentHandlerMetaData
All Implemented Interfaces:
java.io.Serializable

public class DocumentHandlerMetaData
extends ToolAgentMetaData

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.obe.client.api.repository.ToolAgentMetaData
_formalParameters
 
Fields inherited from class org.obe.client.api.repository.AbstractMetaData
_author, _description, _displayName, _docUrl, _id, _threadsafe, _type, allowInheritance, EMPTY_ARGS, NO_ARGS_SIG
 
Constructor Summary
DocumentHandlerMetaData()
           
DocumentHandlerMetaData(java.lang.String id, java.lang.String displayName, java.lang.String description, java.lang.String docUrl, java.lang.String author, boolean threadsafe)
           
 
Method Summary
 java.lang.String getCommandName()
           
 java.lang.String getContentType()
           
 int getHeight()
           
protected  java.lang.String getImplClass()
           
protected  java.lang.String[] getImplCtorSig()
           
 boolean getLocation()
           
 boolean getMenubar()
           
 boolean getScrollbars()
           
 boolean getStatus()
           
 java.lang.String getTitle()
           
 boolean getToolbar()
           
 java.lang.String getUrl()
           
 int getWidth()
           
 ToolAgentMetaData introspect(ExternalReference extRef, org.xml.sax.EntityResolver entityResolver)
          Introspects a reference to an externally defined tool or service.
 void setCommandName(java.lang.String commandName)
           
 void setContentType(java.lang.String contentType)
           
 void setHeight(int height)
           
 void setLocation(boolean location)
           
 void setMenubar(boolean menubar)
           
 void setScrollbars(boolean scrollbars)
           
 void setStatus(boolean status)
           
 void setTitle(java.lang.String title)
           
 void setToolbar(boolean toolbar)
           
 void setUrl(java.lang.String url)
           
 void setWidth(int width)
           
 
Methods inherited from class org.obe.client.api.repository.ToolAgentMetaData
createInstance, createInstance, getFormalParameter, init, setFormalParameter, toString
 
Methods inherited from class org.obe.client.api.repository.AbstractMetaData
createInstance, getAuthor, getDescription, getDisplayName, getDocUrl, getId, getThreadsafe, getType, isThreadsafe, setAuthor, setDescription, setDisplayName, setDocUrl, setId, setThreadsafe, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentHandlerMetaData

public DocumentHandlerMetaData()

DocumentHandlerMetaData

public DocumentHandlerMetaData(java.lang.String id,
                               java.lang.String displayName,
                               java.lang.String description,
                               java.lang.String docUrl,
                               java.lang.String author,
                               boolean threadsafe)
Method Detail

introspect

public ToolAgentMetaData introspect(ExternalReference extRef,
                                    org.xml.sax.EntityResolver entityResolver)
                             throws RepositoryException
Description copied from class: ToolAgentMetaData
Introspects a reference to an externally defined tool or service. If the associated tool agent type can handle the reference, the method returns the meta-data required to instantiate such a tool agent.

Specified by:
introspect in class ToolAgentMetaData
Parameters:
extRef - The external tool reference.
entityResolver -
Returns:
Configured tool meta-data, or null if this tool type cannot handle this reference.
Throws:
RepositoryException

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String url)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getStatus

public boolean getStatus()

setStatus

public void setStatus(boolean status)

getToolbar

public boolean getToolbar()

setToolbar

public void setToolbar(boolean toolbar)

getMenubar

public boolean getMenubar()

setMenubar

public void setMenubar(boolean menubar)

getLocation

public boolean getLocation()

setLocation

public void setLocation(boolean location)

getScrollbars

public boolean getScrollbars()

setScrollbars

public void setScrollbars(boolean scrollbars)

getContentType

public java.lang.String getContentType()

setContentType

public void setContentType(java.lang.String contentType)

getCommandName

public java.lang.String getCommandName()

setCommandName

public void setCommandName(java.lang.String commandName)

getImplClass

protected java.lang.String getImplClass()
Specified by:
getImplClass in class AbstractMetaData

getImplCtorSig

protected java.lang.String[] getImplCtorSig()
Specified by:
getImplCtorSig in class AbstractMetaData


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.