Esempio n. 1
0
 function xsImport()
 {
     $this->_addAttribute('namespace', array('type' => 'xs:string'));
     $this->_addAttribute('schemaLocation', array('type' => 'xs:string'));
     $this->type[] = 'xsImport';
     parent::_typedData();
 }
Esempio n. 2
0
 function xsList()
 {
     global $MAX_ARRAY_LENGTH;
     $this->minLength = 0;
     $this->maxLength = $MAX_ARRAY_LENGTH;
     $this->_addAttribute('itemType', array('type' => 'xs:string'));
     $this->setAttribute('itemType', 'TypedData');
     $this->type[] = 'xsList';
     parent::_typedData();
 }
Esempio n. 3
0
 function xsAny()
 {
     $this->_addAttribute('namespace', array('type' => 'xs:anyURI'));
     $this->_addAttribute('processContents', array('type' => 'xs:string'));
     $this->_addAttribute('minOccurs', array('type' => 'xs:integer'));
     $this->setAttribute('minOccurs', '1');
     $this->_addAttribute('maxOccurs', array('type' => 'xs:integer'));
     $this->setAttribute('maxOccurs', '1');
     $this->type[] = 'xsAny';
     parent::_typedData();
 }
 function xsMaxInclusive()
 {
     $this->_addAttribute('value', array('type' => 'xs:float'));
     $this->type[] = 'xsMaxInclusive';
     parent::_typedData();
 }
 function _elementSet()
 {
     $this->_addAttribute('minOccurs', array('type' => 'xs:integer'));
     $this->setAttribute('minOccurs', '1');
     $this->_addAttribute('maxOccurs', array('type' => 'xs:integer'));
     $this->setAttribute('maxOccurs', '1');
     $this->type[] = "ElementSet";
     parent::_typedData();
 }
Esempio n. 6
0
 function xsUnion()
 {
     $this->_addAttribute('memberTypes', array('type' => 'xs:string'));
     $this->type[] = 'xsUnion';
     parent::_typedData();
 }
 function xsMaxLength()
 {
     $this->_addAttribute('value', array('type' => 'xs:integer'));
     $this->type[] = 'xsMaxLength';
     parent::_typedData();
 }
 function xsWhiteSpace()
 {
     $this->_addAttribute('value', array('type' => 'xs:string'));
     $this->type[] = 'xsWhiteSpace';
     parent::_typedData();
 }
 function xsDocumentation()
 {
     $this->type[] = "xsDocumentation";
     parent::_typedData();
 }