public class XSDElementRef extends java.lang.Object implements XSDParticle
| Constructor and Description |
|---|
XSDElementRef(XMLElementDefinition el,
int minOccurs,
int maxOccurs)
Instantiates a new XSD element ref.
|
| Modifier and Type | Method and Description |
|---|---|
XMLFragment |
generateElement(DTSContainer dts,
net.sf.saxon.om.NamespaceBinding xsNs)
Generate element.
|
XMLElementDefinition |
getElement()
The Element definition of this XSDElement.
|
int |
getMaxoccurs()
Gets the maxoccurs.
|
int |
getMinoccurs()
Gets the minoccurs.
|
int |
setMaxoccurs(int newValue)
Sets the maxoccurs.
|
int |
setMinoccurs(int newValue)
Sets the minoccurs.
|
public XSDElementRef(XMLElementDefinition el, int minOccurs, int maxOccurs)
el - the elminOccurs - the min occursmaxOccurs - the max occurspublic int getMaxoccurs()
getMaxoccurs in interface XSDParticlepublic int getMinoccurs()
getMinoccurs in interface XSDParticlepublic int setMaxoccurs(int newValue)
setMaxoccurs in interface XSDParticlenewValue - the new valuepublic int setMinoccurs(int newValue)
setMinoccurs in interface XSDParticlenewValue - the new valuepublic XMLElementDefinition getElement()
public XMLFragment generateElement(DTSContainer dts, net.sf.saxon.om.NamespaceBinding xsNs)
generateElement in interface XSDParticledts - the dtsxsNs - the xs nsCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa