| Package | Description |
|---|---|
| net.sourceforge.nrl.parser.model.xsd |
XML Schema model loader.
|
| Modifier and Type | Method and Description |
|---|---|
XSDPackage |
XSDBuiltInSimpleTypes.getSimpleTypePackage()
Return the package containing the simple types
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XSDBuiltInSimpleTypes.addType(XSDPackage target,
String name) |
protected XSDClassifier |
XSDModelLoader.getComplexType(XSDPackage resultPackage,
org.eclipse.xsd.XSDComplexTypeDefinition complexDef,
String anonymousTypeName,
boolean declaredAsGlobalElement)
Generate a complex type from a complex type definition, registered it with the name map, add
it to the result package and return it.
|
protected void |
XSDModelLoader.getComplexTypes(org.eclipse.xsd.XSDSchema schema,
XSDPackage resultPackage)
Read in all global complex type definitions and add to result package.
|
protected XSDDataType |
XSDModelLoader.getDataType(org.eclipse.xsd.XSDComplexTypeDefinition def,
XSDPackage resultPackage,
String anonymousName,
boolean declaredAsGlobalElement)
Construct an XSDDataType from a complex type definition in the schema.
|
protected XSDDataType |
XSDModelLoader.getDataType(org.eclipse.xsd.XSDSimpleTypeDefinition def,
XSDPackage resultPackage,
String anonymousName,
boolean declaredAsGlobalElement)
Construct an XSDDataType from a simple type definition in the schema.
|
protected XSDDataType |
XSDModelLoader.getEnumeration(org.eclipse.xsd.XSDSimpleTypeDefinition def,
XSDPackage resultPackage,
String anonymousName,
boolean declaredAsGlobalElement)
Create an enumeration type from a schema simple type.
|
protected void |
XSDModelLoader.getGlobalElements(org.eclipse.xsd.XSDSchema schema,
XSDPackage resultPackage)
Read in all global element definitions, turning each into a classifier.
|
protected void |
XSDModelLoader.getSimpleTypes(org.eclipse.xsd.XSDSchema schema,
XSDPackage resultPackage)
Add anything to the result package that legitimately qualifies as a data type: simple types,
derived simple types, enumerations and complex types that derive from simple types.
|
protected void |
XSDModelLoader.resolve(XSDPackage pkg)
Resolve attribute types, parent references.
|
protected void |
XSDModelLoader.traverseParticle(XSDPackage resultPackage,
XSDClassifier result,
org.eclipse.xsd.XSDParticle particle,
boolean ancestorOptional,
boolean ancestorUnbounded,
String targetNamespace)
Recursive method that traverses a schema particle content model and adds attributes to a
classifier.
|
Copyright © 2006-2013. All Rights Reserved.