public class XMLNode extends Object
| Constructor and Description |
|---|
XMLNode(@NotNull VaultPackageAssembler packageAssembler,
@NotNull String basePath,
@NotNull String xmlElementName,
@Nullable String jcrNodeName,
@NotNull String primaryNodeType,
@Nullable String[] mixinNodeTypes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildNode(@NotNull String name,
@NotNull XMLNode xmlNode) |
void |
addProperty(@NotNull String name,
int propertyType,
@NotNull String value) |
void |
addProperty(@NotNull String name,
int propertyType,
@NotNull String[] values) |
void |
addProperty(@NotNull String name,
@Nullable Object value) |
@NotNull Map<String,XMLNode> |
getChildren() |
@Nullable String |
getJcrNodeName() |
@Nullable String[] |
getMixinNodeTypes() |
@NotNull String |
getPath() |
@NotNull String |
getPrimaryNodeType() |
@NotNull Map<String,String> |
getVltXmlParsedProperties() |
@NotNull String |
getXmlElementName() |
public void addProperty(@NotNull
@NotNull String name,
int propertyType,
@NotNull
@NotNull String value)
public void addProperty(@NotNull
@NotNull String name,
int propertyType,
@NotNull
@NotNull String[] values)
public void addChildNode(@NotNull
@NotNull String name,
@NotNull
@NotNull XMLNode xmlNode)
public void addProperty(@NotNull
@NotNull String name,
@Nullable
@Nullable Object value)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException@NotNull public @NotNull String getPath()
@NotNull public @NotNull String getXmlElementName()
@Nullable public @Nullable String getJcrNodeName()
@NotNull public @NotNull String getPrimaryNodeType()
@Nullable public @Nullable String[] getMixinNodeTypes()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.