Examples of exportXMLSchema()


Examples of com.ipc.oce.xml.oc.OCXDTOFactory.exportXMLSchema()

    for (OCXDTOPackage package1 : pacCollection) {
      System.out.println(package1.getNamespaceURI());
    }
    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();
View Full Code Here

Examples of com.ipc.oce.xml.oc.OCXDTOFactory.exportXMLSchema()

    System.out.println(xmlType.getTypeName() + " in {" +xmlType.getNamespaceURI() + "}");
    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);
View Full Code Here

Examples of com.ipc.oce.xml.oc.OCXDTOFactory.exportXMLSchema()

  @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();
   
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.