return FileScope.class.equals(type);
}
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context)
{
FileScope fileScope = (FileScope) source;
if (fileScope.getPathPattern() != null)
{
writer.addAttribute("pathPattern", fileScope.getPathPattern());
}
if (fileScope.getVcsAfterRev() != null)
{
writer.addAttribute("vcsAfterRev", fileScope.getVcsAfterRev());
}
if (fileScope.getVcsBeforeRev() != null)
{
writer.addAttribute("vcsBeforeRev", fileScope.getVcsBeforeRev());
}
}