Interface SDOXSDHelper
-
- All Superinterfaces:
commonj.sdo.helper.XSDHelper
- All Known Implementing Classes:
SDOXSDHelperDelegate,SDOXSDHelperDelegator
public interface SDOXSDHelper extends commonj.sdo.helper.XSDHelperPurpose: 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(javax.xml.namespace.QName qname, commonj.sdo.Property prop, boolean isElement)INTERNAL:java.util.MapbuildAppInfoMap(java.util.List appInfoElements)INTERNAL:java.util.Listdefine(javax.xml.transform.Source xsdSource, SchemaResolver schemaResolver)INTERNAL:java.lang.Stringgenerate(java.util.List types, SchemaLocationResolver schemaLocationResolver)INTERNAL:commonj.sdo.PropertygetGlobalProperty(javax.xml.namespace.QName qname, boolean isElement)INTERNAL:commonj.sdo.helper.HelperContextgetHelperContext()INTERNAL: Return the helperContext that this instance is associated with.voidreset()INTERNAL:voidsetHelperContext(commonj.sdo.helper.HelperContext helperContext)INTERNAL: Set the helperContext that this instance is associated with.
-
-
-
Method Detail
-
getGlobalProperty
commonj.sdo.Property getGlobalProperty(javax.xml.namespace.QName qname, boolean isElement)INTERNAL:- Parameters:
qname-isElement-- Returns:
-
define
java.util.List define(javax.xml.transform.Source xsdSource, SchemaResolver schemaResolver)INTERNAL:- Parameters:
xsdSource-schemaResolver-- Returns:
-
generate
java.lang.String generate(java.util.List types, SchemaLocationResolver schemaLocationResolver)INTERNAL:- Parameters:
types-schemaLocationResolver-- Returns:
-
buildAppInfoMap
java.util.Map buildAppInfoMap(java.util.List appInfoElements)
INTERNAL:- Parameters:
appInfoElements-- Returns:
-
getHelperContext
commonj.sdo.helper.HelperContext getHelperContext()
INTERNAL: Return the helperContext that this instance is associated with.- Returns:
-
setHelperContext
void setHelperContext(commonj.sdo.helper.HelperContext helperContext)
INTERNAL: Set the helperContext that this instance is associated with.- Parameters:
helperContext-
-
reset
void reset()
INTERNAL:
-
addGlobalProperty
void addGlobalProperty(javax.xml.namespace.QName qname, commonj.sdo.Property prop, boolean isElement)INTERNAL:- Parameters:
qname-prop-isElement- Register the given property with the given qname.
-
-