public static class AuthorSchemaAwareEditingHandlerAdapter.WrapInAncestorsOptions
extends java.lang.Object
Constructor and Description |
---|
WrapInAncestorsOptions() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<javax.xml.namespace.QName> |
getForbiddenParents(javax.xml.namespace.QName elementName,
java.util.Collection<javax.xml.namespace.QName> possibleParents)
Gets a list with the parents that should be used in a solution.
|
java.util.Set<javax.xml.namespace.QName> |
getPreferredParents(javax.xml.namespace.QName elementName,
java.util.Collection<javax.xml.namespace.QName> possibleParents)
Gets a list of preferred parents for the given element.
|
public java.util.Set<javax.xml.namespace.QName> getPreferredParents(javax.xml.namespace.QName elementName, java.util.Collection<javax.xml.namespace.QName> possibleParents)
elementName
- Element name.possibleParents
- The detected possible parents.null
to go with
the defaults.public java.util.Set<javax.xml.namespace.QName> getForbiddenParents(javax.xml.namespace.QName elementName, java.util.Collection<javax.xml.namespace.QName> possibleParents)
elementName
- Element name.possibleParents
- The detected possible parents.null
.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.