Package com.adobe.xfa
Interface HrefHandler
-
- All Known Implementing Classes:
HrefService
public interface HrefHandler
This interface defines the services that handle href related actions in an XFA based form.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Model
getDocument(AppModel appModel)
Gets theTemplateModel
associated with the givenAppModel
.AppModel
loadFragment(AppModel appModel, String sUrl)
Resolves a URL and loads the reference XFA document into a newAppModel
.AppModel
loadFragment(ProtoableNode protoableNode)
Resolves theusehref
attribute in the givenProtoableNode
and loads the referenced document into a newAppModel
.
-
-
-
Method Detail
-
loadFragment
AppModel loadFragment(ProtoableNode protoableNode)
Resolves theusehref
attribute in the givenProtoableNode
and loads the referenced document into a newAppModel
. Any fragment identifier in the URL is ignored.- Parameters:
protoableNode
- aProtoableNode
with ausehref
attribute.- Returns:
- the newly created
AppModel
containing the document loaded from the referenced location, ornull
upon error.
-
loadFragment
AppModel loadFragment(AppModel appModel, String sUrl)
Resolves a URL and loads the reference XFA document into a newAppModel
. Any fragment identifier in the URL is ignored.- Parameters:
appModel
- theAppModel
containing the URL.sUrl
- the URL that references the external XFA document- Returns:
- the newly created
AppModel
containing the document loaded from the referenced location.
-
-