public class StencilSetExtensionGenerator extends Object
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Portions of the code in this file have been developed by Stefan Krumnow and Falko Menge at SAP Research Brisbane and contributed to the Oryx project in October 2008 under the terms of the MIT License.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_BASE_STENCIL |
static String |
DEFAULT_BASE_STENCIL_SET |
static String |
DEFAULT_BASE_STENCIL_SET_PATH |
static String |
DEFAULT_STENCIL_SET_EXTENSION_NAME_PREFIX |
Constructor and Description |
---|
StencilSetExtensionGenerator() |
Modifier and Type | Method and Description |
---|---|
static String |
generateJsonForStencilSetExtension(String extensionName,
String extensionNamespace,
String extensionDescription,
String baseStencilSet,
String stencils) |
static String |
generateStencilSetExtension(String extensionName,
List<Map<String,String>> stencilPropertyMatrix,
String[] propertyNames,
String baseStencilSet,
String baseStencil) |
protected static String |
getStencilSetExtensionDescription(String extensionName) |
protected static String |
getStencilSetExtensionNamespace(String extensionName) |
static void |
registerStencilSetExtension(String name,
String namespace,
String description,
String location,
String baseStencilset) |
static void |
saveStencilSetExtension(String extensionLocation,
String extension) |
public static final String DEFAULT_STENCIL_SET_EXTENSION_NAME_PREFIX
public static final String DEFAULT_BASE_STENCIL_SET_PATH
public static final String DEFAULT_BASE_STENCIL_SET
public static final String DEFAULT_BASE_STENCIL
public static String generateStencilSetExtension(String extensionName, List<Map<String,String>> stencilPropertyMatrix, String[] propertyNames, String baseStencilSet, String baseStencil)
public static String generateJsonForStencilSetExtension(String extensionName, String extensionNamespace, String extensionDescription, String baseStencilSet, String stencils)
protected static String getStencilSetExtensionDescription(String extensionName)
protected static String getStencilSetExtensionNamespace(String extensionName)
public static void saveStencilSetExtension(String extensionLocation, String extension)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.