/** * Visits all the blobs of this document and calls the passed blob visitor on each one. */ protected void visitBlobs(T state, Consumer<BlobAccessor> blobVisitor, Runnable markDirty) throws PropertyException { Visit visit = new Visit(blobVisitor, markDirty); // structural type visit.visitBlobsComplex(state, getType()); // dynamic facets SchemaManager schemaManager = Framework.getService(SchemaManager.class); for (String facet : getFacets()) { CompositeType facetType = schemaManager.getFacet(facet); if (facetType != null) { // if not obsolete facet visit.visitBlobsComplex(state, facetType); } } // proxy schemas if (getProxySchemas() != null) { for (Schema schema : getProxySchemas()) { visit.visitBlobsComplex(state, schema); } } }
if (field == null && i == 0 && getProxySchemas() != null) { for (Schema schema : getProxySchemas()) { field = schema.getField(segment); if (field != null) {
if (field == null && i == 0 && getProxySchemas() != null) { for (Schema schema : getProxySchemas()) { field = schema.getField(segment); if (field != null) {