As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
for (int i = 0; i < node.getProperties().length; i++) { if("{" + Constants.NAMESPACE_CONTENT_MODEL + "}content".equals(node.getProperties(i).getName())){ //set the default content model property content in your custom POJO … } else if("{"+YOUR_CUSTOM_CONTENT_MODEL+"}yourCustomContentProperty".equals(node.getProperties(i).getName())){ //set your custom content model property in your custom POJO … } }