Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

oracle.jbo.service.helper
Class SDOXsdDocumentHelper

java.lang.Object
  extended by oracle.jbo.service.helper.SDOXsdDocumentHelper

public class SDOXsdDocumentHelper
extends java.lang.Object

Since:
12.1.1.0.0

Field Summary
static java.lang.String OER_NS_PREFIX
           
static java.lang.String OER_NS_URI
           
 
Constructor Summary
SDOXsdDocumentHelper()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OER_NS_URI

public static final java.lang.String OER_NS_URI
See Also:
Constant Field Values

OER_NS_PREFIX

public static final java.lang.String OER_NS_PREFIX
See Also:
Constant Field Values
Constructor Detail

SDOXsdDocumentHelper

public SDOXsdDocumentHelper()
Method Detail

updateXsdDocumentation

public static void updateXsdDocumentation(Document xsdDoc,
                                          SDOAnnotationProvider provider)
                                   throws java.lang.Exception
Updates the <xsd:documentation> element with the specified service data object annotations. If the specified XML Schema does not have an annotation element, one will be created and set on the schema.

Parameters:
xsdDoc - the enclosing XSD document
provider - the annotation provider for the service data object
Throws:
java.lang.Exception - an error occurs parsing the schema

writeNameInternal

public static void writeNameInternal(Document document,
                                     Element docEl,
                                     java.lang.String name)
Internal use only.


writeDescriptionInternal

public static void writeDescriptionInternal(Document document,
                                            Element docEl,
                                            java.lang.String description)
Internal use only.


writeLifecycleInternal

public static void writeLifecycleInternal(Document document,
                                          Element docEl,
                                          java.lang.String lifecycle)
Internal use only.


writeKeywordsInternal

public static void writeKeywordsInternal(Document document,
                                         Element docEl,
                                         java.util.List<java.lang.String> keywords)
Internal use only.


writeCategoryValuesInternal

public static void writeCategoryValuesInternal(Document document,
                                               Element docEl,
                                               SDOAnnotationProvider.Category category,
                                               java.util.List<java.lang.String> catList)
Internal use only.


writeDocumentationInternal

public static void writeDocumentationInternal(Document document,
                                              Element docEl,
                                              java.util.List<java.lang.String[]> documentList)
Internal use only.


writeRelationshipsInternal

public static void writeRelationshipsInternal(Document document,
                                              Element docEl,
                                              java.util.List<java.lang.String[]> relationList)
Internal use only.


Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

Copyright © 1997, 2013, Oracle. All rights reserved.