|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlai.common.AbstractDescriptor | +--com.bea.wlai.common.DocumentDescriptor
This interface embodies all the metadata about a document type. It includes the document schema (structure and usage) and a root element name that indicates what the tag name for all documents of this type will be.
Constructor Summary | |
|
DocumentDescriptor()
For use by Serialize code. |
|
DocumentDescriptor(java.lang.String name,
java.lang.String description)
Create a null DocumentDescriptor with name, description |
|
DocumentDescriptor(java.lang.String name,
java.lang.String description,
java.lang.String schemaName,
java.lang.String rootElementName)
Create a DocumentDescriptor with name, description. |
protected |
DocumentDescriptor(java.lang.String name,
java.lang.String description,
java.lang.String schemaName,
java.lang.String rootElementName,
boolean isNull)
Create a DocumentDescriptor with name, description, optionally as a null document descriptor. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares the current DocumentDescriptor to another object. |
void |
fromXML(IDocument doc)
Extract the data for this descriptor from the given IDocument instance, replacing all contents of the current descriptor with the new data. |
QualifiedName |
getQualifiedName()
Deprecated. 7/26/2001 |
java.lang.String |
getRootElementName()
Get the name of the root element for the documents of this type. |
java.lang.String |
getSchemaNameString()
Get the name of the schema for the document type represented by this descriptor. |
boolean |
isNull()
|
void |
setRootElementName(java.lang.String rootElementName)
Set the name of the root element for the documents of this type. |
void |
setSchemaNameString(java.lang.String schemaNameString)
Set the name of the schema for the document type represented by this descriptor. |
java.lang.String |
toString()
Render this document descriptor as a String. |
void |
toXML(IDocument doc)
Output an XML representation of this descriptor into an IDocument instance. |
Methods inherited from class com.bea.wlai.common.AbstractDescriptor |
fromXML,
fromXML,
getDescription,
getName,
isReadOnly,
makeReadOnly,
setDescription,
setName,
toXML,
toXML |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public DocumentDescriptor()
public DocumentDescriptor(java.lang.String name, java.lang.String description)
public DocumentDescriptor(java.lang.String name, java.lang.String description, java.lang.String schemaName, java.lang.String rootElementName)
protected DocumentDescriptor(java.lang.String name, java.lang.String description, java.lang.String schemaName, java.lang.String rootElementName, boolean isNull)
Method Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
public boolean isNull()
public java.lang.String getSchemaNameString()
public void setSchemaNameString(java.lang.String schemaNameString)
name
- The name of the schema for the document type for this
descriptor.public java.lang.String getRootElementName()
public void setRootElementName(java.lang.String rootElementName)
name
- The name of the root element present in the documents of this
type.public QualifiedName getQualifiedName()
public void toXML(IDocument doc) throws DocumentException
doc
- An IDocument instance to receive the data for this descriptor.public void fromXML(IDocument doc) throws DocumentException
doc
- An IDocument instance from which the data for this descriptor
will be extracted.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |