objectReader.close();
}
}
private NamespaceXMLBinding getDIDLBinding() {
NamespaceXMLBinding binding = new NamespaceXMLBinding();
binding.setAlias(DIDLType.class,DIDLType.DIDLNS,"DIDL");
binding.setAlias(AnchorType.class,DIDLType.DIDLNS,"Anchor");
binding.setAlias(AnnotationType.class,DIDLType.DIDLNS,"Annotation");
binding.setAlias(AssertionType.class,DIDLType.DIDLNS,"Assertion");
binding.setAlias(ChoiceType.class,DIDLType.DIDLNS,"Choice");
binding.setAlias(ComponentType.class,DIDLType.DIDLNS,"Component");
binding.setAlias(ConditionType.class,DIDLType.DIDLNS,"Condition");
binding.setAlias(ContainerType.class,DIDLType.DIDLNS,"Container");
binding.setAlias(DescriptorType.class,DIDLType.DIDLNS,"Descriptor");
binding.setAlias(FragmentType.class,DIDLType.DIDLNS,"Fragment");
binding.setAlias(ItemType.class,DIDLType.DIDLNS,"Item");
binding.setAlias(ResourceType.class,DIDLType.DIDLNS,"Resource");
binding.setAlias(SelectionType.class,DIDLType.DIDLNS,"Selection");
binding.setAlias(StatementType.class,DIDLType.DIDLNS,"Statement");
binding.setAlias(DeclarationsType.class,DIDLType.DIDLNS,"Declarations");
// want more objects? Fork this factory and write your own!
return binding;
}