Package org.apache.xmlbeans.impl.schema
Class StscTranslator
java.lang.Object
org.apache.xmlbeans.impl.schema.StscTranslator
public class StscTranslator extends Object
-
Field Summary
Fields Modifier and Type Field Description static RegularExpression
XPATH_REGEXP
-
Constructor Summary
Constructors Constructor Description StscTranslator()
-
Method Summary
Modifier and Type Method 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)
-
Field Details
-
Constructor Details
-
StscTranslator
public StscTranslator()
-
-
Method Details
-
addAllDefinitions
-
uriMatch
-
copyGlobalElementToLocalElement
public static void copyGlobalElementToLocalElement(SchemaGlobalElement referenced, SchemaLocalElementImpl target) -
copyGlobalAttributeToLocalAttribute
public static void copyGlobalAttributeToLocalAttribute(SchemaGlobalAttributeImpl referenced, SchemaLocalAttributeImpl target) -
translateElement
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)Translates a local or global schema element. -
translateModelGroup
public static SchemaModelGroupImpl translateModelGroup(org.apache.xmlbeans.impl.xb.xsdschema.NamedGroup namedGroup, String targetNamespace, boolean chameleon, boolean redefinition) -
translateAttributeGroup
public static SchemaAttributeGroupImpl translateAttributeGroup(org.apache.xmlbeans.impl.xb.xsdschema.AttributeGroup attrGroup, String targetNamespace, boolean chameleon, boolean redefinition)
-