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 voidcreateCommandResourceConstructor(String commandResourceClassName, String commandName, String httpMethod, boolean linkedToParent, CommandResourceMetaData.ParameterMetaData[] commandParams, String commandDisplayName, String commandAction)voidcreateCustomResourceMapping(String resourceClassName, String mappingPath)voidcreateGetChildResource(String path, String childResourceClassName)voidcreateGetChildResourceForListResources(String keyAttributeName, String childResourceClassName)voidcreateGetCommandResource(String commandResourceClassName, String resourcePath)voidcreateGetCommandResourcePaths(List<CommandResourceMetaData> commandMetaData)voidcreateGetDeleteCommand(String commandName)voidcreateGetDeleteCommandForCollectionLeafResource(String postCommandName)voidcreateGetDisplayNameForCollectionLeafResource(String displayName)voidcreateGetPostCommand(String commandName)voidcreateGetPostCommandForCollectionLeafResource(String postCommandName)voiddone()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)
-
-