public class SDOXsdDocumentHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OER_NS_PREFIX |
static java.lang.String |
OER_NS_URI |
Constructor and Description |
---|
SDOXsdDocumentHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getCategoryValues(Element docEl,
SDOAnnotationProvider.Category category) |
static java.lang.String |
getLifecycle(Element docEl) |
static java.util.List<java.lang.String[]> |
getRelationships(Element docEl) |
static void |
updateXsdDocumentation(Document xsdDoc,
SDOAnnotationProvider provider)
Updates the <xsd:documentation> element with the specified service
data object annotations.
|
static void |
writeCategoryValuesInternal(Document document,
Element docEl,
SDOAnnotationProvider.Category category,
java.util.List<java.lang.String> catList)
Internal use only.
|
static void |
writeDescriptionInternal(Document document,
Element docEl,
java.lang.String description)
Internal use only.
|
static void |
writeDocumentationInternal(Document document,
Element docEl,
java.util.List<java.lang.String[]> documentList)
Internal use only.
|
static void |
writeKeywordsInternal(Document document,
Element docEl,
java.util.List<java.lang.String> keywords)
Internal use only.
|
static void |
writeLifecycleInternal(Document document,
Element docEl,
java.lang.String lifecycle)
Internal use only.
|
static void |
writeNameInternal(Document document,
Element docEl,
java.lang.String name)
Internal use only.
|
static void |
writeRelationshipsInternal(Document document,
Element docEl,
java.util.List<java.lang.String[]> relationList)
Internal use only.
|
public static final java.lang.String OER_NS_URI
public static final java.lang.String OER_NS_PREFIX
public static void updateXsdDocumentation(Document xsdDoc, SDOAnnotationProvider provider) throws java.lang.Exception
xsdDoc
- the enclosing XSD documentprovider
- the annotation provider for the service data objectjava.lang.Exception
- an error occurs parsing the schemapublic static void writeNameInternal(Document document, Element docEl, java.lang.String name)
public static void writeDescriptionInternal(Document document, Element docEl, java.lang.String description)
public static void writeLifecycleInternal(Document document, Element docEl, java.lang.String lifecycle)
public static java.lang.String getLifecycle(Element docEl)
public static void writeKeywordsInternal(Document document, Element docEl, java.util.List<java.lang.String> keywords)
public static void writeCategoryValuesInternal(Document document, Element docEl, SDOAnnotationProvider.Category category, java.util.List<java.lang.String> catList)
public static java.util.List<java.lang.String> getCategoryValues(Element docEl, SDOAnnotationProvider.Category category)
public static void writeDocumentationInternal(Document document, Element docEl, java.util.List<java.lang.String[]> documentList)
public static void writeRelationshipsInternal(Document document, Element docEl, java.util.List<java.lang.String[]> relationList)
public static java.util.List<java.lang.String[]> getRelationships(Element docEl)