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 void
addGlobalProperty(QName qname, Property prop, boolean isElement)
INTERNAL:Map
buildAppInfoMap(List appInfoElements)
INTERNAL:List
define(Source xsdSource, SchemaResolver schemaResolver)
INTERNAL:String
generate(List types, SchemaLocationResolver schemaLocationResolver)
INTERNAL:Property
getGlobalProperty(QName qname, boolean isElement)
INTERNAL:HelperContext
getHelperContext()
INTERNAL: Return the helperContext that this instance is associated with.void
reset()
INTERNAL:void
setHelperContext(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:
-
-