|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.cosmos.rm.repository.internal.resource.SMLFileDocument
public abstract class SMLFileDocument
The file system implementation of an SML document.
| Constructor Summary | |
|---|---|
SMLFileDocument(org.eclipse.cosmos.rm.repository.provisional.core.ISMLRepository repository)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
org.w3c.dom.Document |
getDOMDocument()
|
protected long |
getLastModifiedDate()
|
org.eclipse.cosmos.rm.repository.provisional.resource.ISMLMetadata |
getMetadata()
Returns the meta-data associated with this document |
org.eclipse.cosmos.rm.repository.provisional.core.ISMLRepository |
getRepository()
|
org.eclipse.cosmos.rm.repository.provisional.resource.ISMLDocumentFragment |
retrieveDocumentFragment(javax.xml.namespace.NamespaceContext namespaceContext,
org.w3c.dom.Node contextNode,
java.lang.String xpathExpression)
Retrieves and returns a document fragment based on the context node and the XPath expression that is passed in. |
java.lang.String |
retrieveRootAttribute(java.lang.String uri,
java.lang.String localName)
Retrieves and returns the root node's attribute value with the URI and local name passed in. |
void |
setMetadata(org.eclipse.cosmos.rm.repository.provisional.resource.ISMLMetadata metadata)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SMLFileDocument(org.eclipse.cosmos.rm.repository.provisional.core.ISMLRepository repository)
| Method Detail |
|---|
public org.eclipse.cosmos.rm.repository.provisional.resource.ISMLMetadata getMetadata()
org.eclipse.cosmos.rm.repository.provisional.resource.ISMLDocument
getMetadata in interface org.eclipse.cosmos.rm.repository.provisional.resource.ISMLDocumentISMLDocument.getMetadata()public void setMetadata(org.eclipse.cosmos.rm.repository.provisional.resource.ISMLMetadata metadata)
public org.eclipse.cosmos.rm.repository.provisional.resource.ISMLDocumentFragment retrieveDocumentFragment(javax.xml.namespace.NamespaceContext namespaceContext,
org.w3c.dom.Node contextNode,
java.lang.String xpathExpression)
throws org.eclipse.cosmos.rm.repository.provisional.exception.RepositoryOperationException
org.eclipse.cosmos.rm.repository.provisional.resource.ISMLDocument
retrieveDocumentFragment in interface org.eclipse.cosmos.rm.repository.provisional.resource.ISMLDocumentnamespaceContext - The namespace context used when evaluating the xpath expressioncontextNode - The context node for the XPath expressionxpathExpression - The XPath expression
org.eclipse.cosmos.rm.repository.provisional.exception.RepositoryOperationException - In case of an errororg.eclipse.cosmos.rm.repository.provisional.resource.ISMLDocument#retrieveDocumentFragment(org.w3c.dom.Node, java.lang.String)public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic org.eclipse.cosmos.rm.repository.provisional.core.ISMLRepository getRepository()
protected long getLastModifiedDate()
public org.w3c.dom.Document getDOMDocument()
throws org.eclipse.cosmos.rm.repository.provisional.exception.RepositoryOperationException
org.eclipse.cosmos.rm.repository.provisional.exception.RepositoryOperationException
public java.lang.String retrieveRootAttribute(java.lang.String uri,
java.lang.String localName)
throws org.eclipse.cosmos.rm.repository.provisional.exception.RepositoryOperationException
uri - The URI of the attributelocalName - The local name
org.eclipse.cosmos.rm.repository.provisional.exception.RepositoryOperationException - In case of an error
|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||