public final class NodeDefinitionImpl extends ItemDefinitionImpl implements NodeDefinition
NodeDefinitionImpl
...AUTOCREATED_ATTRIBUTE, AVAILABLE_QUERY_OPERATOR_ELEMENT, AVAILABLE_QUERY_OPERATORS_ELEMENT, CHILDNODEDEFINITION_ELEMENT, DECLARINGNODETYPE_ATTRIBUTE, DEFAULTPRIMARYTYPE_ATTRIBUTE, DEFAULTVALUE_ELEMENT, DEFAULTVALUES_ELEMENT, FULL_TEXT_SEARCHABLE_ATTRIBUTE, HASORDERABLECHILDNODES_ATTRIBUTE, ISABSTRACT_ATTRIBUTE, ISMIXIN_ATTRIBUTE, ISQUERYABLE_ATTRIBUTE, MANDATORY_ATTRIBUTE, MULTIPLE_ATTRIBUTE, NAME_ATTRIBUTE, NODETYPE_ELEMENT, NODETYPES_ELEMENT, ONPARENTVERSION_ATTRIBUTE, PRIMARYITEMNAME_ATTRIBUTE, PROPERTYDEFINITION_ELEMENT, PROTECTED_ATTRIBUTE, QUERY_ORDERABLE_ATTRIBUTE, REQUIREDPRIMARYTYPE_ELEMENT, REQUIREDPRIMARYTYPES_ELEMENT, REQUIREDTYPE_ATTRIBUTE, SAMENAMESIBLINGS_ATTRIBUTE, SUPERTYPE_ELEMENT, SUPERTYPES_ELEMENT, VALUECONSTRAINT_ELEMENT, VALUECONSTRAINTS_ELEMENT, XML_NODETYPE, XML_NODETYPENAME, XML_NODETYPES, XML_REPORT_ALLNODETYPES, XML_REPORT_MIXINNODETYPES, XML_REPORT_PRIMARYNODETYPES
Modifier and Type | Method and Description |
---|---|
boolean |
allowsSameNameSiblings() |
static NodeDefinitionImpl |
create(NodeDefinition definition) |
NodeType |
getDefaultPrimaryType() |
String |
getDefaultPrimaryTypeName() |
String[] |
getRequiredPrimaryTypeNames() |
NodeType[] |
getRequiredPrimaryTypes() |
Element |
toXml(Document document)
Returns xml representation
|
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
public static NodeDefinitionImpl create(NodeDefinition definition)
public NodeType[] getRequiredPrimaryTypes()
getRequiredPrimaryTypes
in interface NodeDefinition
NodeDefinition.getRequiredPrimaryTypes()
public NodeType getDefaultPrimaryType()
getDefaultPrimaryType
in interface NodeDefinition
NodeDefinition.getDefaultPrimaryType()
public boolean allowsSameNameSiblings()
allowsSameNameSiblings
in interface NodeDefinition
NodeDefinition.allowsSameNameSiblings()
public String getDefaultPrimaryTypeName()
getDefaultPrimaryTypeName
in interface NodeDefinition
NodeDefinition.getDefaultPrimaryTypeName()
public String[] getRequiredPrimaryTypeNames()
getRequiredPrimaryTypeNames
in interface NodeDefinition
NodeDefinition.getRequiredPrimaryTypeNames()
public Element toXml(Document document)
toXml
in interface XmlSerializable
toXml
in class ItemDefinitionImpl
document
- Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.