Class RussianDollStrategy
java.lang.Object
org.apache.xmlbeans.impl.inst2xsd.RussianDollStrategy
- All Implemented Interfaces:
XsdGenStrategy
- Direct Known Subclasses:
SalamiSliceStrategy
,VenetianBlindStrategy
public class RussianDollStrategy extends Object implements XsdGenStrategy
- Author:
- Cezar Andrei ( cezar.andrei at bea.com ) Date: Jul 26, 2004
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
RussianDollStrategy.SCTValidationContext
-
Constructor Summary
Constructors Constructor Description RussianDollStrategy()
-
Method Summary
-
Constructor Details
-
RussianDollStrategy
public RussianDollStrategy()
-
-
Method Details
-
processDoc
public void processDoc(XmlObject[] instances, Inst2XsdOptions options, TypeSystemHolder typeSystemHolder)- Specified by:
processDoc
in interfaceXsdGenStrategy
-
addGlobalElement
protected Element addGlobalElement(Element withElem, TypeSystemHolder typeSystemHolder, Inst2XsdOptions options) -
processElement
protected Element processElement(XmlCursor xc, String comment, Inst2XsdOptions options, TypeSystemHolder typeSystemHolder) -
processElementsInComplexType
protected void processElementsInComplexType(Type elemType, List<Element> children, String parentNamespace, TypeSystemHolder typeSystemHolder, Inst2XsdOptions options) -
checkIfElementReferenceIsNeeded
protected void checkIfElementReferenceIsNeeded(Element child, String parentNamespace, TypeSystemHolder typeSystemHolder, Inst2XsdOptions options) -
checkIfReferenceToGlobalTypeIsNeeded
protected void checkIfReferenceToGlobalTypeIsNeeded(Element elem, TypeSystemHolder typeSystemHolder, Inst2XsdOptions options) -
processAttributesInComplexType
-
processAttribute
protected Attribute processAttribute(XmlCursor xc, Inst2XsdOptions options, String parentNamespace, TypeSystemHolder typeSystemHolder) -
checkIfAttributeReferenceIsNeeded
protected void checkIfAttributeReferenceIsNeeded(Attribute attribute, String parentNamespace, TypeSystemHolder typeSystemHolder) -
processSimpleContentType
protected QName processSimpleContentType(String lexicalValue, Inst2XsdOptions options, XmlCursor xc) -
combineTypes
-
combineSimpleTypes
-
combineToMoreGeneralSimpleType
-
combineAttributesOfTypes
-
combineElementsOfTypes
-
combineElementComments
-