|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceRootHelper
The SourceRootHelper
defines the protocol by which a class can participate in determining the source root for files of a specific, non-Java file type.
Method Summary | |
---|---|
java.net.URL |
determineSourceRoot(Node node, boolean[] errorStatus) Gets the URL for the source root associated with the supplied node. |
java.lang.String |
getFileExtension() Gets the file-name suffix for the file type that is handled by this helper. |
java.lang.Class |
getNodeClass() Gets the Class of the node type that is handled by this helper. |
Method Detail |
---|
java.lang.String getFileExtension()
Note: The file extension should represent a non-Java file type.
java.lang.Class getNodeClass()
Class
of the node type that is handled by this helper.
Note: The class type must represent a non-Java file type, thus it should not be JavaSourceNode
.
Class
of the node typejava.net.URL determineSourceRoot(Node node, boolean[] errorStatus)
node
- A node of the type specified by getNodeClass()
errorStatus
- Holds the error state for this method. If the URL that is being returned was not determined to be a valid source root, errorStatus[0]
should be set to true
.URL
getNodeClass()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |