oracle.xdb.spi
Class XDBResource
java.lang.Object
  |
  +--oracle.xdb.dom.XDBNode
        |
        +--oracle.xdb.dom.XDBDocument
              |
              +--oracle.xdb.spi.XDBResource
- All Implemented Interfaces:
- Document, Node, Resource
- Direct Known Subclasses:
- XDBResourceContext
- public class XDBResource
- extends XDBDocument
- implements Resource
This class implements the guts of the XDB JNDI SPI. The current implementation has no federation support, being completely unaware of the existence of other namespaces.
  
 
 
| Fields inherited from interface org.w3c.dom.Node | 
| ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE | 
   
| Constructor Summary | 
| XDBResource(java.sql.Connection conn, java.lang.String abspath, long xobd)
 | 
| XDBResource(XMLType resxmlt, java.sql.Connection conn, java.lang.String abspath)
 | 
   
 
| Methods inherited from class oracle.xdb.dom.XDBDocument | 
| appendChild, close, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, finalize, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getEnvNative, getFirstChild, getGP, getImplementation, getLastChild, getNextSibling, getNodeName, getOwnerDocument, getPreviousSibling, hasChildNodes, importNode, insertBefore, isClosed, removeChild, replaceChild | 
 
| Methods inherited from class oracle.xdb.dom.XDBNode | 
| cloneNode, equals, getAttributes, getChildNodes, getExpandedName, getLocalName, getNamespaceURI, getNodeFromCState, getNodeType, getNodeValue, getParentNode, getPrefix, getQualifiedName, getSchemaNode, hasAttributes, hashCode, isSupported, normalize, setNodeValue, setNodeXob, setOwner, setPrefix, setXobCstate, toCState, toString, write | 
 
| Methods inherited from class java.lang.Object | 
| clone, getClass, notify, notifyAll, wait, wait, wait | 
 
| Methods inherited from interface org.w3c.dom.Node | 
| cloneNode, getAttributes, getChildNodes, getLocalName, getNamespaceURI, getNodeType, getNodeValue, getParentNode, getPrefix, hasAttributes, isSupported, normalize, setNodeValue, setPrefix | 
 
 
 
m_resElem
protected Element m_resElem
 
m_path
protected java.lang.String m_path
 
 
XDBResource
public XDBResource(java.sql.Connection conn,
                   java.lang.String abspath,
                   long xobd)
 
XDBResource
public XDBResource(XMLType resxmlt,
                   java.sql.Connection conn,
                   java.lang.String abspath)
 
 
getServerEnv
public static long getServerEnv()
 
getOwnerId
public long getOwnerId()
- 
- Specified by:
- getOwnerIdin interface- Resource
 
 
setOwnerId
public void setOwnerId(long ownerid)
                throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setOwnerIdin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getCharacterSet
public java.lang.String getCharacterSet()
- 
- Specified by:
- getCharacterSetin interface- Resource
 
 
setCharacterSet
public void setCharacterSet(java.lang.String charSet)
                     throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setCharacterSetin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getSchemaElement
public java.lang.String getSchemaElement()
- 
- Specified by:
- getSchemaElementin interface- Resource
 
 
setSchemaElement
public void setSchemaElement(java.lang.String schema)
                      throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setSchemaElementin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getCreator
public java.lang.String getCreator()
- 
- Specified by:
- getCreatorin interface- Resource
 
 
setCreator
public void setCreator(java.lang.String creator)
                throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setCreatorin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getOwner
public java.lang.String getOwner()
- 
- Specified by:
- getOwnerin interface- Resource
 
 
setOwner
public void setOwner(java.lang.String owner)
              throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setOwnerin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getCreationDate
public java.sql.Timestamp getCreationDate()
- 
- Specified by:
- getCreationDatein interface- Resource
 
 
setCreationDate
public void setCreationDate(java.sql.Timestamp credate)
                     throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setCreationDatein interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getModificationDate
public java.sql.Timestamp getModificationDate()
- 
- Specified by:
- getModificationDatein interface- Resource
 
 
setModificationDate
public void setModificationDate(java.sql.Timestamp moddate)
                         throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setModificationDatein interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getLastModifier
public java.lang.String getLastModifier()
- 
- Specified by:
- getLastModifierin interface- Resource
 
 
setLastModifier
public void setLastModifier(java.lang.String modifier)
                     throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setLastModifierin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getAuthor
public java.lang.String getAuthor()
- 
- Specified by:
- getAuthorin interface- Resource
 
 
setAuthor
public void setAuthor(java.lang.String authname)
               throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setAuthorin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getDisplayName
public java.lang.String getDisplayName()
- 
- Specified by:
- getDisplayNamein interface- Resource
 
 
setDisplayName
public void setDisplayName(java.lang.String dname)
                    throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setDisplayNamein interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getComment
public java.lang.String getComment()
- 
- Specified by:
- getCommentin interface- Resource
 
 
setComment
public void setComment(java.lang.String davcom)
                throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setCommentin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getLanguage
public java.lang.String getLanguage()
- 
- Specified by:
- getLanguagein interface- Resource
 
 
setLanguage
public void setLanguage(java.lang.String lang)
                 throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setLanguagein interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getContentType
public java.lang.String getContentType()
- 
- Specified by:
- getContentTypein interface- Resource
 
 
setContentType
public void setContentType(java.lang.String conttype)
                    throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setContentTypein interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getVersionId
public int getVersionId()
- 
- Specified by:
- getVersionIdin interface- Resource
 
 
setVersionId
public void setVersionId(int versionId)
                  throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setVersionIdin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
getContentXML
public Document getContentXML()
- 
- Specified by:
- getContentXMLin interface- Resource
 
 
getContentBinary
public java.io.InputStream getContentBinary()
- 
- Specified by:
- getContentBinaryin interface- Resource
 
 
setContent
public void setContent(java.lang.Object xmlobj)
                throws javax.naming.directory.InvalidAttributeValueException,
                       javax.naming.OperationNotSupportedException
- 
- Specified by:
- setContentin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
- javax.naming.OperationNotSupportedException
 
 
getACL
public java.lang.String getACL()
- 
- Specified by:
- getACLin interface- Resource
 
 
setACL
public void setACL(java.lang.String aclpath)
            throws javax.naming.directory.InvalidAttributeValueException
- 
- Specified by:
- setACLin interface- Resource
 
- 
- javax.naming.directory.InvalidAttributeValueException
 
 
save
public void save()
 
getSize
public int getSize()
- 
- Specified by:
- getSizein interface- Resource
 
 
isFolder
public boolean isFolder()
- 
- Specified by:
- isFolderin interface- Resource
 
 
Copyright © 2003, Oracle. All Rights Reserved.