Package org.apache.xmlbeans.impl.schema
Class StscTranslator
java.lang.Object
org.apache.xmlbeans.impl.schema.StscTranslator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAllDefinitions
(StscImporter.SchemaToProcess[] schemasAndChameleons) static void
copyGlobalAttributeToLocalAttribute
(SchemaGlobalAttributeImpl referenced, SchemaLocalAttributeImpl target) static void
copyGlobalElementToLocalElement
(SchemaGlobalElement referenced, SchemaLocalElementImpl target) static SchemaAttributeGroupImpl
translateAttributeGroup
(AttributeGroup attrGroup, String targetNamespace, boolean chameleon, boolean redefinition) static SchemaLocalElementImpl
translateElement
(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
(NamedGroup namedGroup, String targetNamespace, boolean chameleon, boolean redefinition) static boolean
-
Field Details
-
XPATH_REGEXP
-
-
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(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(NamedGroup namedGroup, String targetNamespace, boolean chameleon, boolean redefinition) -
translateAttributeGroup
public static SchemaAttributeGroupImpl translateAttributeGroup(AttributeGroup attrGroup, String targetNamespace, boolean chameleon, boolean redefinition)
-