public class StscTranslator extends Object
Modifier and Type | Field and Description |
---|---|
static RegularExpression |
XPATH_REGEXP |
Constructor and Description |
---|
StscTranslator() |
Modifier and Type | Method and Description |
---|---|
static void |
addAllDefinitions(StscImporter.SchemaToProcess[] schemasAndChameleons) |
static void |
copyGlobalAttributeToLocalAttribute(SchemaGlobalAttributeImpl referenced,
SchemaLocalAttributeImpl target) |
static void |
copyGlobalElementToLocalElement(SchemaGlobalElement referenced,
SchemaLocalElementImpl target) |
static SchemaAttributeGroupImpl |
translateAttributeGroup(org.apache.xmlbeans.impl.xb.xsdschema.AttributeGroup attrGroup,
String targetNamespace,
boolean chameleon,
boolean redefinition) |
static SchemaLocalElementImpl |
translateElement(org.apache.xmlbeans.impl.xb.xsdschema.Element xsdElt,
String targetNamespace,
boolean chameleon,
String elemFormDefault,
String attFormDefault,
List<SchemaType> anonymousTypes,
SchemaType outerType)
Translates a local or global schema element.
|
static SchemaModelGroupImpl |
translateModelGroup(org.apache.xmlbeans.impl.xb.xsdschema.NamedGroup namedGroup,
String targetNamespace,
boolean chameleon,
boolean redefinition) |
static boolean |
uriMatch(String s1,
String s2) |
public static final RegularExpression XPATH_REGEXP
public static void addAllDefinitions(StscImporter.SchemaToProcess[] schemasAndChameleons)
public static void copyGlobalElementToLocalElement(SchemaGlobalElement referenced, SchemaLocalElementImpl target)
public static void copyGlobalAttributeToLocalAttribute(SchemaGlobalAttributeImpl referenced, SchemaLocalAttributeImpl target)
public static SchemaLocalElementImpl translateElement(org.apache.xmlbeans.impl.xb.xsdschema.Element xsdElt, String targetNamespace, boolean chameleon, String elemFormDefault, String attFormDefault, List<SchemaType> anonymousTypes, SchemaType outerType)
public static SchemaModelGroupImpl translateModelGroup(org.apache.xmlbeans.impl.xb.xsdschema.NamedGroup namedGroup, String targetNamespace, boolean chameleon, boolean redefinition)
public static SchemaAttributeGroupImpl translateAttributeGroup(org.apache.xmlbeans.impl.xb.xsdschema.AttributeGroup attrGroup, String targetNamespace, boolean chameleon, boolean redefinition)