Esempio n. 1
0
 function xsPattern()
 {
     $this->_addAttribute('value', array('type' => 'xs:string'));
     $this->_addElement('xsAnnotation', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->type[] = 'xsPattern';
     parent::_typedData();
 }
Esempio n. 2
0
 function xsAll()
 {
     $this->_addElement('xsElement', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsAttribute', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->type[] = "xsAll";
     parent::_elementSet();
 }
 function xsSimpleContent()
 {
     $this->_addElement('xsRestriction', array('minOccurs' => '1', 'maxOccurs' => '1'));
     $this->_addElement('xsExtension', array('minOccurs' => '1', 'maxOccurs' => '1'));
     //    $this->_addAttribute( 'name', array( 'type' => 'xs:string' ) );
     $this->type[] = 'xsSimpleContent';
     parent::_elementSet();
 }
 function xsExtension()
 {
     $this->_addElement('xsAttribute', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsSequence', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addAttribute('base', array('type' => 'xs:string'));
     $this->type[] = 'xsExtension';
     parent::_elementSet();
 }
 function xsAnnotation()
 {
     $this->_addElement('xsDocumentation', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsAppinfo', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->type[] = "xsAnnotation";
     parent::_elementSet();
     // Set bounds on number of elements allowable in annotation element
     $this->setAttribute('minOccurs', '0');
     $this->setAttribute('maxOccurs', 'unbounded');
 }
 function xsAttribute()
 {
     $this->_addAttribute('name', array('type' => 'xs:string'));
     $this->_addAttribute('type', array('type' => 'xs:string'));
     $this->_addAttribute('use', array('type' => 'xs:string'));
     $this->_addAttribute('default', array('type' => 'xs:string'));
     $this->_addAttribute('ref', array('type' => 'xs:string'));
     $this->_addElement('xsAnnotation', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->type[] = 'xsAttribute';
     parent::_typedData();
 }
Esempio n. 7
0
 function xsChoice()
 {
     $this->_addElement('xsElement', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsAttribute', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsChoice', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsSequence', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsGroup', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsAnnotation', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->type[] = "xsChoice";
     parent::_elementSet();
 }
 function xsComplexType()
 {
     $this->_addElement('xsAnnotation', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsChoice', array('minOccurs' => '1', 'maxOccurs' => '1'));
     $this->_addElement('xsAttribute', array('minOccurs' => '1', 'maxOccurs' => '1'));
     $this->_addElement('xsSequence', array('minOccurs' => '1', 'maxOccurs' => '1'));
     $this->_addElement('xsAll', array('minOccurs' => '1', 'maxOccurs' => '1'));
     $this->_addElement('xsGroup', array('minOccurs' => '1', 'maxOccurs' => '1'));
     $this->_addElement('xsSimpleContent', array('minOccurs' => '1', 'maxOccurs' => '1'));
     $this->_addElement('xsComplexContent', array('minOccurs' => '1', 'maxOccurs' => '1'));
     $this->_addAttribute('name', array('type' => 'xs:string'));
     $this->_addAttribute('mixed', array('type' => 'xs:string', 'default' => 'false'));
     $this->type[] = 'xsComplexType';
     parent::_elementSet();
 }
Esempio n. 9
0
 function xsElement()
 {
     $this->_addElement('xsAnnotation', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsComplexType', array('minOccurs' => '0', 'maxOccurs' => '1'));
     $this->_addElement('xsSimpleType', array('minOccurs' => '0', 'maxOccurs' => '1'));
     $this->_addAttribute('ref', array('type' => 'xs:string'));
     $this->_addAttribute('name', array('type' => 'xs:string'));
     $this->_addAttribute('type', array('type' => 'xs:string'));
     $this->_addAttribute('abstract', array('type' => 'xs:bool'));
     $this->_addAttribute('substitutionGroup', array('type' => 'xs:string'));
     //    $this->_addAttribute( 'maxOccurs', array( 'type' => 'xs:integer' ) );
     //    $this->_addAttribute( 'minOccurs', array( 'type' => 'xs:integer' ) );
     $this->type[] = 'xsElement';
     parent::_elementSet();
 }
 function xsRestriction()
 {
     $this->_addElement('xsAttribute', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsMinLength', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsMaxLength', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsMinInclusive', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsMaxInclusive', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsMinExclusive', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsMaxExclusive', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsEnumeration', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsWhiteSpace', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsPattern', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addAttribute('base', array('type' => 'xs:string'));
     $this->type[] = 'xsRestriction';
     parent::_elementSet();
 }
Esempio n. 11
0
 function xsSchema()
 {
     $this->_addElement('xsAnnotation', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsElement', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsSimpleType', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsComplexType', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsGroup', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addElement('xsImport', array('minOccurs' => '0', 'maxOccurs' => 'unbounded'));
     $this->_addAttribute('targetNamespace', array('type' => 'xs:string'));
     $this->_addAttribute('elementFormDefault', array('type' => 'xs:string'));
     $this->_addAttribute('xmlns:xs', array('type' => 'xs:string'));
     $this->_addAttribute('xmlns', array('type' => 'xs:string'));
     $this->_addAttribute('version', array('type' => 'xs:string'));
     $this->type[] = 'xsSchema';
     parent::_elementSet();
 }