【发布时间】:2018-02-23 14:14:31
【问题描述】:
我需要阅读我的.yaml 文件之一中所述的属性(例如banner.yaml)。这些属性应该在 java 类中读取,以便可以访问它们并且可以明智地执行操作。
-
这是我的
label.yaml文件/content/documents/administration/labels: jcr:primaryType: hippostd:folder jcr:mixinTypes: ['mix:referenceable'] jcr:uuid: 7ec0e757-373b-465a-9886-d072bb813f58 hippostd:foldertype: [new-resource-bundle, new-untranslated-folder] /global: jcr:primaryType: hippo:handle jcr:mixinTypes: ['hippo:named', 'mix:referenceable'] jcr:uuid: 31e4796a-4025-48a5-9a6e-c31ba1fb387e hippo:name: Global
我应该如何访问hippo:name 属性,它应该返回我Global 作为java 类之一中的值?
我们将不胜感激。
【问题讨论】:
标签: hippocms