Package | Description |
---|---|
schema2template.example.odf |
Examples for the generation of source and reference for the OpenDocument XML format.
|
schema2template.model |
Provide the XML model information parsed from a given XML schema.
|
Modifier and Type | Class and Description |
---|---|
class |
SourceCodeBaseClass
Encapsulates the name of the java base class
|
Modifier and Type | Method and Description |
---|---|
SortedSet<QNamed> |
OdfModel.getStyleFamilies()
Get all defined style family names
|
List<QNamed> |
OdfModel.getStyleFamilies(QNamed element)
Get defined style families for this ELEMENT Definition.
|
Modifier and Type | Method and Description |
---|---|
SourceCodeBaseClass |
SourceCodeModel.getBaseclass(QNamed base)
Use in templates: Get baseclass by name
|
SourceCodeBaseClass |
SourceCodeModel.getBaseclassOf(QNamed subelement)
Use in templates: Get baseclass of one element
|
String |
SourceCodeModel.getConversiontype(QNamed datatype)
Use in templates: Get Java conversion class for datatype used in schema.
|
String |
OdfModel.getDefaultAttributeValue(QNamed attribute,
QNamed parentelement)
Get default value of ODF attribute, depending on the ODF element which contains this attribute.
|
Set<String> |
OdfModel.getDefaultAttributeValues(QNamed attribute)
Get default values of ODF attribute.
|
List<QNamed> |
OdfModel.getStyleFamilies(QNamed element)
Get defined style families for this ELEMENT Definition.
|
String |
SourceCodeModel.getValuetype(QNamed datatype)
Use in templates: Get Source code value type for datatype used in schema
|
boolean |
OdfModel.isStylable(QNamed element)
Determine whether an ELEMENT is stylable (a.k.a.
|
Modifier and Type | Interface and Description |
---|---|
interface |
QNamedPuzzleComponent
By using this interface you declare that:
you don't care if a QNamedPuzzleComponent is a Collection of Jigsaw pieces
or one single Jigsaw piece.
you expect one single name.
|
Modifier and Type | Class and Description |
---|---|
class |
PuzzlePiece
One of the following RelaxNG definitions of an Element, Attribute, Value or Datatype.
|
class |
PuzzlePieceSet
Collection Class for RelaxNG definitions of an Element, Attribute, Value or Datatype.
|
class |
QNameValue
Domain specific models (Odf, Java, ...) often return 'ns:localname' Strings.
|
Modifier and Type | Method and Description |
---|---|
static String |
XMLModel.camelCase(QNamed def)
Convert a-few:words into AFewWords in CamelCase spelling
|
static String |
XMLModel.constantCase(QNamed def)
Convert a-few:words into A_FEW_WORDS in spelling used for Java constants
|
boolean |
PuzzlePieceSet.containsName(QNamed aNamed)
Check whether this List contains an Element by this Name
|
static String |
XMLModel.escapeKeyword(QNamed in)
(Java) member variable may not start with a number, so escape it
|
static String |
XMLModel.escapeLiteral(QNamed in)
Escape the quotation marks of String literals
|
static String |
XMLModel.extractLocalname(QNamed def)
Extract localname local from ns:local name
|
static String |
XMLModel.extractNamespace(QNamed def)
Extract namespace ns from ns:local name
|
static String |
XMLModel.firstWord(QNamed def)
Maybe not used anymore: Get first word out of a QNamed object containing delimiters like "-:/ _.,"
|
static String |
XMLModel.javaCase(QNamed def)
Convert a-few:words into aFewWords in spelling for java method names
|
static String |
XMLModel.lastWord(QNamed def)
Maybe not used anymore: Get last word out of a String containing delimiters like "-:/ _.,"
|
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.