Package com.adobe.xfa
Interface HrefHandler
-
- All Known Implementing Classes:
HrefService
public interface HrefHandlerThis 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 ModelgetDocument(AppModel appModel)Gets theTemplateModelassociated with the givenAppModel.AppModelloadFragment(AppModel appModel, java.lang.String sUrl)Resolves a URL and loads the reference XFA document into a newAppModel.AppModelloadFragment(ProtoableNode protoableNode)Resolves theusehrefattribute in the givenProtoableNodeand loads the referenced document into a newAppModel.
-
-
-
Method Detail
-
loadFragment
AppModel loadFragment(ProtoableNode protoableNode)
Resolves theusehrefattribute in the givenProtoableNodeand loads the referenced document into a newAppModel. Any fragment identifier in the URL is ignored.- Parameters:
protoableNode- aProtoableNodewith ausehrefattribute.- Returns:
- the newly created
AppModelcontaining the document loaded from the referenced location, ornullupon error.
-
loadFragment
AppModel loadFragment(AppModel appModel, java.lang.String sUrl)
Resolves a URL and loads the reference XFA document into a newAppModel. Any fragment identifier in the URL is ignored.- Parameters:
appModel- theAppModelcontaining the URL.sUrl- the URL that references the external XFA document- Returns:
- the newly created
AppModelcontaining the document loaded from the referenced location.
-
-