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(org.w3c.dom.Element docEl,
                 ViewAnnotations.Category category)  | 
static java.lang.String | 
getLifecycle(org.w3c.dom.Element docEl)  | 
static java.util.List<java.lang.String[]> | 
getRelationships(org.w3c.dom.Element docEl)  | 
static void | 
updateXsdDocumentation(org.w3c.dom.Document xsdDoc,
                      SDOAnnotationProvider provider)
Updates the <xsd:documentation> element with the specified service
 data object annotations. 
 | 
static void | 
writeCategoryValuesInternal(org.w3c.dom.Document document,
                           org.w3c.dom.Element docEl,
                           ViewAnnotations.Category category,
                           java.util.List<java.lang.String> catList)  | 
static void | 
writeDescriptionInternal(org.w3c.dom.Document document,
                        org.w3c.dom.Element docEl,
                        java.lang.String description)  | 
static void | 
writeDocumentationInternal(org.w3c.dom.Document document,
                          org.w3c.dom.Element docEl,
                          java.util.List<java.lang.String[]> documentList)  | 
static void | 
writeKeywordsInternal(org.w3c.dom.Document document,
                     org.w3c.dom.Element docEl,
                     java.util.List<java.lang.String> keywords)  | 
static void | 
writeLifecycleInternal(org.w3c.dom.Document document,
                      org.w3c.dom.Element docEl,
                      java.lang.String lifecycle)  | 
static void | 
writeNameInternal(org.w3c.dom.Document document,
                 org.w3c.dom.Element docEl,
                 java.lang.String name)  | 
static void | 
writeRelationshipsInternal(org.w3c.dom.Document document,
                          org.w3c.dom.Element docEl,
                          java.util.List<java.lang.String[]> relationList)  | 
public static final java.lang.String OER_NS_URI
public static final java.lang.String OER_NS_PREFIX
public static void updateXsdDocumentation(org.w3c.dom.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 schema@Concealed
public static void writeNameInternal(org.w3c.dom.Document document,
                                                org.w3c.dom.Element docEl,
                                                java.lang.String name)
document - the enclosing XSD documentdocEl - the <xsd:documentation> element in this documentname - name of the SDO@Concealed
public static void writeDescriptionInternal(org.w3c.dom.Document document,
                                                       org.w3c.dom.Element docEl,
                                                       java.lang.String description)
document - the enclosing XSD documentdocEl - the <xsd:documentation> element in this documentdescription - description of the SDO@Concealed
public static void writeLifecycleInternal(org.w3c.dom.Document document,
                                                     org.w3c.dom.Element docEl,
                                                     java.lang.String lifecycle)
document - the enclosing XSD documentdocEl - the <xsd:documentation> element in this documentlifecycle - lifecycle of the SDOpublic static java.lang.String getLifecycle(org.w3c.dom.Element docEl)
@Concealed
public static void writeKeywordsInternal(org.w3c.dom.Document document,
                                                    org.w3c.dom.Element docEl,
                                                    java.util.List<java.lang.String> keywords)
document - the enclosing XSD documentdocEl - the <xsd:documentation> element in this documentkeywords - list of keywords for the SDO@Concealed
public static void writeCategoryValuesInternal(org.w3c.dom.Document document,
                                                          org.w3c.dom.Element docEl,
                                                          ViewAnnotations.Category category,
                                                          java.util.List<java.lang.String> catList)
document - the enclosing XSD documentdocEl - the <xsd:documentation> element in this documentcategory - category for the SDOcatList - list of category values assigned to the SDOpublic static java.util.List<java.lang.String> getCategoryValues(org.w3c.dom.Element docEl,
                                                                 ViewAnnotations.Category category)
@Concealed
public static void writeDocumentationInternal(org.w3c.dom.Document document,
                                                         org.w3c.dom.Element docEl,
                                                         java.util.List<java.lang.String[]> documentList)
document - the enclosing XSD documentdocEl - the <xsd:documentation> element in this documentdocumentList - list of document names and URLs@Concealed
public static void writeRelationshipsInternal(org.w3c.dom.Document document,
                                                         org.w3c.dom.Element docEl,
                                                         java.util.List<java.lang.String[]> relationList)
document - the enclosing XSD documentdocEl - the <xsd:documentation> element in this documentrelationList - list of related object names and their relationship typespublic static java.util.List<java.lang.String[]> getRelationships(org.w3c.dom.Element docEl)