@API(type=NOT_EXTENDABLE,
     src=PRIVATE)
public class DocbookAccess
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
DOCBOOK_NS
Docbook namespace. 
 | 
protected static ro.sync.exml.MessageBundle | 
messages
The messages resource bundle. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static java.util.List<CIAttribute> | 
annotateAttributes(java.util.List<CIAttribute> attributes)
Annotate a list of attributes. 
 | 
static OLinkInfo | 
chooseOLink(AuthorAccess authorAccess)
Choose OLink. 
 | 
static void | 
editOLink(AuthorAccess authorAccess,
         java.lang.String namespace)
Edit OLink. 
 | 
static java.util.List<CIValue> | 
filterAttributeValues(java.util.List<CIValue> attributeValues,
                     WhatPossibleValuesHasAttributeContext context,
                     java.lang.String documentTypeName)
Propose additional attribute values 
 | 
static void | 
insertLocalLink(AuthorAccess authorAccess,
               boolean schemaAware)
Create and insert a local link element. 
 | 
static void | 
insertOLink(AuthorAccess authorAccess,
           java.lang.String namespace)
Insert OLink. 
 | 
static void | 
insertXInclude(AuthorAccess authorAccess)
Insert an XInclude fragment. 
 | 
static void | 
insertXRef(AuthorAccess authorAccess,
          boolean schemaAware)
Insert a xref element. 
 | 
static java.net.URL | 
resolveCustomHrefToMasterFile(java.net.URL currentEditorURL,
                             java.lang.String linkHref,
                             AuthorAccess authorAccess)
Resolve an IDREF to a master file if possible. 
 | 
static void | 
setDocbookAccessCustomizer(ro.sync.ecss.docbook.DocbookAccessCustomizer accessCustomizer)  | 
protected static final ro.sync.exml.MessageBundle messages
public static final java.lang.String DOCBOOK_NS
public static void setDocbookAccessCustomizer(ro.sync.ecss.docbook.DocbookAccessCustomizer accessCustomizer)
accessCustomizer - The accessCustomizer to set.public static OLinkInfo chooseOLink(AuthorAccess authorAccess)
authorAccess - The Author access.null if the user canceled the operation.public static void insertOLink(AuthorAccess authorAccess, java.lang.String namespace) throws AuthorOperationException
authorAccess - Author accessnamespace - NamespaceAuthorOperationExceptionpublic static void editOLink(AuthorAccess authorAccess, java.lang.String namespace) throws AuthorOperationException, javax.swing.text.BadLocationException
authorAccess - Author accessnamespace - NamespaceAuthorOperationExceptionjavax.swing.text.BadLocationExceptionpublic static java.util.List<CIValue> filterAttributeValues(java.util.List<CIValue> attributeValues, WhatPossibleValuesHasAttributeContext context, java.lang.String documentTypeName)
attributeValues - The attribute valuescontext - The contextdocumentTypeName - public static java.util.List<CIAttribute> annotateAttributes(java.util.List<CIAttribute> attributes)
attributes - The attributes list.public static void insertXInclude(AuthorAccess authorAccess) throws AuthorOperationException
authorAccess - The author access.AuthorOperationExceptionpublic static void insertLocalLink(AuthorAccess authorAccess, boolean schemaAware) throws AuthorOperationException
authorAccess - The Author access.schemaAware - true to insert with schema aware, false otherwise.AuthorOperationExceptionpublic static void insertXRef(AuthorAccess authorAccess, boolean schemaAware) throws AuthorOperationException
authorAccess - The Author access.schemaAware - true to insert with schema aware, false otherwise.AuthorOperationExceptionpublic static java.net.URL resolveCustomHrefToMasterFile(java.net.URL currentEditorURL,
                                         java.lang.String linkHref,
                                         AuthorAccess authorAccess)
currentEditorURL - The current editor URLlinkHref - The link hrefauthorAccess - The author access© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.