|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator
org.eclipse.persistence.sdo.helper.delegates.SDOXSDHelperDelegator
public class SDOXSDHelperDelegator
Purpose: Provides access to additional information when the Type or Property is defined by an XML Schema (XSD)..
Responsibilities:
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator |
---|
aHelperContext |
Fields inherited from interface commonj.sdo.helper.XSDHelper |
---|
INSTANCE |
Constructor Summary | |
---|---|
SDOXSDHelperDelegator()
|
|
SDOXSDHelperDelegator(commonj.sdo.helper.HelperContext aContext)
|
Method Summary | |
---|---|
void |
addGlobalProperty(javax.xml.namespace.QName qname,
commonj.sdo.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(commonj.sdo.Property property,
java.lang.String source)
|
java.lang.String |
getAppinfo(commonj.sdo.Type type,
java.lang.String source)
|
commonj.sdo.Property |
getGlobalProperty(javax.xml.namespace.QName qname,
boolean isElement)
INTERNAL: |
commonj.sdo.Property |
getGlobalProperty(java.lang.String uri,
java.lang.String propertyName,
boolean isElement)
|
java.lang.String |
getLocalName(commonj.sdo.Property property)
|
java.lang.String |
getLocalName(commonj.sdo.Type type)
|
java.lang.String |
getNamespaceURI(commonj.sdo.Property property)
|
boolean |
isAttribute(commonj.sdo.Property property)
|
boolean |
isElement(commonj.sdo.Property property)
|
boolean |
isMixed(commonj.sdo.Type type)
|
boolean |
isXSD(commonj.sdo.Type type)
|
void |
reset()
INTERNAL: |
Methods inherited from class org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator |
---|
getContextClassLoader, getHelperContext, setHelperContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.persistence.sdo.helper.SDOXSDHelper |
---|
getHelperContext, setHelperContext |
Constructor Detail |
---|
public SDOXSDHelperDelegator()
public SDOXSDHelperDelegator(commonj.sdo.helper.HelperContext aContext)
Method Detail |
---|
public java.lang.String getLocalName(commonj.sdo.Type type)
getLocalName
in interface commonj.sdo.helper.XSDHelper
public java.lang.String getLocalName(commonj.sdo.Property property)
getLocalName
in interface commonj.sdo.helper.XSDHelper
public java.lang.String getNamespaceURI(commonj.sdo.Property property)
getNamespaceURI
in interface commonj.sdo.helper.XSDHelper
public boolean isAttribute(commonj.sdo.Property property)
isAttribute
in interface commonj.sdo.helper.XSDHelper
public boolean isElement(commonj.sdo.Property property)
isElement
in interface commonj.sdo.helper.XSDHelper
public boolean isMixed(commonj.sdo.Type type)
isMixed
in interface commonj.sdo.helper.XSDHelper
public boolean isXSD(commonj.sdo.Type type)
isXSD
in interface commonj.sdo.helper.XSDHelper
public commonj.sdo.Property getGlobalProperty(java.lang.String uri, java.lang.String propertyName, boolean isElement)
getGlobalProperty
in interface commonj.sdo.helper.XSDHelper
public commonj.sdo.Property getGlobalProperty(javax.xml.namespace.QName qname, boolean isElement)
SDOXSDHelper
getGlobalProperty
in interface SDOXSDHelper
public java.lang.String getAppinfo(commonj.sdo.Type type, java.lang.String source)
getAppinfo
in interface commonj.sdo.helper.XSDHelper
public java.lang.String getAppinfo(commonj.sdo.Property property, java.lang.String source)
getAppinfo
in interface commonj.sdo.helper.XSDHelper
public java.util.List define(java.lang.String xsd)
define
in interface commonj.sdo.helper.XSDHelper
public java.util.List define(java.io.Reader xsdReader, java.lang.String schemaLocation)
define
in interface commonj.sdo.helper.XSDHelper
public java.util.List define(javax.xml.transform.Source xsdSource, SchemaResolver schemaResolver)
SDOXSDHelper
define
in interface SDOXSDHelper
public java.util.List define(java.io.InputStream xsdInputStream, java.lang.String schemaLocation)
define
in interface commonj.sdo.helper.XSDHelper
public java.lang.String generate(java.util.List types)
generate
in interface commonj.sdo.helper.XSDHelper
public java.lang.String generate(java.util.List types, java.util.Map namespaceToSchemaLocation)
generate
in interface commonj.sdo.helper.XSDHelper
public java.lang.String generate(java.util.List types, SchemaLocationResolver schemaLocationResolver)
SDOXSDHelper
generate
in interface SDOXSDHelper
public java.util.Map buildAppInfoMap(java.util.List appInfoElements)
buildAppInfoMap
in interface SDOXSDHelper
public void addGlobalProperty(javax.xml.namespace.QName qname, commonj.sdo.Property prop, boolean isElement)
addGlobalProperty
in interface SDOXSDHelper
qname
- prop
- isElement
- Register the given property with the given qname.public void reset()
SDOXSDHelper
reset
in interface SDOXSDHelper
|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |