T
- type of the node type definitionN
- type of the namespace mappingpublic abstract class DefinitionBuilderFactory<T,N>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DefinitionBuilderFactory.AbstractItemDefinitionBuilder<T>
Builder for item definitions of type
T |
static class |
DefinitionBuilderFactory.AbstractNodeDefinitionBuilder<T>
Builder for child node definitions of type
T |
static class |
DefinitionBuilderFactory.AbstractNodeTypeDefinitionBuilder<T>
Builder for a node type definition of type T.
|
static class |
DefinitionBuilderFactory.AbstractPropertyDefinitionBuilder<T>
Builder for property definitions of type
T |
Constructor and Description |
---|
DefinitionBuilderFactory() |
Modifier and Type | Method and Description |
---|---|
abstract N |
getNamespaceMapping() |
abstract DefinitionBuilderFactory.AbstractNodeTypeDefinitionBuilder<T> |
newNodeTypeDefinitionBuilder()
Create a new instance of a
DefinitionBuilderFactory.AbstractNodeTypeDefinitionBuilder |
abstract void |
setNamespace(java.lang.String prefix,
java.lang.String uri)
Add a mapping to the namespace map
|
abstract void |
setNamespaceMapping(N nsMapping)
Set the namespace mapping to use for the node type definition being built
|
public abstract DefinitionBuilderFactory.AbstractNodeTypeDefinitionBuilder<T> newNodeTypeDefinitionBuilder() throws RepositoryException
DefinitionBuilderFactory.AbstractNodeTypeDefinitionBuilder
RepositoryException
public abstract void setNamespaceMapping(N nsMapping)
nsMapping
- public abstract N getNamespaceMapping()
public abstract void setNamespace(java.lang.String prefix, java.lang.String uri) throws RepositoryException
prefix
- uri
- RepositoryException
Copyright © 2010 - 2020 Adobe. All Rights Reserved