Examples of OCXMLSchema


Examples of com.ipc.oce.xml.oc.OCXMLSchema

    }
    String sSchema = "http://v8.1c.ru/8.1/data/enterprise/current-config";
    System.out.println("SCHEMA ------------------------------");
    OCXMLSchemaSet schemaSet = factory.exportXMLSchema(sSchema);
    System.out.println("Schema set size: " + schemaSet.size());
    OCXMLSchema schema = schemaSet.getSchema(0);
    System.out.println("Schema component type: " + schema.getComponentType());
   
    OCXSComponentFixedList schemaComponents = schema.getComponents();
    int schemaElements = schemaComponents.size();
    System.out.println("Schema {" + sSchema + "} contains " + schemaElements + " elements");
   
    OCXSBasicComponent basicComponent = schemaComponents.get(0);
    System.out.println("isType: " + basicComponent.isTypeOf(OCXSComponentType.IMPORT));
View Full Code Here

Examples of com.ipc.oce.xml.oc.OCXMLSchema

    System.out.println(type);
   
    OCXDTOFactory factory = app.getXDTOFactory();
    String sSchema = "http://v8.1c.ru/8.1/data/enterprise/current-config";
    OCXMLSchemaSet schemaSet = factory.exportXMLSchema(sSchema);
    OCXMLSchema schema = schemaSet.getSchema(0);
   
    OCXSNamedComponentMap typeMap = schema.getTypeDefinitions();
    OCXSBasicComponent bc = typeMap.getByName(xmlType.getTypeName());
    System.out.println("BC toString: " + bc);
   
    System.out.println("DOMElement of BC: " + bc.getDOMElement());
   
View Full Code Here

Examples of com.ipc.oce.xml.oc.OCXMLSchema

  @Test
  public void dance3() throws JIException {
    OCXDTOFactory factory = app.getXDTOFactory();
    String cfURI = factory.getCurrentConfigURI();
    System.out.println(cfURI);
    OCXMLSchema schema = factory.exportXMLSchema(cfURI).getSchema(cfURI);
    OCXSBasicComponent bc = schema.getTypeDefinitionByName("DocumentTabularSectionRow.СчетНаОплатуПокупателю.ВозвратнаяТара");
   
    OCXMLWriter xmlWriter = app.newXMLWriter();
    xmlWriter.setString();
   
    OCDOMWriter domWriter = app.newDOMWriter();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.