Skip navigation links
oracle.jdeveloper.builder.javapckg
Class PackageSourceModel
java.lang.Object
oracle.jdeveloper.builder.SourceModel
oracle.jdeveloper.builder.javapckg.PackageSourceModel
-
public class PackageSourceModel
- extends SourceModel
Methods inherited from class oracle.jdeveloper.builder.SourceModel |
checkForExistingFile, generateDefaultFileName, getAllowUrlsNotInSourcePath, getBaseURL, getDefaultNameStartIndex, getDirectoryString, getFileName, getNodeType, getProject, getRelativeDirectory, 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 |
PackageSourceModel
public PackageSourceModel()
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
.
getURL
public final java.net.URL getURL()
-
- Overrides:
getURL
in class 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
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.