EclipseLink 1.0_1.0M2 API Reference - Incubation

org.eclipse.persistence.sdo.helper.delegates
Class SDOXSDHelperDelegator

java.lang.Object
  extended by org.eclipse.persistence.sdo.helper.delegates.SDOXSDHelperDelegator
All Implemented Interfaces:
SDOXSDHelper

public class SDOXSDHelperDelegator
extends java.lang.Object
implements SDOXSDHelper

Purpose: Provides access to additional information when the Type or Property is defined by an XML Schema (XSD)..

Responsibilities:


Constructor Summary
SDOXSDHelperDelegator()
           
SDOXSDHelperDelegator(HelperContext aContext)
           
 
Method Summary
 void addGlobalProperty(javax.xml.namespace.QName qname, Property prop, boolean isElement)
          INTERNAL:
 java.util.Map buildAppInfoMap(java.util.List appInfoElements)
          INTERNAL:
 java.util.List define(java.io.InputStream xsdInputStream, java.lang.String schemaLocation)
           
 java.util.List define(java.io.Reader xsdReader, java.lang.String schemaLocation)
           
 java.util.List define(javax.xml.transform.Source xsdSource, SchemaResolver schemaResolver)
          INTERNAL:
 java.util.List define(java.lang.String xsd)
           
 java.lang.String generate(java.util.List types)
           
 java.lang.String generate(java.util.List types, java.util.Map namespaceToSchemaLocation)
           
 java.lang.String generate(java.util.List types, SchemaLocationResolver schemaLocationResolver)
          INTERNAL:
 java.lang.String getAppinfo(Type type, java.lang.String source)
           
 Property getGlobalProperty(javax.xml.namespace.QName qname, boolean isElement)
          INTERNAL:
 Property getGlobalProperty(java.lang.String uri, java.lang.String propertyName, boolean isElement)
           
 HelperContext getHelperContext()
          INTERNAL: Return the helperContext that this instance is associated with.
 java.lang.String getLocalName(Type type)
           
 java.lang.String getNamespaceURI(Property property)
           
 boolean isAttribute(Property property)
           
 boolean isElement(Property property)
           
 boolean isMixed(Type type)
           
 boolean isXSD(Type type)
           
 void reset()
          INTERNAL:
 void setHelperContext(HelperContext helperContext)
          INTERNAL: Set the helperContext that this instance is associated with.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDOXSDHelperDelegator

public SDOXSDHelperDelegator()

SDOXSDHelperDelegator

public SDOXSDHelperDelegator(HelperContext aContext)
Method Detail

getLocalName

public java.lang.String getLocalName(Type type)

getNamespaceURI

public java.lang.String getNamespaceURI(Property property)

isAttribute

public boolean isAttribute(Property property)

isElement

public boolean isElement(Property property)

isMixed

public boolean isMixed(Type type)

isXSD

public boolean isXSD(Type type)

getGlobalProperty

public Property getGlobalProperty(java.lang.String uri,
                                  java.lang.String propertyName,
                                  boolean isElement)

getGlobalProperty

public Property getGlobalProperty(javax.xml.namespace.QName qname,
                                  boolean isElement)
Description copied from interface: SDOXSDHelper
INTERNAL:

Specified by:
getGlobalProperty in interface SDOXSDHelper
Returns:

getAppinfo

public java.lang.String getAppinfo(Type type,
                                   java.lang.String source)

define

public java.util.List define(java.lang.String xsd)

define

public java.util.List define(java.io.Reader xsdReader,
                             java.lang.String schemaLocation)

define

public java.util.List define(javax.xml.transform.Source xsdSource,
                             SchemaResolver schemaResolver)
Description copied from interface: SDOXSDHelper
INTERNAL:

Specified by:
define in interface SDOXSDHelper
Returns:

define

public java.util.List define(java.io.InputStream xsdInputStream,
                             java.lang.String schemaLocation)

generate

public java.lang.String generate(java.util.List types)

generate

public java.lang.String generate(java.util.List types,
                                 java.util.Map namespaceToSchemaLocation)

generate

public java.lang.String generate(java.util.List types,
                                 SchemaLocationResolver schemaLocationResolver)
Description copied from interface: SDOXSDHelper
INTERNAL:

Specified by:
generate in interface SDOXSDHelper
Returns:

buildAppInfoMap

public java.util.Map buildAppInfoMap(java.util.List appInfoElements)
INTERNAL:

Specified by:
buildAppInfoMap in interface SDOXSDHelper
Returns:

addGlobalProperty

public void addGlobalProperty(javax.xml.namespace.QName qname,
                              Property prop,
                              boolean isElement)
INTERNAL:

Specified by:
addGlobalProperty in interface SDOXSDHelper
Parameters:
qname -
prop -
isElement - Register the given property with the given qname.

getHelperContext

public HelperContext getHelperContext()
Description copied from interface: SDOXSDHelper
INTERNAL: Return the helperContext that this instance is associated with.

Specified by:
getHelperContext in interface SDOXSDHelper
Returns:

setHelperContext

public void setHelperContext(HelperContext helperContext)
Description copied from interface: SDOXSDHelper
INTERNAL: Set the helperContext that this instance is associated with.

Specified by:
setHelperContext in interface SDOXSDHelper

reset

public void reset()
Description copied from interface: SDOXSDHelper
INTERNAL:

Specified by:
reset in interface SDOXSDHelper

EclipseLink 1.0_1.0M2 API Reference - Incubation