Package org.apache.xmlbeans.impl.schema
Class StscTranslator
- java.lang.Object
-
- org.apache.xmlbeans.impl.schema.StscTranslator
-
public class StscTranslator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static RegularExpression
XPATH_REGEXP
-
Constructor Summary
Constructors Constructor Description StscTranslator()
-
Method Summary
All Methods Static Methods Concrete Methods 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(AttributeGroup attrGroup, java.lang.String targetNamespace, boolean chameleon, boolean redefinition)
static SchemaLocalElementImpl
translateElement(Element xsdElt, java.lang.String targetNamespace, boolean chameleon, java.lang.String elemFormDefault, java.lang.String attFormDefault, java.util.List anonymousTypes, SchemaType outerType)
Translates a local or global schema element.static SchemaModelGroupImpl
translateModelGroup(NamedGroup namedGroup, java.lang.String targetNamespace, boolean chameleon, boolean redefinition)
static boolean
uriMatch(java.lang.String s1, java.lang.String s2)
-
-
-
Field Detail
-
XPATH_REGEXP
public static final RegularExpression XPATH_REGEXP
-
-
Method Detail
-
addAllDefinitions
public static void addAllDefinitions(StscImporter.SchemaToProcess[] schemasAndChameleons)
-
uriMatch
public static boolean uriMatch(java.lang.String s1, java.lang.String s2)
-
copyGlobalElementToLocalElement
public static void copyGlobalElementToLocalElement(SchemaGlobalElement referenced, SchemaLocalElementImpl target)
-
copyGlobalAttributeToLocalAttribute
public static void copyGlobalAttributeToLocalAttribute(SchemaGlobalAttributeImpl referenced, SchemaLocalAttributeImpl target)
-
translateElement
public static SchemaLocalElementImpl translateElement(Element xsdElt, java.lang.String targetNamespace, boolean chameleon, java.lang.String elemFormDefault, java.lang.String attFormDefault, java.util.List anonymousTypes, SchemaType outerType)
Translates a local or global schema element.
-
translateModelGroup
public static SchemaModelGroupImpl translateModelGroup(NamedGroup namedGroup, java.lang.String targetNamespace, boolean chameleon, boolean redefinition)
-
translateAttributeGroup
public static SchemaAttributeGroupImpl translateAttributeGroup(AttributeGroup attrGroup, java.lang.String targetNamespace, boolean chameleon, boolean redefinition)
-
-