Module org.eclipse.persistence.sdo
Interface SDOXSDHelper
-
- All Superinterfaces:
XSDHelper
- All Known Implementing Classes:
SDOXSDHelperDelegate,SDOXSDHelperDelegator
public interface SDOXSDHelper extends XSDHelper
Purpose: Provides access to additional information when the Type or Property is defined by an XML Schema (XSD).
Responsibilities:
- Define methods define Types from an XSD.
- Generate methods generate an XSD from Types.
- Other Methods return null/false for exception conditions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddGlobalProperty(QName qname, Property prop, boolean isElement)INTERNAL:MapbuildAppInfoMap(List appInfoElements)INTERNAL:Listdefine(Source xsdSource, SchemaResolver schemaResolver)INTERNAL:Stringgenerate(List types, SchemaLocationResolver schemaLocationResolver)INTERNAL:PropertygetGlobalProperty(QName qname, boolean isElement)INTERNAL:HelperContextgetHelperContext()INTERNAL: Return the helperContext that this instance is associated with.voidreset()INTERNAL:voidsetHelperContext(HelperContext helperContext)INTERNAL: Set the helperContext that this instance is associated with.-
Methods inherited from interface commonj.sdo.helper.XSDHelper
define, define, define, generate, generate, getAppinfo, getAppinfo, getGlobalProperty, getLocalName, getLocalName, getNamespaceURI, getNamespaceURI, isAttribute, isElement, isMixed, isXSD
-
-
-
-
Method Detail
-
getGlobalProperty
Property getGlobalProperty(QName qname, boolean isElement)
INTERNAL:- Parameters:
qname-isElement-- Returns:
-
define
List define(Source xsdSource, SchemaResolver schemaResolver)
INTERNAL:- Parameters:
xsdSource-schemaResolver-- Returns:
-
generate
String generate(List types, SchemaLocationResolver schemaLocationResolver)
INTERNAL:- Parameters:
types-schemaLocationResolver-- Returns:
-
buildAppInfoMap
Map buildAppInfoMap(List appInfoElements)
INTERNAL:- Parameters:
appInfoElements-- Returns:
-
getHelperContext
HelperContext getHelperContext()
INTERNAL: Return the helperContext that this instance is associated with.- Returns:
-
setHelperContext
void setHelperContext(HelperContext helperContext)
INTERNAL: Set the helperContext that this instance is associated with.- Parameters:
helperContext-
-
reset
void reset()
INTERNAL:
-
-