public XMLAnyCollectionMapping() { this.containerPolicy = ContainerPolicy.buildDefaultPolicy(); useXMLRoot = false; setKeepAsElementPolicy(UnmarshalKeepAsElementPolicy.KEEP_NONE_AS_ELEMENT); }
public XMLAnyCollectionMapping() { this.containerPolicy = ContainerPolicy.buildDefaultPolicy(); useXMLRoot = false; setKeepAsElementPolicy(UnmarshalKeepAsElementPolicy.KEEP_NONE_AS_ELEMENT); }
public XMLAnyCollectionMapping() { this.containerPolicy = ContainerPolicy.buildDefaultPolicy(); useXMLRoot = false; setKeepAsElementPolicy(UnmarshalKeepAsElementPolicy.KEEP_NONE_AS_ELEMENT); }
anyMapping.setKeepAsElementPolicy(UnmarshalKeepAsElementPolicy.KEEP_UNKNOWN_AS_ELEMENT); anyMapping.setUseXMLRoot(true); mappingsList.add(anyMapping);
anyMapping.setKeepAsElementPolicy(UnmarshalKeepAsElementPolicy.KEEP_UNKNOWN_AS_ELEMENT); anyMapping.setUseXMLRoot(true); mappingsList.add(anyMapping);
parametersMapping.setKeepAsElementPolicy(KEEP_UNKNOWN_AS_ELEMENT); invocationDescriptor.addMapping(parametersMapping); oxProject.addDescriptor(invocationDescriptor);
parametersMapping.setKeepAsElementPolicy(KEEP_UNKNOWN_AS_ELEMENT); invocationDescriptor.addMapping(parametersMapping); oxProject.addDescriptor(invocationDescriptor);
public SDOChangeSummaryType(SDOTypeHelper sdoTypeHelper) { super(SDOConstants.SDO_URL, SDOConstants.CHANGESUMMARY, sdoTypeHelper); setInstanceClass(ChangeSummary.class); xmlDescriptor.setJavaClass(SDOChangeSummary.class); xmlDescriptor.setSequencedObject(false); XMLDirectMapping loggingMapping = new XMLDirectMapping(); loggingMapping.setAttributeName("loggingMapping"); loggingMapping.setXPath("@logging"); loggingMapping.setNullValue(Boolean.TRUE); xmlDescriptor.addMapping(loggingMapping); XMLCompositeDirectCollectionMapping createdMapping = new XMLCompositeDirectCollectionMapping(); createdMapping.setAttributeName("createdXPaths"); createdMapping.setXPath("@create"); createdMapping.useCollectionClass(ArrayList.class); ((XMLField)createdMapping.getField()).setUsesSingleNode(true); xmlDescriptor.addMapping(createdMapping); XMLCompositeDirectCollectionMapping deletedMapping = new XMLCompositeDirectCollectionMapping(); deletedMapping.setAttributeName("deletedXPaths"); deletedMapping.setXPath("@delete"); deletedMapping.useCollectionClass(ArrayList.class); ((XMLField)deletedMapping.getField()).setUsesSingleNode(true); xmlDescriptor.addMapping(deletedMapping); XMLAnyCollectionMapping aChangeMapping = new XMLAnyCollectionMapping(); aChangeMapping.setAttributeName("modifiedDoms"); aChangeMapping.setKeepAsElementPolicy(UnmarshalKeepAsElementPolicy.KEEP_ALL_AS_ELEMENT); aChangeMapping.useCollectionClass(ArrayList.class); xmlDescriptor.addMapping(aChangeMapping); }
public SDOChangeSummaryType(SDOTypeHelper sdoTypeHelper) { super(SDOConstants.SDO_URL, SDOConstants.CHANGESUMMARY, sdoTypeHelper); setInstanceClass(ChangeSummary.class); xmlDescriptor.setJavaClass(SDOChangeSummary.class); xmlDescriptor.setSequencedObject(false); XMLDirectMapping loggingMapping = new XMLDirectMapping(); loggingMapping.setAttributeName("loggingMapping"); loggingMapping.setXPath("@logging"); loggingMapping.setNullValue(Boolean.TRUE); xmlDescriptor.addMapping(loggingMapping); XMLCompositeDirectCollectionMapping createdMapping = new XMLCompositeDirectCollectionMapping(); createdMapping.setAttributeName("createdXPaths"); createdMapping.setXPath("@create"); createdMapping.useCollectionClass(ArrayList.class); ((XMLField)createdMapping.getField()).setUsesSingleNode(true); xmlDescriptor.addMapping(createdMapping); XMLCompositeDirectCollectionMapping deletedMapping = new XMLCompositeDirectCollectionMapping(); deletedMapping.setAttributeName("deletedXPaths"); deletedMapping.setXPath("@delete"); deletedMapping.useCollectionClass(ArrayList.class); ((XMLField)deletedMapping.getField()).setUsesSingleNode(true); xmlDescriptor.addMapping(deletedMapping); XMLAnyCollectionMapping aChangeMapping = new XMLAnyCollectionMapping(); aChangeMapping.setAttributeName("modifiedDoms"); aChangeMapping.setKeepAsElementPolicy(UnmarshalKeepAsElementPolicy.KEEP_ALL_AS_ELEMENT); aChangeMapping.useCollectionClass(ArrayList.class); xmlDescriptor.addMapping(aChangeMapping); }