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

E10653-08

oracle.jbodt.common
Class JboSchemaRegistrationManager

java.lang.Object
  extended by oracle.jbodt.common.JboSchemaRegistrationManager

public class JboSchemaRegistrationManager
extends java.lang.Object


Method Summary
static JboSchemaRegistrationManager getInstance()
           
 java.util.List<java.net.URI> getLayoutsForKey(javax.xml.namespace.QName keyName)
          Get the layout file associated with this inspectable node.
 java.net.URL[] getRegisteredSchemas()
           
 java.util.List<java.net.URL> getSchemaMetadata()
           
 boolean hasRegisteredMetadata()
           
 boolean hasRegisteredSchemas()
           
 void registerLayout(javax.xml.namespace.QName xmlKeyName, java.net.URI layoutURI)
          Register a layout file against the inspectable node.
 void registerMetadataForSchema(java.net.URL metaUrl)
           
 void registerSchemas(java.net.URL schemaURL)
           
 void unRegisterAllLayouts(javax.xml.namespace.QName keyName)
          Unregister all layouts for the XML element name.
 boolean unRegisterLayout(javax.xml.namespace.QName keyName, java.net.URI layoutURI)
          Un register a specific layout for the XML element
 void unRegisterMetadataForSchema(java.net.URL metaUrl)
           
 void unRegisterSchemas(java.net.URL schemaURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static JboSchemaRegistrationManager getInstance()

registerSchemas

public void registerSchemas(java.net.URL schemaURL)

getRegisteredSchemas

public java.net.URL[] getRegisteredSchemas()

unRegisterSchemas

public void unRegisterSchemas(java.net.URL schemaURL)

registerMetadataForSchema

public void registerMetadataForSchema(java.net.URL metaUrl)

unRegisterMetadataForSchema

public void unRegisterMetadataForSchema(java.net.URL metaUrl)

getSchemaMetadata

public java.util.List<java.net.URL> getSchemaMetadata()

hasRegisteredSchemas

public boolean hasRegisteredSchemas()

hasRegisteredMetadata

public boolean hasRegisteredMetadata()

registerLayout

public final void registerLayout(javax.xml.namespace.QName xmlKeyName,
                                 java.net.URI layoutURI)
Register a layout file against the inspectable node. The inspectable node is identified by a QName that describes its namespace in which the node is defined. Layout files can be registered for nodes defined in the BC4J http://xmlns.oracle.com/bc4j namespace only.

Parameters:
xmlKeyName - The QName for the inspectable node
layoutURI - The URI for the layout file. This layout file must be available on the IDE classpath to be loaded by the IDE class loader.

getLayoutsForKey

public final java.util.List<java.net.URI> getLayoutsForKey(javax.xml.namespace.QName keyName)
Get the layout file associated with this inspectable node. The inspectable node is identified by a QualifiedName that describes its namespace in which the node is defined.

Parameters:
xmlKeyName - The QName for the inspectable node
Returns:
The List of URI for the layout file registered against this inspectable node.

unRegisterAllLayouts

public final void unRegisterAllLayouts(javax.xml.namespace.QName keyName)
Unregister all layouts for the XML element name.


unRegisterLayout

public final boolean unRegisterLayout(javax.xml.namespace.QName keyName,
                                      java.net.URI layoutURI)
Un register a specific layout for the XML element


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.