Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.jdeveloper.builder.javapckg
Class PackageSourceModel

java.lang.Object
  extended by oracle.jdeveloper.builder.SourceModel
      extended by oracle.jdeveloper.builder.javapckg.PackageSourceModel

public class PackageSourceModel
extends SourceModel


Constructor Summary
PackageSourceModel()
           
 
Method Summary
 Node createNode()
           
protected  java.lang.String getContentSetKey()
          Gets the key that identifies the content set for this SourceModel.
 java.net.URL getDirectory()
           
 java.lang.String getExtension()
          Retrieves the extension used when creating new files.
protected  URLPath getSourcePath()
           
 void setRelativeDirectory(java.lang.String newDir)
           
 
Methods inherited from class oracle.jdeveloper.builder.SourceModel
checkForExistingFile, generateDefaultFileName, getAllowUrlsNotInSourcePath, getBaseURL, getDefaultNameStartIndex, getDirectoryString, getFileName, getNodeType, getProject, getRelativeDirectory, getURL, isInSourcePath, setAllowUrlsNotInSourcePath, setDirectory, setFileName, setProject, setURL, updateBaseURLFromProject, verifyPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageSourceModel

public PackageSourceModel()
Method Detail

getExtension

public java.lang.String getExtension()
Description copied from class: SourceModel
Retrieves the extension used when creating new files. The extension should include the '.'.

Overrides:
getExtension in class SourceModel
Returns:
the file extension to use when creating the file associated with this SourceModel.

getContentSetKey

protected java.lang.String getContentSetKey()
Description copied from class: SourceModel
Gets the key that identifies the content set for this SourceModel. This key is used to determine the content set to which to add new files that are created with this source model. Subclasses should override this method to add generated files to a content set other than Resources. Note, the key returned must match a valid ContentSetProvider key.

Overrides:
getContentSetKey in class SourceModel
Returns:
the content set key
See Also:
SourceModel.createNode(), ContentSetProvider

getSourcePath

protected URLPath getSourcePath()
Overrides:
getSourcePath in class SourceModel

setRelativeDirectory

public final void setRelativeDirectory(java.lang.String newDir)
Overrides:
setRelativeDirectory in class SourceModel

getDirectory

public java.net.URL getDirectory()
Overrides:
getDirectory in class SourceModel

createNode

public Node createNode()
Overrides:
createNode in class SourceModel

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.