Class XNodeDefinition
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.xnode.XNodeDefinition
-
- Direct Known Subclasses:
XNodeDefinition.Root
public abstract class XNodeDefinition extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XNodeDefinition.Root
-
Constructor Summary
Constructors Modifier Constructor Description protected
XNodeDefinition(QName name)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description XNodeDefinition
child(QName name)
boolean
definedInParent()
static XNodeDefinition.Root
empty()
@NotNull QName
getName()
abstract Optional<QName>
getType()
abstract XNodeDefinition
metadataDef()
@NotNull XNodeDefinition
moreSpecific(@NotNull XNodeDefinition other)
@NotNull XNodeDefinition
resolve(@NotNull String name, @NotNull PrismNamespaceContext namespaceContext)
protected @Nullable XNodeDefinition
resolveLocally(@NotNull String localName)
protected @Nullable XNodeDefinition
resolveLocally(@NotNull QName name)
static QName
resolveQName(String name, PrismNamespaceContext context)
static XNodeDefinition.Root
root(@NotNull SchemaRegistry schemaRegistry)
String
toString()
@NotNull XNodeDefinition
unaware()
protected abstract XNodeDefinition
unawareFrom(QName name)
XNodeDefinition
valueDef()
abstract @NotNull XNodeDefinition
withType(QName typeName)
-
-
-
Constructor Detail
-
XNodeDefinition
protected XNodeDefinition(QName name)
-
-
Method Detail
-
root
public static XNodeDefinition.Root root(@NotNull @NotNull SchemaRegistry schemaRegistry)
-
empty
public static XNodeDefinition.Root empty()
-
unawareFrom
protected abstract XNodeDefinition unawareFrom(QName name)
-
resolveQName
public static QName resolveQName(String name, PrismNamespaceContext context) throws SchemaException
- Throws:
SchemaException
-
getName
@NotNull public @NotNull QName getName()
-
resolve
@NotNull public @NotNull XNodeDefinition resolve(@NotNull @NotNull String name, @NotNull @NotNull PrismNamespaceContext namespaceContext) throws SchemaException
- Throws:
SchemaException
-
unaware
@NotNull public @NotNull XNodeDefinition unaware()
-
moreSpecific
@NotNull public @NotNull XNodeDefinition moreSpecific(@NotNull @NotNull XNodeDefinition other)
-
child
public XNodeDefinition child(QName name)
-
resolveLocally
@Nullable protected @Nullable XNodeDefinition resolveLocally(@NotNull @NotNull String localName)
-
resolveLocally
@Nullable protected @Nullable XNodeDefinition resolveLocally(@NotNull @NotNull QName name)
-
definedInParent
public boolean definedInParent()
-
withType
@NotNull public abstract @NotNull XNodeDefinition withType(QName typeName)
-
metadataDef
public abstract XNodeDefinition metadataDef()
-
valueDef
public XNodeDefinition valueDef()
-
-