public String resolveNamespacePrefix(String prefix) { String namespaceURI = getUnmarshalNamespaceResolver().getNamespaceURI(prefix); if(null == namespaceURI && null != getParentRecord()) { namespaceURI = getParentRecord().resolveNamespacePrefix(prefix); } return namespaceURI; }
public String resolveNamespaceUri(String uri) { String prefix = getUnmarshalNamespaceResolver().getPrefix(uri); if (null == prefix) { if (null != getParentRecord()) { prefix = getParentRecord().resolveNamespaceUri(uri); } } return prefix; }
public void setUnmarshalRecord(UnmarshalRecord unmarshalRecord) { parentRecord = unmarshalRecord; aHelperContext = (HelperContext)unmarshalRecord.getUnmarshaller().getProperty(SDOConstants.SDO_HELPER_CONTEXT); if (parentRecord.getParentRecord() == null) { rootProcessed = false; } else { rootProcessed = true; if (parentRecord.getParentRecord().getCurrentObject() instanceof DataObject) { currentDataObjects.push(parentRecord.getParentRecord().getCurrentObject()); depth++; } } unmarshalNamespaceResolver = parentRecord.getUnmarshalNamespaceResolver(); }
public void setUnmarshalRecord(UnmarshalRecord unmarshalRecord) { parentRecord = unmarshalRecord; aHelperContext = (HelperContext)unmarshalRecord.getUnmarshaller().getProperty(SDOConstants.SDO_HELPER_CONTEXT); if (parentRecord.getParentRecord() == null) { rootProcessed = false; } else { rootProcessed = true; if (parentRecord.getParentRecord().getCurrentObject() instanceof DataObject) { currentDataObjects.push(parentRecord.getParentRecord().getCurrentObject()); depth++; } } unmarshalNamespaceResolver = parentRecord.getUnmarshalNamespaceResolver(); }
public void setDocumentLocator(Locator locator) { if ((this.getParentRecord() == null) && locator instanceof Locator2) { Locator2 loc = (Locator2)locator; this.setEncoding(loc.getEncoding()); this.setVersion(loc.getXMLVersion()); } }
if ((0 == levelIndex) && (null != getParentRecord()) && !isSelfRecord()) { endDocument(); UnmarshalRecord pRec = getParentRecord(); while (pRec.isSelfRecord()) { pRec = pRec.getParentRecord();