org.obe.client.api.repository
Class ResourceMetaData

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

public class ResourceMetaData
extends AbstractMetaData

Describes an XML document, schema, DTD, template, XSL transform, etc.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
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
ResourceMetaData()
           
ResourceMetaData(java.lang.String publicId, java.lang.String systemId)
           
ResourceMetaData(java.lang.String displayName, java.lang.String description, java.lang.String docUrl, java.lang.String author, java.lang.String publicId, java.lang.String systemId, byte[] content)
           
 
Method Summary
 java.lang.Object createInstance(org.xml.sax.EntityResolver entityResolver)
           
 byte[] getContent()
           
protected  java.lang.String getImplClass()
           
protected  java.lang.String[] getImplCtorSig()
           
 java.lang.String getPublicId()
           
 java.lang.String getResourceType()
           
 java.lang.String getSystemId()
           
 void setContent(byte[] content)
           
 void setPublicId(java.lang.String publicId)
           
 void setSystemId(java.lang.String systemId)
           
 
Methods inherited from class org.obe.client.api.repository.AbstractMetaData
createInstance, createInstance, getAuthor, getDescription, getDisplayName, getDocUrl, getId, getThreadsafe, getType, isThreadsafe, setAuthor, setDescription, setDisplayName, setDocUrl, setId, setThreadsafe, setType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceMetaData

public ResourceMetaData()

ResourceMetaData

public ResourceMetaData(java.lang.String publicId,
                        java.lang.String systemId)

ResourceMetaData

public ResourceMetaData(java.lang.String displayName,
                        java.lang.String description,
                        java.lang.String docUrl,
                        java.lang.String author,
                        java.lang.String publicId,
                        java.lang.String systemId,
                        byte[] content)
Method Detail

createInstance

public java.lang.Object createInstance(org.xml.sax.EntityResolver entityResolver)
                                throws RepositoryException
Specified by:
createInstance in class AbstractMetaData
Throws:
RepositoryException

getImplClass

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

getImplCtorSig

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

getPublicId

public final java.lang.String getPublicId()

setPublicId

public final void setPublicId(java.lang.String publicId)

getSystemId

public final java.lang.String getSystemId()

setSystemId

public final void setSystemId(java.lang.String systemId)

getResourceType

public java.lang.String getResourceType()

getContent

public byte[] getContent()

setContent

public void setContent(byte[] content)


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