|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.document.internal.Document
com.bea.connector.DocumentRecord
public class DocumentRecord
This class allows Documents to implement the javax.resource.cci.Record interface.
Field Summary |
---|
Fields inherited from class com.bea.document.internal.Document |
---|
m_verbose |
Constructor Summary | |
---|---|
DocumentRecord()
Default Document Record constructor. |
|
DocumentRecord(Document doc)
Construct Document Record from a DOM Document. |
|
DocumentRecord(Element element)
Construct Document Record from an Element. |
|
DocumentRecord(com.bea.document.IDocument doc)
Construct Document Record from IDocument. |
|
DocumentRecord(InputSource inputSource)
Construct Document Record from an SAX InputSource. |
|
DocumentRecord(String xml)
Construct Document Record from a XML String. |
Method Summary | |
---|---|
Object |
clone()
Clone this Document Record. |
boolean |
equals(Object other)
Compares Document Record with pass Object. |
String |
getRecordName()
Get Document Record's name. |
String |
getRecordShortDescription()
Get Document Record's short description. |
int |
hashCode()
Get Document Record's hash code. |
void |
setRecordName(String name)
Set the Document Record's name. |
void |
setRecordShortDescription(String description)
Set the Document Record's short description. |
String |
toString()
|
Methods inherited from class com.bea.document.internal.Document |
---|
addAttribute, addAttribute, addDocumentData, addElement, addElement, addNode, ensureNamespaceDeclaration, ensureNamespaceDeclaration, ensureNoNamespaceDeclarations, ensureNoNamespaceDeclarations, forceParsed, fromXML, fromXML, fromXML, fromXML, fromXML, fromXML, generateNamespacePrefix, generateNamespacePrefix, getBooleanFrom, getBooleanFromFirst, getDateFrom, getDateFromFirst, getDateTimeFrom, getDateTimeFromFirst, getDocument, getDocumentData, getDocumentDefinition, getDocumentElement, getDocumentTypeName, getDoubleFrom, getDoubleFromFirst, getEncoding, getEntityResolver, getFirstNamespacePrefix, getGlobalAttributeNames, getGlobalElementNames, getIntegerFrom, getIntegerFromFirst, getPublicID, getRawXML, getRootElementName, getStringFrom, getStringFromFirst, getSubDocuments, getSystemID, getTimeFrom, getTimeFromFirst, getValidating, getVerbose, init, isParsed, main, removeDocumentData, resetContextNode, serializeDocumentType, serializeDocumentType, serializeElement, serializeElement, serializeElement, setBooleanIn, setBooleanInFirst, setContextNode, setContextNode, setContextNode, setDateIn, setDateInFirst, setDateTimeIn, setDateTimeInFirst, setDocumentData, setDocumentDefinition, setDocumentElement, setDocumentImp, setDocumentTypeName, setDoubleIn, setDoubleInFirst, setEncoding, setEntityResolver, setIntegerIn, setIntegerInFirst, setPerThreadEntityResolver, setPublicID, setStringIn, setStringInFirst, setSystemID, setTimeIn, setTimeInFirst, setupForParse, setValidating, setVerbose, toByteXML, toXML, toXML, toXML |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DocumentRecord()
public DocumentRecord(String xml) throws com.bea.document.DocumentParseException, com.bea.document.DocumentException
xml
- - the XML String.
com.bea.document.DocumentParseException
com.bea.document.DocumentException
public DocumentRecord(Element element)
element
- - the Element.public DocumentRecord(Document doc)
doc
- - the DOM Document.public DocumentRecord(InputSource inputSource) throws com.bea.document.DocumentParseException, com.bea.document.DocumentException
inputSource
- - the SAX InputSource.
com.bea.document.DocumentParseException
com.bea.document.DocumentException
public DocumentRecord(com.bea.document.IDocument doc)
doc
- - an IDocument.Method Detail |
---|
public Object clone()
clone
in interface com.bea.document.IDocument
clone
in interface javax.resource.cci.Record
clone
in class com.bea.document.internal.Document
public boolean equals(Object other)
equals
in interface javax.resource.cci.Record
equals
in class Object
other
- - the object to compare.
public String getRecordName()
getRecordName
in interface javax.resource.cci.Record
public String getRecordShortDescription()
getRecordShortDescription
in interface javax.resource.cci.Record
public int hashCode()
hashCode
in interface javax.resource.cci.Record
hashCode
in class Object
public void setRecordName(String name)
setRecordName
in interface javax.resource.cci.Record
name
- - the name.public void setRecordShortDescription(String description)
setRecordShortDescription
in interface javax.resource.cci.Record
description
- - the short description.public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |