Interface ClassWriter
-
- All Known Implementing Classes:
ASMClassWriter
,TextClassWriter
public interface ClassWriter
- Author:
- Mitesh Meswani
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createCommandResourceConstructor(String commandResourceClassName, String commandName, String httpMethod, boolean linkedToParent, CommandResourceMetaData.ParameterMetaData[] commandParams, String commandDisplayName, String commandAction)
void
createCustomResourceMapping(String resourceClassName, String mappingPath)
void
createGetChildResource(String path, String childResourceClassName)
void
createGetChildResourceForListResources(String keyAttributeName, String childResourceClassName)
void
createGetCommandResource(String commandResourceClassName, String resourcePath)
void
createGetCommandResourcePaths(List<CommandResourceMetaData> commandMetaData)
void
createGetDeleteCommand(String commandName)
void
createGetDeleteCommandForCollectionLeafResource(String postCommandName)
void
createGetDisplayNameForCollectionLeafResource(String displayName)
void
createGetPostCommand(String commandName)
void
createGetPostCommandForCollectionLeafResource(String postCommandName)
void
done()
Called to end creation of class being written by this writer
-
-
-
Method Detail
-
createGetCommandResourcePaths
void createGetCommandResourcePaths(List<CommandResourceMetaData> commandMetaData)
-
createGetCommandResource
void createGetCommandResource(String commandResourceClassName, String resourcePath)
-
createCommandResourceConstructor
void createCommandResourceConstructor(String commandResourceClassName, String commandName, String httpMethod, boolean linkedToParent, CommandResourceMetaData.ParameterMetaData[] commandParams, String commandDisplayName, String commandAction)
-
createCustomResourceMapping
void createCustomResourceMapping(String resourceClassName, String mappingPath)
-
done
void done()
Called to end creation of class being written by this writer
-
createGetDeleteCommand
void createGetDeleteCommand(String commandName)
-
createGetPostCommand
void createGetPostCommand(String commandName)
-
createGetChildResourceForListResources
void createGetChildResourceForListResources(String keyAttributeName, String childResourceClassName)
-
createGetPostCommandForCollectionLeafResource
void createGetPostCommandForCollectionLeafResource(String postCommandName)
-
createGetDeleteCommandForCollectionLeafResource
void createGetDeleteCommandForCollectionLeafResource(String postCommandName)
-
createGetDisplayNameForCollectionLeafResource
void createGetDisplayNameForCollectionLeafResource(String displayName)
-
-