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 RegularExpressionXPATH_REGEXP -
Constructor Summary
Constructors Constructor Description StscTranslator() -
Method Summary
Modifier and Type Method Description static voidaddAllDefinitions(StscImporter.SchemaToProcess[] schemasAndChameleons)static voidcopyGlobalAttributeToLocalAttribute(SchemaGlobalAttributeImpl referenced, SchemaLocalAttributeImpl target)static voidcopyGlobalElementToLocalElement(SchemaGlobalElement referenced, SchemaLocalElementImpl target)static SchemaAttributeGroupImpltranslateAttributeGroup(org.apache.xmlbeans.impl.xb.xsdschema.AttributeGroup attrGroup, String targetNamespace, boolean chameleon, boolean redefinition)static SchemaLocalElementImpltranslateElement(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 SchemaModelGroupImpltranslateModelGroup(org.apache.xmlbeans.impl.xb.xsdschema.NamedGroup namedGroup, String targetNamespace, boolean chameleon, boolean redefinition)static booleanuriMatch(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)
-